Skip to content

[release/11.0] Use GitHub App for promotion validation - #17630

Merged
missymessa merged 3 commits into
release/11.0from
users/mjanecke/wi12896-promotion-github-app
Oct 1, 2026
Merged

missymessa merged 3 commits into
release/11.0from
users/mjanecke/wi12896-promotion-github-app

Conversation

@missymessa

Copy link
Copy Markdown
Member

Intent

Unblock arcade-official-ci on release/11.0. The official build cannot compile because promotion validation references the deleted PAT-backed Arcade-Promotion-GitHub variable group.

Change

Backport the GitHub App authentication implemented by #17569:

  • mint a short-lived installation token from EngKeyVault;
  • pass that token to promotion validation;
  • restrict promotion validation to the internal official pipeline;
  • register the app in the branch's vault configuration.

Validation

  • Reviewed the complete backport diff against release/11.0.
  • git diff --check passes.
  • PowerShell parsing succeeds for eng/validation/validate-promotion.ps1.
  • Build 20260923.3 reports the missing variable group before any job starts.
  • The GitHub App secret and service connection are already active for the successful main implementation.

Tracks AB#12896.

Copilot-Session: 9d4901ab-a32c-4ce3-8cf2-b6f4c1a6e8b5
Copilot AI lite review requested due to automatic review settings September 28, 2026 17:59

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.

Copilot review overview

🟡 Changes recommended

The pipeline parameters and vault registration do not provide the RSA key and client ID required for token signing.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Backports GitHub App authentication for release/11.0 promotion validation, replacing the deleted PAT variable group.

Changes:

  • Generates and passes a short-lived GitHub App token.
  • Restricts validation to the official pipeline.
  • Registers the app in EngKeyVault configuration.
File Description
eng/​validation/​validate-promotion.ps1 Accepts and forwards the installation token.
eng/​validate-promotion.yml Configures token generation and validation.
eng/​build.yml Adds conditional promotion validation.
azure-pipelines.yml Enables validation for official builds.
.vault-config/​product-builds-engkeyvault.yaml Registers the GitHub App configuration.

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

Comment thread eng/validate-promotion.yml Resolved
missymessa and others added 2 commits September 28, 2026 12:41
Co-authored-by: Copilot <[email protected]>
Copilot-Session: cb83d078-4ba7-4f9f-86e5-7840b221515c
Copilot AI review requested due to automatic review settings September 28, 2026 19:42
@missymessa
missymessa marked this pull request as ready for review September 28, 2026 19:59
@missymessa
missymessa requested a review from mmitche September 28, 2026 19:59

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@missymessa
missymessa enabled auto-merge (squash) September 29, 2026 19:20
@missymessa
missymessa merged commit 3a1b486 into release/11.0 Oct 1, 2026
13 checks passed
@missymessa
missymessa deleted the users/mjanecke/wi12896-promotion-github-app branch October 1, 2026 19:22
@missymessa

Copy link
Copy Markdown
Member Author

Post-merge verification is complete: arcade-official-ci build 3093181 succeeded on merge commit 3a1b4869768914e93defdfe00d3550fa51b98fe5.

Consumer-side evidence:

  • Get GitHub App installation token succeeded.
  • Validate promotion with the newly built Arcade succeeded.
  • Validate Arcade SDK succeeded.
  • Publish using Darc succeeded.
  • The overall release/11.0 official build succeeded.

This verifies the GitHub App credentials, EngKeyVault access, promotion-validation integration, and merged manifest configuration in the affected official pipeline.

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