Skip to content

Prevent emulator.wtf workflow reruns from using expired artifacts #7297

Description

@loganrosen

Description

The PR Emulator.wtf workflow downloads emulator-wtf-inputs from the triggering Pull Request workflow run, but that artifact is retained for only one day. A partial rerun can complete successfully and trigger PR Emulator.wtf again without rerunning the job that produces the artifact. If the original artifact has expired, instrumentation CI fails during artifact download before any tests run.

Update the workflow so a valid input artifact is available whenever the downstream workflow runs—for example, by extending the artifact retention period or otherwise ensuring the producer runs again. Rerunning PR CI should not create a false failed instrumentation check because its inputs expired.

Additional context

This occurred on PR #7209. Attempt 2 of workflow run 30712233663 reran only the previously cancelled build job more than one day later. The resulting PR Emulator.wtf run (30763712786) failed with Unable to download artifact(s): Artifact has expired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions