Skip to content

Hydrate the triggering Samples branch - #661

Merged
Scott Jones (Scottj1s) merged 2 commits into
mainfrom
copilot/hydrate-triggering-samples-branch
Aug 25, 2026
Merged

Hydrate the triggering Samples branch#661
Scott Jones (Scottj1s) merged 2 commits into
mainfrom
copilot/hydrate-triggering-samples-branch

Conversation

@Scottj1s

@Scottj1s Scott Jones (Scottj1s) commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

  • derive the default hydration target from Build.SourceBranch, so main and release/* CI runs hydrate their matching protected branch
  • support a manually selected protected branch through the SamplesBranch queue-time parameter
  • add three explicit HydrationMode values:
    • Branch: hydrate the complete package closure for the triggering or selected Samples branch, then validate it anonymously
    • ValidateOnly: validate the selected branch anonymously without authentication or feed changes
    • WindowsAppSDKVersion: mirror a specified Microsoft.WindowsAppSDK version and its NuGet dependency closure, then validate it anonymously
  • remove the temporary trusted bootstrap-branch exception
  • document the automatic, manual, validation-only, and package-version flows

Validation

  • Azure Pipelines preview compilation succeeded for all three modes
  • run 387290 successfully validated the main branch anonymously without changing upstreams
  • run 387291 successfully hydrated and anonymously restored Microsoft.WindowsAppSDK 1.5.240227000 with its dependency closure
  • run 387291's always() cleanup completed successfully and the feed has zero active upstreams

Rollout order

Merge this PR before #659. After this PR merges, remove the pipeline-level SamplesBranch=main variable from pipeline 34. Merging #659 will then automatically hydrate and anonymously validate main.

Derive the package-closure target from Build.SourceBranch so main and release CI runs hydrate their matching protected branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
Support automatic or selected-branch hydration, anonymous validation-only runs, and explicit Microsoft.WindowsAppSDK version mirroring with dependency closure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
@Scottj1s
Scott Jones (Scottj1s) merged commit 13d5533 into main Aug 25, 2026
4 checks passed
@Scottj1s
Scott Jones (Scottj1s) deleted the copilot/hydrate-triggering-samples-branch branch August 25, 2026 20:10
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.

2 participants