Repository navigation
Retry the fixture CLI artifact download in deploy-action CI - #534
Merged
Merged
Conversation
fixture-release and store-free-release upload the fixture CLI through
build-app-cli and download it by name in the next step.
download-artifact resolves the name by listing the run's artifacts, and
that listing intermittently misses an artifact finalized milliseconds
earlier ("Artifact not found for name: fixture-app-cli"). Downloading
by artifact-ids goes through the same listing.
Mark the first download continue-on-error, then wait 15 seconds and
download once more only if it failed. A second miss still fails the
job. build-app-cli deletes its workspace after uploading, so reusing
the local tarball would change that action's contract; this keeps the
fix inside the test workflow.
Closes #533
aram356
force-pushed
the
ci/retry-fixture-cli-download
branch
from
November 25, 2026 05:30
8c0de15 to
20aa487
Compare
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #531, which is stacked on #529. Merge those first, then rebase this onto
main. Nothing here depends on them. It is stacked only to keep the queue in order.Summary
fixture-releaseandstore-free-releaseintermittently fail withArtifact not found for name: fixture-app-cliright afterbuild-app-cliuploaded and finalized that artifact.download-artifactresolves the name by listing the run's artifacts, and the listing can miss an artifact finalized milliseconds earlier.continue-on-error. If it failed, the job waits 15 seconds and downloads once more. A second miss still fails the job, and the happy path is unchanged.feat/523(run 45299233532),rc/identity(45258204685),fix/503(45257624476) and twice on Upgrade Fastly SDK to 0.13.3 #529. Each rerun passed.Changes
.github/workflows/deploy-action.ymlfixture-releaseandstore-free-releaseeach get anid/continue-on-erroron the download, asleep 15step and a retry download, both gated onsteps.download-cli.outcome == 'failure'. This follows thecontinue-on-errorplusoutcomepattern the workflow already uses for the expected-failure probes.Alternatives ruled out:
artifact-ids.download-artifactv8 lists the run's artifacts for that path too (src/download-artifact.ts), so it has the same race.build-app-clideletes its per-invocation workspace after uploading, so the file is gone by the next step. Keeping it would change the action's contract for downstream callers.Closes
Closes #533
Test plan
cargo test --workspace --all-targets(no Rust change)cargo clippy --workspace --all-targets --all-features -- -D warnings(no Rust change)cargo fmt --all -- --check(no Rust change)cargo check --workspace --all-targets --features "fastly cloudflare spin"(no Rust change)examples/app-demoworkspace (no change)edgezero serve --adapter axumstatic-checksgates, run locally.actionlint1.7.7 with shellcheck,check-action-pins.sh,zizmor --offline .github1.16.3 (no findings),.github/actions/deploy-core/tests/run.sh(643 passed, 0 failed) and.github/actions/setup-rust-build-cache/tests/run.sh.deploy-action.ymlruns on PRs into any base, so this PR's own Deploy actions run exercises the change.Checklist
{id}syntax (not:id)edgezero_core(nothttpcrate)KvRegistry/ConfigRegistry/SecretRegistry(not the legacy single-handle setters) — see spec §6.6