You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci-scan-feedback] Dedup ci-fix PRs by deterministic head-branch prefix #132518
.github/workflows/ci-failure-fix.md:164 — Step 3 preamble: build the <kbe> -> [PRs] map by parsing both each PR's head.ref branch and its Linked KBE: field, and state that every [ci-fix] PR must use a ci-fix/<kbe>-... head branch so the branch prefix is a deterministic, punctuation-free dedup key.
.github/workflows/ci-failure-fix.md:166 — Step 3 check 1: match any enumerated [ci-fix] PR whose head.ref starts with ci-fix/<kbe>-, and make that prefix match authoritative (check it first, skip on a hit even when the search-tokenized title/body phrase match misses).
.github/workflows/ci-failure-fix.md:251,261 — Branch FIX / Branch HELP emission steps: require the ci-fix/<kbe>-<slug>-<hash> head-branch name (numeric KBE id first) so the new dedup key is actually produced.
Expected behavior change
The next fixer run resolves dedup on the deterministic head-branch prefix rather than a #<kbe> phrase that GitHub's search tokenizer strips. A KBE that already has an open [ci-fix] PR will be recognized regardless of title wording, so the fixer will not open a second help-wanted PR for it — preventing the #131981/#131515 duplicate class.
Note
AI/Copilot-generated PR from the ci-scan-feedback workflow.
The bundle file is available in the agent artifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 32256627826 -n agent -D /tmp/agent-32256627826
# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-32256627826/aw-ci-scan-feedback-2026-08-19.bundle refs/heads/ci-scan-feedback-2026-08-19:refs/bundles/create-pr-ci-scan-feedback-2026-08-19-bd6d765b99342799-62d48ed1
git update-ref refs/heads/ci-scan-feedback-2026-08-19-bd6d765b99342799 refs/bundles/create-pr-ci-scan-feedback-2026-08-19-bd6d765b99342799-62d48ed1
git checkout ci-scan-feedback-2026-08-19-bd6d765b99342799
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d refs/bundles/create-pr-ci-scan-feedback-2026-08-19-bd6d765b99342799-62d48ed1
# Push the branch to origin
git push origin ci-scan-feedback-2026-08-19-bd6d765b99342799
# Create the pull request
gh pr create --title '[ci-scan-feedback] Dedup ci-fix PRs by deterministic head-branch prefix' --base main --head ci-scan-feedback-2026-08-19-bd6d765b99342799 --repo dotnet/runtime
Triggering signals
[ci-fix]PRs for the same KBE [ci-scan] Build break: Windows Helix work items fail on unexpanded $HELIX_PYTHONPATH in gen-debug-dump-docs post-command #131382, both carrying the sameci-fix/131382-...head branch and the same 2-linesendtohelixhelp.projchange. The fixer's Step 3 dedup (title/body#<kbe>phrase match) did not catch the already-open sibling, so a second help-wanted PR was opened — the exact "at most one open[ci-fix]PR per KBE" invariant (Hard rule 5) it is meant to protect.Proposed edits
.github/workflows/ci-failure-fix.md:164— Step 3 preamble: build the<kbe> -> [PRs]map by parsing both each PR'shead.refbranch and itsLinked KBE:field, and state that every[ci-fix]PR must use aci-fix/<kbe>-...head branch so the branch prefix is a deterministic, punctuation-free dedup key..github/workflows/ci-failure-fix.md:166— Step 3 check 1: match any enumerated[ci-fix]PR whosehead.refstarts withci-fix/<kbe>-, and make that prefix match authoritative (check it first, skip on a hit even when the search-tokenized title/body phrase match misses)..github/workflows/ci-failure-fix.md:251,261— Branch FIX / Branch HELP emission steps: require theci-fix/<kbe>-<slug>-<hash>head-branch name (numeric KBE id first) so the new dedup key is actually produced.Expected behavior change
The next fixer run resolves dedup on the deterministic head-branch prefix rather than a
#<kbe>phrase that GitHub's search tokenizer strips. A KBE that already has an open[ci-fix]PR will be recognized regardless of title wording, so the fixer will not open a second help-wanted PR for it — preventing the #131981/#131515 duplicate class.Note
AI/Copilot-generated PR from the
ci-scan-feedbackworkflow.Note
This was originally intended as a pull request, but the git push operation failed.
Original error: The process '/usr/bin/git' failed with exit code 1
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes: