Skip to content

Use bootstrapped GitHub App helper for VMR comparison - #10337

Merged
missymessa merged 4 commits into
dotnet:mainfrom
missymessa:users/mjanecke/wi12930-vmr-root-helper
Oct 28, 2026
Merged

missymessa merged 4 commits into
dotnet:mainfrom
missymessa:users/mjanecke/wi12930-vmr-root-helper

Conversation

@missymessa

Copy link
Copy Markdown
Member

Intent

Complete the helper-path cleanup tracked by AB#12930, under AB#12315, following #9688.

The bootstrapped root eng/common/Get-GitHubAppToken.ps1 now supports the App ID and PEM private-key secret projections. At the PR base (34948ea177dc29ce0439ada7881f027322c9ec93), both that helper and its logging dependency are byte-identical to their temporary src/arcade/eng/common counterparts.

Changes

  • Switch the three VMR comparison token-acquisition calls (dotnet, NuGet, microsoft) to root eng/common/Get-GitHubAppToken.ps1.
  • Remove the obsolete comment describing the root helper's former limitation.
  • Preserve the service connections, secret names, owner selection, output variables, and Gather Drop configuration. Do not modify shared eng/common files.

Validation

  • Reviewed the complete one-file diff; git diff --check passes.
  • Parsed the YAML and compared it structurally with the base: only the three helper paths and obsolete inline-script comment change.
  • Confirmed identical Git blob IDs for the root/source helper and logging dependency.
  • Parsed all three PowerShell invocations, resolved their helper paths, and checked each parameter against the root helper's declared parameters without executing credential operations.

The work item's old test-assertion instruction refers to an eng/tests directory that is not present in the merged implementation; there is no existing assertion to update. No new test harness or shared-tooling edits are introduced for this path-only cleanup.

Pipeline 1447 runtime validation of this change remains pending: verify all three tokens and all eight Gather Drop operations. No production run, deployment, credential change, or permission change was manually initiated for this PR. Keep the work item open pending merge and consumer verification.

Replace the three temporary src/arcade helper paths with the byte-identical root eng/common helper and remove the obsolete workaround comment. Related: AB#12930, AB#12315.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 3d24c7a1-de44-482c-aa6a-eedc4a0cae5b
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@missymessa
missymessa marked this pull request as ready for review October 20, 2026 18:35
@missymessa
missymessa requested review from a team as code owners October 20, 2026 18:35
Copilot AI balanced review requested due to automatic review settings October 20, 2026 18:35
@missymessa
missymessa enabled auto-merge October 20, 2026 18:35
@missymessa
missymessa requested a review from mmitche October 20, 2026 18:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The path-only changes use equivalent helpers with unchanged parameters; pipeline runtime validation remains pending.

No open issues 🎉

What changed in this PR

Completes the VMR comparison helper-path cleanup following #9688 by using the bootstrapped root helper.

Changes:

  • Updates all three GitHub App token calls to eng/common/Get-GitHubAppToken.ps1.
  • Removes the obsolete comment about root-helper limitations.
  • Preserves authentication parameters and Gather Drop configuration.
File Description
eng/​pipelines/​templates/​steps/​vmr-compare.yml Switches token acquisition to the equivalent root helper.

Review effort: Balanced

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants