Repository navigation
Extend PR failure scan for servicing and infrastructure KBEs - #138158
Conversation
Add exact check-run analysis, servicing propagation guidance, and infrastructure KBE lookup and creation support while preserving the existing runtime KBE skill and workflow contracts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 17757b0e-9837-4682-8c2b-2789d4de4019
|
Azure Pipelines: Successfully started running 1 pipeline(s). 14 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🟡 Changes recommended
The duplicate lookup can send security-sensitive failure details to GitHub before screening, and unresolved tracker and fix-history handling can lead to incorrect KBE decisions.
5 open issues
What changed in this PR
This PR extends the runtime CI failure-triage instructions to handle exact check runs, servicing propagation, and infrastructure Known Build Errors in dotnet/dnceng.
Changes:
- Preserve check-run identity and avoid mixing evidence across attempts.
- Add infrastructure lookup, drafting, and explicit publication-permission rules.
- Add release-branch fix propagation checks and conditional VMR analysis.
| File | Description |
|---|---|
.github/workflows/shared/create-kbe.instructions.md |
Adds destination routing and dnceng lookup classifications. |
.github/skills/pr-failure-scan/SKILL.md |
Integrates exact check runs, infrastructure outcomes, and servicing analysis. |
.github/skills/pr-failure-scan/references/servicing-triage.md |
Defines branch-aware tracker reuse and fix propagation checks. |
.github/skills/create-kbe/SKILL.md |
Reuses supplied lookup evidence and delegates infrastructure drafts. |
.github/skills/create-dnceng-kbe/SKILL.md |
Defines infrastructure drafting and guarded publication contracts. |
Review effort: Balanced
Screen security-sensitive evidence before dnceng lookups, distinguish plain trackers from KBEs, verify fixes against the failing source revision, and canonicalize closed duplicate dnceng issues before recurrence decisions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 17757b0e-9837-4682-8c2b-2789d4de4019
vitek-karas
left a comment
There was a problem hiding this comment.
Review summary
The PR adds useful coverage for exact-run, servicing, and infrastructure triage. Keeping destination routing optional appears to preserve the scheduled scanner/fixer contracts. I left an inline regression finding on runtime-KBE deduplication before creating a dnceng tracker and a non-blocking request to define the scheduled scanner's scope in its own instructions. The existing comment asking what ‘recent’ means is preserved.
Validation
Scanner tests passed (28/28), fixer intake tests passed (18/18), and eval-spec lint, Markdown lint, and isolated relative-link checks passed. The feedback eval passed (4/4) after using a substitute judge. Full scanner eval scored 10/11 before a final helper correction and was not rerun afterward; the corrected fixer eval scored 2/6 because the live eval rejected a skip required by production policy. Those eval results do not establish a regression in the PR.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
Note
This review was generated by GitHub Copilot.
Make dnceng lookup windows explicit, preserve runtime KBE dedup before infrastructure routing, document the scheduled scanner's runtime-only scope, and add a bounded servicing-only historical fix resolver. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 17757b0e-9837-4682-8c2b-2789d4de4019
vitek-karas
left a comment
There was a problem hiding this comment.
Holistic Review
Motivation: Exact check-run triage, infrastructure KBE handling, and servicing fix-propagation checks address distinct gaps in the existing PR failure scan.
Approach: Reusing the runtime lookup before optional destination routing preserves existing deduplication. However, the new dnceng path depends on a form that has moved.
Summary: ❌ Needs Changes. The mandatory dnceng issue-form reference returns 404, so the new skill must stop instead of producing a draft. Update both references to .github/ISSUE_TEMPLATE/known-build-error.yml.
Detailed Findings
❌ Logic — The new mandatory form dependency blocks dnceng drafting and publication. The same stale path appears in .github/skills/create-dnceng-kbe/SKILL.md:21 and .github/workflows/shared/create-kbe.instructions.md:109. Confirmed by 3/3 reviewers + repo specialist.
Previous feedback: All eight existing review threads are resolved, and their requested changes are substantively present in the reviewed revision. No previous finding needs reopening.
Coverage: No new evals accompany these instruction changes. This review inspected the decision rules and verified the external form rename; it did not execute the skills or run tests.
Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
Note
This review was generated by GitHub Copilot.
Point dnceng KBE drafting at the current known-build-error.yml issue form so fail-closed form validation no longer blocks the infrastructure path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 17757b0e-9837-4682-8c2b-2789d4de4019
vitek-karas
left a comment
There was a problem hiding this comment.
Holistic Review
Motivation: The PR addresses gaps in exact check-run, servicing, and infrastructure failure triage.
Approach: The previous form-link blocker is fixed in both references. The new dnceng lookup still needs to distinguish an ordinary tracker from a Known Build Error.
Summary:
Detailed Findings
existing-dnceng-kbe, including an ordinary tracker with neither the Known Build Error label nor a matching JSON signature. Confirmed by 2/3 reviewers + repo specialist; one reviewer disagreed.
Previous feedback: The form-link finding is fixed and its thread is resolved. The other eight previously reviewed threads remain resolved.
Coverage: No new evals accompany these instruction changes. This review inspected the rules and current external form; it did not execute the skills or run tests.
Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
Note
This review was generated by GitHub Copilot.


Summary
Motivation
PR-targeted failure triage currently focuses on the latest PR head and the dotnet/runtime KBE destination. This leaves several gaps:
These changes extend the existing KBE flow rather than replacing it:
Compatibility
Review feedback addressed
Validation
Note
This pull request was prepared with GitHub Copilot assistance.