Skip to content

[BUG] Not working on improved pull request "Files Changed" experience #154

Description

@swrobel

Describe the bug
Github is testing an improved pull request "Files Changed" experience for which there are several prompts on the page to encourage usage:

above the diff viewer:
Image

and top right:
Image

This changes the URL structure to end in /changes instead of /files, which causes extension 0.7.0 to print the following in the console, and as a result, not modify the page display at all:

☂️ codecov: PR not detected at current URL

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/codecov/umbrella/pull/633/changes
  2. Click on "Try the new experience" if redirected to the old experience
  3. Check the browser console
  4. See error

Expected behavior
Coverage is displayed as it is in the old experience

Regression
Unsure, as I'm a new user of the extension, but @spalmurray seems to have added support for a new PR experience in #152 but perhaps that was a different experiment

Product Area
browser ext

Versions

  • OS: macOS 26.2
  • Git Host: Github
  • CI/CD: CircleCI
  • Uploader: codecov-circleci-orb@v5
  • Browser: Firefox 146.0.1
  • Extension: 0.7.0

Additional context
This template should probably be updated for this repo to ask for more relevant info to the browser ext, rather than the CodeCov service itself. I've added additional versions like Browser/Extension that seem relevant here.

Activity

  1. spalmurray commented on Jan 6, 2026

    @spalmurray
    Contributor

    I'll take a look when I get a chance @swrobel. My guess is it's changed again in some way. Thanks for the report!

  2. self-assigned this
    on Jan 6, 2026
  3. swrobel commented on Feb 22, 2026

    @swrobel
    Author

    @spalmurray any hope of getting your eyes on this anytime soon?

  4. nivgsp commented on May 19, 2026

    @nivgsp

    Any news on this one? 🤞

  5. greg0ire commented on Sep 6, 2026

    @greg0ire

    Could the solution be as simple as changing this regex?

    const prUrlRegex = /\/[^\/]+\/[^\/]+\/pull\/\d+\/files.*/

    My attempt at fixing it: #167

    I do not know how to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions