Skip to content

[ci-scan-feedback] Dedup ci-fix PRs by deterministic head-branch prefix #132518

Description

@github-actions

Triggering signals

Proposed edits

  • .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.

Generated by CI Outer-Loop Failure Scanner — Feedback · opus48 · 376 AIC · ⌖ 25.5 AIC · ⊞ 20.5K · ◷


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 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions