Skip to content

Retain failing Native AOT smoke executables and diagnostic inputs #690

Closed

Description

@thomhurst

Summary

When the Linux Native AOT smoke fails in CI, the workflow discards the executable and symbols when the runner exits. Allocation failures can depend on the linked image, so rebuilding passing source cannot explain the failure. Preserve the exact failing image and its inputs for investigation.

Reproduction

.github/workflows/ci.yml publishes and executes tests/Relayer.AotSmoke in one step with no failure artifact upload. Run 43421747205 failed the awaited-send zero-allocation assertion, but its artifacts API returns no artifacts. This prevents attribution in #679.

Proposal

On failure of that smoke step, upload its original publish directory (including native symbols), publish/run logs, SDK/runtime and host details, commit/source archive, and a SHA-256 inventory. Reuse the workflow's pinned actions/upload-artifact and its existing failure-only test-input retention pattern, with a short explicit retention period and allowlisted paths. Preserve the original exit code and do not rebuild, retry, change warm-up or relax assertions. Cover both framework matrix legs.

This is the evidence-capture subtask of #679; it does not attribute or fix the original allocation.

Activity

  1. added
    phase-0: core
    area: testing
    P1
    in-progress
    on Nov 13, 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

    Labels

    P1area: testingin-progressphase-0: core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions