Skip to content

[ci-scan-feedback] Key crossgen2/ILC compile-phase KBEs on compiler+exception, not work-item name #133876

Closed

Description

@github-actions

Triggering signals

Proposed edits

  • (.github/workflows/shared/create-kbe.instructions.md variation 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.md invariant-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/runtime

Activity

  1. added
    untriaged
    on Sep 14, 2026
  2. dotnet-policy-service commented on Sep 14, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

  3. removed
    untriaged
    on Sep 22, 2026
  4. locked and limited conversation to collaborators on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions