Repository navigation
Add implementation-time parallel safety preflight - #11826
Merged
Amaury Levé (Evangelink) merged 2 commits intoOct 8, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fe5070d9-0f10-47a6-bd7e-a31beb2d83ed
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The guidance is consistent with repository concurrency rules, its examples match current code, and the generated workflow retains strict settings and pinned actions.
0 open findings
What changed in this PR
Adds implementation-time parallel-safety guidance to the ResourceLock refactoring workflow.
Changes:
- Adds a reusable parallel-safety preflight skill with repository-backed examples.
- Runs the preflight before implementation and final validation.
- Regenerates the strict workflow lock metadata.
| File | Description |
|---|---|
.github/skills/testfx-parallel-safety-preflight/SKILL.md |
Defines the preflight guidance. |
.github/workflows/resource-lock-refactoring.md |
Integrates the preflight into the workflow. |
.github/workflows/resource-lock-refactoring.lock.yml |
Updates the generated body hash only. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Regenerate the ResourceLock workflow lock to preserve updated base dependency pins and the implementation preflight prompt. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fe5070d9-0f10-47a6-bd7e-a31beb2d83ed
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The guidance is consistent with repository policy, its examples match current code, and generated workflow changes are limited to metadata.
0 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Amaury Levé (Evangelink)
enabled auto-merge (squash)
October 8, 2026 12:26
Petr Pokorny (0101)
approved these changes
Oct 8, 2026
Amaury Levé (Evangelink)
deleted the
dev/amauryleve/parallel-safety-preflight
branch
October 8, 2026 12:29
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.
Adds the repo-owned
testfx-parallel-safety-preflightskill and applies it before declaration choices and again against the final diff in ResourceLock refactoring. The preflight traces effective assembly scheduling and transitive readers/writers, requires a concrete conflicting observer, and chooses the narrowest correct shared read/write declaration without weakening assembly-level safety.The implementation-time checks cover listener/producer attribution, inherited CI state such as
TF_BUILD, exact environment/culture/static restoration, deterministic rendezvous, and bounded cleanup that awaits the original workers' termination. Four repository-backed examples illustrate these boundaries.The original shared audit rubric and specialist reviewer are unchanged. Existing indirect-reader protection is preserved. The workflow retains its one-project scope, edit allowlist, and scheduling restrictions. Prompt-body wiring is the only workflow source change; the regenerated lock changes only its body hash, with no action-pin, permission, manifest, or generated-step changes. This follow-up is informed by #11192, #11542, and #11712; it does not patch those PRs or introduce runtime/product features.
Validation
Results obtained for commit
aa619c89a7db49da55c90fc30990b8a043c94248:gh aw compile resource-lock-refactoring --strict --no-check-updatepython .github\scripts\check_action_pins.pygh aw list resource-lock-refactoring --jsoncompiledisYes.git --no-pager diff --checkgit --no-pager diff --cached --checkNo live workflow dispatch, .NET build, or product test run was performed. This is a guidance/prompt-only change with no C# changes; focused checks validate the examples and workflow structure rather than claim new runtime behavior.
Exact focused check command (PowerShell, repository root)
This is the exact check run before committing, when
HEADwas the unchanged base. To rerun against the committed change, useHEAD^:instead ofHEAD:inhead(path)so the comparison remains against the same pre-change snapshot.