fix(compile): checkout additional repos in SafeOutputs job for create-pull-request - #1735
fix(compile): checkout additional repos in SafeOutputs job for create-pull-request#1735jamesadevine with Copilot wants to merge 7 commits into
Conversation
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
…-pull-request (issue #1731) Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10ccd9bb-6fb7-4a24-8e36-d2ff13031733
|
Azure Pipelines: Successfully started running 2 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
|
/rust-review |
|
✅ Rust PR Reviewer completed successfully! |
🔍 Rust PR ReviewSummary: Looks good — the core fix is correct and the security posture improves. A few minor observations worth noting. Findings✅ What Looks Good
|
…iants Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10ccd9bb-6fb7-4a24-8e36-d2ff13031733
|
/azp run ado-aw candidate compiler smoke |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10ccd9bb-6fb7-4a24-8e36-d2ff13031733
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10ccd9bb-6fb7-4a24-8e36-d2ff13031733
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10ccd9bb-6fb7-4a24-8e36-d2ff13031733
create-pull-requestSafeOutputs jobs previously checked out onlyself, so additional repository directories were missing and ADO's implicit checkout layout could point the executor at the wrong directory. Trigger-scopedBuild.Repository.*values could also resolverepository: selfto a repository resource that triggered the run rather than the pipeline repository.Changes
repos:entry only in the SafeOutputs variant that executescreate-pull-request.selfto the compiler-owneds/selfpath and named repositories tos/<alias>.resources.repositories['self']ID/name/ref into Stage 3; retainBuild.Repository.*fallbacks for direct and older invocations.selfpath.Validation
cargo testcargo build --all-targetsnpm test(scripts/ado-script)npm run typecheck(scripts/ado-script)npm run build:executor-e2e(scripts/ado-script)Fixes #1731