Skip to content

[release/10.0] Remove PAT from SDK validation - #17636

Merged
missymessa merged 3 commits into
release/10.0from
users/mjanecke/wi12893-remove-sdk-validation-pat
Oct 1, 2026
Merged

missymessa merged 3 commits into
release/10.0from
users/mjanecke/wi12893-remove-sdk-validation-pat

Conversation

@missymessa

@missymessa missymessa commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Intent

Fix the release/10.0 official-build failure tracked by AB#12893. Build 3089997 proved that ValidateArcadeSDK still expanded the retired $(BotAccount-dotnet-maestro-bot-PAT) variable after the obsolete promotion variable group was removed.

Change

  • Backport the local, authentication-free SDK bootstrap used by newer branches.
  • Require one built Arcade SDK version and its matching Helix SDK package before changing global.json.
  • Map both SDK package IDs exactly to the local feeds containing their build artifacts.
  • Isolate NUGET_PACKAGES per build, job, and attempt so the global cache cannot satisfy validation.
  • Remove the now-unused PAT-dependent update-packagesource.ps1 script.

Validation

  • PowerShell and YAML parsing succeeded.
  • An isolated fixture ran the script twice and verified both SDK versions, exact local SDK mappings, and idempotency.
  • A missing-Helix fixture failed before modifying global.json.
  • Full Build.cmd -configuration Release -test compiled successfully and ran the suite. Three unrelated test projects failed on local-host constraints: ARM64 symbol publishing, Windows path length, and symlink privilege.

Consumer validation

Keep AB#12893 open until an official release/10.0 build succeeds with this change.

Backport the local SDK bootstrap used by main and release/11.0 so ValidateArcadeSDK no longer invokes Darc with the retired maestro bot PAT.

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

Copilot-Session: 4e96402b-01cb-4650-acf6-4ee514e5268c
Copilot AI balanced review requested due to automatic review settings September 29, 2026 19:38

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

Validation does not yet reliably establish that both SDKs came from the downloaded build artifacts.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

This backport removes the retired GitHub PAT from ValidateArcadeSDK by pointing SDK validation at locally built packages.

Changes:

  • Add a script that updates SDK versions and local NuGet sources.
  • Replace the Darc step with that script and disable MicroBuild in the validation job.
  • Delete the PAT-dependent package-source script.
File Description
eng/​validation/​use-built-sdk.ps1 Configures locally built SDK versions and package feeds.
eng/​validate-sdk.yml Runs the new bootstrap step without a PAT.
eng/​update-packagesource.ps1 Removes the obsolete Darc-based script.

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

Comment thread eng/validation/use-built-sdk.ps1 Resolved
Comment thread eng/validation/use-built-sdk.ps1 Resolved
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
Copilot AI balanced review requested due to automatic review settings September 29, 2026 20:30

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

🔵 Needs a closer look

The official release/10.0 build has not yet confirmed that the updated validation job succeeds.

Review effort: Balanced
Findings: None

Resolved since last review (2)

@missymessa
missymessa marked this pull request as ready for review September 29, 2026 20:36
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
Copilot AI balanced review requested due to automatic review settings September 29, 2026 20:37

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

🔵 Needs a closer look

The intended official release/10.0 build has not yet confirmed this validation change in its production environment.

Review effort: Balanced
Findings: None

@missymessa
missymessa requested a review from mmitche September 29, 2026 21:51
@missymessa
missymessa enabled auto-merge (squash) September 29, 2026 21:52
@missymessa

Copy link
Copy Markdown
Member Author

Official build validation

arcade-official-ci build 3092026 succeeded against the exact PR head f8f8d39bbee0c8fc213b174d45002a4f3f7b0430.

  • Build: succeeded
  • Validate Arcade SDK: succeeded
  • Validate Build Assets: succeeded
  • Publish using Darc: succeeded
  • SDL Sources: succeeded
  • Failed or partially successful jobs: none

The SDK-validation job exercised the replacement flow:

  • Use newly built SDK selected matching Arcade/Helix SDK version 10.0.0-beta.26480.2 from the downloaded build artifacts and completed successfully.
  • Build / Validate completed successfully using that configuration.
  • Install MicroBuild plugin (Windows) and Execute Microbuild cleanup tasks both completed successfully, confirming the existing release/10.0 MicroBuild behavior remains enabled.

Build duration: approximately 70 minutes, from 2026-09-30 17:41 UTC through 18:51 UTC.

@missymessa

Copy link
Copy Markdown
Member Author

@mmitche por favor! :)

@missymessa
missymessa merged commit 9c8d624 into release/10.0 Oct 1, 2026
13 checks passed
@missymessa
missymessa deleted the users/mjanecke/wi12893-remove-sdk-validation-pat branch October 1, 2026 16:23
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