Repository navigation
Description
Triggering signals
- ([ci-scan] Build break: Apple mobile AOT crossgen2 fails with Failed to load assembly 'TypeMapApp' #133489, closed as
duplicate—[ci-scan] Build break: Apple mobile AOT crossgen2 fails with Failed to load assembly 'TypeMapApp'; a crossgen2 R2R compile-phase abort keyed on the volatile work-item/assembly nameTypeMapApp, [ci-scan] Build break: Apple mobile AOT crossgen2 fails with Failed to load assembly 'TypeMapApp' #133489) - ([ci-scan] Build break: crossgen2 TypeLoadException — generic type b27077 with explicit layout in ComputeInstanceLayout #133563, closed as
duplicate—[ci-scan] Build break: crossgen2 TypeLoadException — generic type b27077 with explicit layout in ComputeInstanceLayout; same compile-phase family re-filed under the incidental work-item nameb27077/Regression_4, [ci-scan] Build break: crossgen2 TypeLoadException — generic type b27077 with explicit layout in ComputeInstanceLayout #133563) - (KPI tracker [ci-scan-feedback] KPI Tracker #128742 rubric finding — scanner wrong-closure rate 31.6% 🔴 over 30d; 18 of 57 KBE closures were automated dedup with no maintainer pushback, dominated by the crossgen2 R2R / TypeMap / NativeAOT-ILC compile-phase family re-filed per work-item and auto-closed as
duplicate, [ci-scan-feedback] KPI Tracker #128742)
Proposed edits
- (
.github/workflows/shared/create-kbe.instructions.mdvariation 8, lines ~75-100 — extend variation 8 to cover crossgen2 / ILC / ReadyToRun / NativeAOT compile-phase aborts, declaring the compiled work-item/assembly name volatile incidental context rather than a test/method identifier; addresses the [ci-scan] Build break: Apple mobile AOT crossgen2 fails with Failed to load assembly 'TypeMapApp' #133489/[ci-scan] Build break: crossgen2 TypeLoadException — generic type b27077 with explicit layout in ComputeInstanceLayout #133563 dedup signal) - (
.github/workflows/shared/create-kbe.instructions.mdinvariant-phrase bullet, lines ~87-99 — strip the compiled work-item/assembly name from the invariant phrase and prefer the compiler-plus-exception form, e.g.crossgen2 TypeLoadException ComputeInstanceLayout, over any phrase that only names the app; keys the KBE on the stable signature so the open/closed variation-8 search finds the prior KBE) - (
.github/workflows/shared/create-kbe.instructions.md"complete test method identifier" paragraph, lines ~105-115 — clarify that a compile-phase work-item/assembly name is not such an identifier and must not be searched or keyed on; prevents the scanner from bypassing variation 8)
Expected behavior change
The next scanner run will recognize crossgen2 / ILC / ReadyToRun compile-phase aborts as a single failure shape keyed on compiler + invariant exception + leg root, instead of filing a fresh [ci-scan] KBE for each per-work-item name (TypeMapApp, b27077, Interop, Regression_4, LoaderClassloader). Variation 8's open- and closed-KBE search will then match the existing KBE for the family, so the recurring compile-phase family is deduplicated at detection time rather than after filing — cutting the automated-duplicate closures that currently drive the scanner wrong-closure rate to 31.6%.
Note
This PR was generated by the ci-failure-scan-feedback agentic workflow (Copilot).
Generated by CI Outer-Loop Failure Scanner — Feedback · opus48 · 480.8 AIC · ⌖ 19.9 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 34846308036 -n agent -D /tmp/agent-34846308036
# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-34846308036/aw-ci-scan-feedback-crossgen-compile-dedup.bundle refs/heads/ci-scan-feedback-crossgen-compile-dedup:refs/bundles/create-pr-ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc-4a361225
git update-ref refs/heads/ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc refs/bundles/create-pr-ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc-4a361225
git checkout ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc
# 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-crossgen-compile-dedup-dea09c9f593ceafc-4a361225
# Push the branch to origin
git push origin ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc
# Create the pull request
gh pr create --title '[ci-scan-feedback] Key crossgen2/ILC compile-phase KBEs on compiler+exception, not work-item name' --base main --head ci-scan-feedback-crossgen-compile-dedup-dea09c9f593ceafc --repo dotnet/runtimeMetadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
dotnet-policy-service commentedon Sep 14, 2026
Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.