Skip to content

Azure DevOps rows offer eight "Open/Copy … URL" context-menu items that silently do nothing #326

Open

Description

@matt-edmondson

What's wrong

RenderBuildBranchContextMenu (BuildMonitor/BuildMonitor.cs:1088-1106) shows the Repository, Workflow, Branch and Latest Run open/copy items on every row. Two things stop them working for Azure DevOps:

  • Each handler (BuildMonitor.cs:1194-1256) wraps its body in if (build.Owner.BuildProvider is GitHub).
  • The URL builders (:1258-1264) only produce https://github.com/... URLs.

On an Azure DevOps row, all eight items are silent no-ops. No browser opens, the clipboard does not change, and nothing is logged.

Failure scenario

The user right-clicks an Azure DevOps build and picks "Open Latest Run in Browser". Nothing happens. "Copy Latest Run URL" leaves the clipboard unchanged.

Why it matters

Azure DevOps is a supported provider, and going from a red row to the run in the browser is the main follow-up action. Here the menu offers that action and then does nothing.

Suggested fix / acceptance criteria

  • Move URL construction onto BuildProvider as virtual GetRepositoryUrl, GetBuildUrl, GetBranchUrl and GetRunUrl, returning null when a provider does not support one.
  • Implement them for Azure DevOps:
    • project: https://dev.azure.com/{account}/{project}
    • definition: …/_build?definitionId={build.Id}
    • run: …/_build/results?buildId={run.Id}
    • branch: …/_build?definitionId={id}&branchFilter=…
  • Hide or disable any item whose URL is null, so no menu item is a silent no-op.
  • Unit-test the URL builders for both providers.

Activity

  1. matt-edmondson commented on Sep 30, 2026

    @matt-edmondson
    ContributorAuthor

    Triage

    • Category: Bug
    • Priority: Medium. Eight context-menu items do nothing on Azure DevOps rows, one of the main follow-up actions.
    • Area: BuildMonitor.cs context menu and provider URL construction
    • Duplicates / in progress: No duplicate or open PR found.
    • Next step: Move URL builders onto BuildProvider as virtual methods, implement them for Azure DevOps, and hide or disable items whose URL is null.

    Generated by Claude Code

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions