Skip to content

PR reviewer annotations are sometimes duplicated #261

Description

@kroeschl

I sometimes see reviewer owner info and location annotations duplicated when I load a PR. This appears to be easy to reproduce by clicking "View pull request" anchor button in PR email notifications, which have some tracking data--in those cases, links look like https://dev.azure.com/<org>/<project>_git/<repo>/pullrequest/<pr number>?tracking_data=<some giant blob>.
Image

Logs

I see that we matched a URL twice when I last saw this issue:

16:25:20.787 [azdo-userscript] Array(3) [ "init", {…}, {…} ] More Awesome Azure DevOps (debug).user.js:1804:13
16:25:20.788 eus: New matched URL https://dev.azure.com/ni/DevCentral/_git/Tools/pullrequest/1336294?tracking_data=<snip> 5 More Awesome Azure DevOps (debug).user.js:321:25
16:25:20.816 eus: New matched URL https://dev.azure.com/ni/DevCentral/_git/Tools/pullrequest/1336294 5 More Awesome Azure DevOps (debug).user.js:321:25

Context

  • Userscript Manager: Violentmonkey 2.41.0
  • Extension Version: 3.12.1
  • Browser: Firefox 152.0.4
  • URL: https://dev.azure.com/<org>/<project>/_git/<repo>/pullrequest/<pr number>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions