Repository navigation
Description
Triggering signals
- Scanner wrong-closure rate rose to 39.7% (23 of 58
[ci-scan]KBE closures in the last 30d wereduplicate/not_planned), 🔴 and up from 31.6% last tick — rubric finding, recomputed live this tick. - 9 of the 22 duplicate closures (41%) are one family: crossgen2 / R2R / ILC / NativeAOT compile-phase aborts re-filed under rotating per-work-item assembly/type names and auto-closed
duplicate. Verified examples: [ci-scan] Build break: Apple mobile AOT crossgen2 fails with Failed to load assembly 'TypeMapApp' #133489 (TypeMapApp), [ci-scan] Build break: crossgen2 TypeLoadException — generic type b27077 with explicit layout in ComputeInstanceLayout #133563 (b27077— "generic types cannot have explicit layout"), [ci-scan] Crossgen2 TypeLoadException loading 'Gen`1(System.__Canon)' from 'Negative002' during R2R compile of LoaderClassloader [Content truncated due to length] #133315 (Negative002), [ci-scan] crossgen2 TypeLoadException 'generic types cannot have explicit layout' aborting R2R Regression_4 work item (exit 134) #133316 (Regression_4), [ci-scan] Test failure: LoaderClassloaderGenerics Crossgen2 TypeLoadException on Negative002 in R2R_CG2 #133216 (LoaderClassloader). All closed by automated dedup with 0 maintainer rejection comments, so this is a scanner-precision gap, not maintainer friction. - The prior tick's tracker claimed a variation-8 tightening PR for exactly this family was emitted, but no
[ci-scan-feedback]PR actually landed — the earlier attempts ([ci-scan-feedback] Reject shared-console-log suite-harness KBE signatures #133080, [ci-scan-feedback] Read ci-fix head.ref via list/get, not search, to close dedup gap #132616) are orphaned "originally intended as a pull request, but the git push operation failed" issues. The rule was never applied.
Proposed edits
.github/workflows/shared/create-kbe.instructions.md(variation 8 invariant-phrase derivation, ~line 76) — for crossgen2 / R2R / ILC / NativeAOT compile-phase aborts, drop the per-work-item assembly/module/type/instantiation name being compiled (TypeMapApp,Negative002,b27077,Regression_4,LoaderClassloader,Interop) and keep only the stable exception + invariant reason, leaning on the leg root to bound it. Ties directly to the dedup-family signal above..github/workflows/shared/create-kbe.instructions.md(Bad vs good signatures table, ~line 611) — add a Bad/Good row using the concreteb27077explicit-layout case, showing the anchor must be the stable failure mode + leg root, not the rotating compiled-item name.
Expected behavior change
The next scanner run will derive the same variation-8 signature for a crossgen2/R2R/ILC compile abort regardless of which assembly or type happened to be under compilation, so the existing open KBE for that abort is matched and no new near-duplicate is filed — cutting the compile-abort family out of the duplicate-closure stream that pushed the 30d wrong-closure rate to 39.7%.
Note
This PR description was generated by an AI/Copilot agentic workflow.
Generated by CI Outer-Loop Failure Scanner — Feedback · opus48 · 507.6 AIC · ⌖ 20.1 AIC · ⊞ 18.7K · ◷
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 34971878227 -n agent -D /tmp/agent-34971878227
# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-34971878227/aw-ci-scan-feedback-crossgen2-compile-abort-dedup.bundle refs/heads/ci-scan-feedback/crossgen2-compile-abort-dedup:refs/bundles/create-pr-ci-scan-feedback-crossgen2-compile-abort-dedup-58299a7f308e3162-22123d40
git update-ref refs/heads/ci-scan-feedback/crossgen2-compile-abort-dedup-58299a7f308e3162 refs/bundles/create-pr-ci-scan-feedback-crossgen2-compile-abort-dedup-58299a7f308e3162-22123d40
git checkout ci-scan-feedback/crossgen2-compile-abort-dedup-58299a7f308e3162
# 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-crossgen2-compile-abort-dedup-58299a7f308e3162-22123d40
# Push the branch to origin
git push origin ci-scan-feedback/crossgen2-compile-abort-dedup-58299a7f308e3162
# Create the pull request
gh pr create --title '[ci-scan-feedback] Treat per-work-item names as volatile in crossgen2/ILC compile-abort KBE signatures' --base main --head ci-scan-feedback/crossgen2-compile-abort-dedup-58299a7f308e3162 --repo dotnet/runtimeMetadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Sep 15, 2026
Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.