Repository navigation
Restore GitHub credential for promotion validation - #17568
Merged
Merged
Conversation
Darc retrieves common scripts from GitHub while applying dependency updates, even when Arcade has no coherent dependencies. Co-authored-by: Copilot <[email protected]>
mmitche
approved these changes
Sep 16, 2026
missymessa
enabled auto-merge (squash)
September 16, 2026 15:49
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The PAT must be passed without exposing it in command-line arguments.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Restores GitHub authentication for promotion validation and darc update-dependencies.
Changes:
- Restores the
Arcade-Promotion-GitHubvariable group. - Passes the GitHub PAT through validation to Darc.
File summaries
| File | Summary |
|---|---|
eng/validation/validate-promotion.ps1 |
Adds the PAT parameter and forwards it to Darc; critical finding: the token is exposed in process arguments (1 vote). |
eng/validate-promotion.yml |
Wires the variable group secret into the pipeline; critical finding: the token is exposed in command-line arguments (1 vote). |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
3 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Arcade-Promotion-GitHubvariable group to Arcade promotion validationBotAccount-dotnet-maestro-bot-PATtodarc update-dependenciesagainProduction failure
PR #17567 removed the credential after a controlled older-build test succeeded. The first official build from its merge commit, build 3077777, exercised a path that test did not cover.
Validate promotion with the newly built Arcadefailed while applying dependency updates:The absence of
CoherentParentDependencyentries therefore does not make this operation credential-free.Validation
eng/validation/validate-promotion.ps1git diff --checkpasses--github-patargument are wired end to endThe regression scenario is internal-only and cannot run in PR validation. After merge, the official build must run
Validate promotion (newly built Arcade)against the newly produced BAR build and complete the common-script retrieval and dependency-application path that failed in build 3077777.This is an immediate recovery. AB#12416 remains in Dev to replace the PAT with a purpose-built, least-privilege GitHub App installation token before variable group 238 is removed.
AB#12416