Skip to content

Validate promotion without a GitHub credential - #17567

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/12416-no-github-token-validation
Sep 16, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/12416-no-github-token-validation

Conversation

@missymessa

@missymessa missymessa commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • remove the Arcade-Promotion-GitHub variable group from Arcade promotion validation
  • stop passing BotAccount-dotnet-maestro-bot-PAT to the validation script
  • run darc update-dependencies --id with only the AzDO credential used for the internal mirror

Purpose

This change removes a GitHub credential that the current Arcade dependency graph does not exercise. The current eng/Version.Details.xml has no CoherentParentDependency entries.

This PR does not delete variable group 238 or revoke/remove the PAT. That follow-up will be decided separately.

Validation

The credential-specific behavior was validated without a GitHub PAT or GitHub App token:

  • used BAR build 330925 from Arcade official build 3069527, initially assigned only to .NET Eng - Validation
  • darc update-dependencies --id 330925 --azdev-pat <token> --ci completed dependency and coherency updates without --github-pat
  • pushed the temporary internal branch validation/promote-arcade-330925
  • Maestro promotion build 3076994 completed and Darc successfully assigned BAR 330925 to General Testing
  • deleted the temporary validation branch successfully
  • PowerShell parser reports no syntax errors in eng/validation/validate-promotion.ps1
  • confirmed the changed promotion files contain no references to Arcade-Promotion-GitHub, BotAccount-dotnet-maestro-bot-PAT, GitHubPat, or --github-pat

Promotion build 3076994 was partiallySucceeded, not fully green. Its only publishing errors were missing BlobArtifacts and PdbArtifacts from the older donor official build 3069527. Those artifacts were absent before this experiment and are unrelated to GitHub authentication. Darc itself returned success and completed the channel assignment.

A completely green official-pipeline result still requires a future main build after merge; successful existing donor builds are already assigned to General Testing, so replaying them makes the promotion operation a no-op.

AB#12416

Remove the Maestro bot PAT from the controlled promotion-validation path so an official build can prove whether the current dependency graph needs authenticated GitHub access.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: a8aca6c7-78dd-414a-b94c-98fc6328332a
@missymessa
missymessa requested review from a team and a lite review from Copilot September 15, 2026 20:02

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.

🔵 Needs a closer look

Final approval should follow successful official CI validation of the promotion path.

Pull request overview

Removes GitHub credential usage from Arcade promotion validation while retaining AzDO authentication.

Changes:

  • Removes the GitHub PAT and variable group.
  • Runs dependency updates with only the AzDO credential.
  • Preserves promotion, temporary branch, and cleanup flow.
File summaries
File Description
eng/validation/validate-promotion.ps1 Removes GitHub PAT handling from dependency updates.
eng/validate-promotion.yml Removes GitHub credential configuration and injection.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@missymessa
missymessa marked this pull request as draft September 15, 2026 20:14
@missymessa
missymessa removed the request for review from a team September 15, 2026 22:23
@missymessa
missymessa marked this pull request as ready for review September 15, 2026 22:24
@akoeplinger
akoeplinger merged commit 681c69c into dotnet:main Sep 16, 2026
12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 18, 2026
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