Skip to content

fix(ci): pin setup-soldr with transient download retries - #3691

Merged
zackees merged 2 commits into
masterfrom
fix/setup-soldr-download-retries
Nov 5, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/setup-soldr-download-retries

Conversation

@zackees

@zackees zackees commented Nov 5, 2026

Copy link
Copy Markdown
Member

Fix recurring CI bootstrap failures when GitHub release-asset downloads return a transient 504. Update all 12 setup-soldr pins (11 in build-project.yaml, one in release-rust.yaml) from 9337570234850b50322e696037127fa3cf8ac703 to c6f5541a9a528a5bd3a4dfee911dee3d61cf6db0. Only the SHA at each site changes; all comments and other bytes are preserved.

Verification:

  • Fetched upstream and confirmed forge-ci/setup-soldr main still resolves to c6f5541a9a528a5bd3a4dfee911dee3d61cf6db0.
  • git merge-base --is-ancestor 5f83f4f c6f5541a9a528a5bd3a4dfee911dee3d61cf6db0 exited 0. The old SHA does not contain that fix. Source and dist/main.js retain the four-attempt transient-download retry path, including HTTP 504.
  • S3 remote caching remains supported: action.yml still exposes the S3 inputs, src/lib/s3-cache.ts retains restore/save support, and dist/main.js/dist/post.js include it. The S3 diff disables shared S3 only for local ACT runners; hosted GitHub support is retained. The existing # s3 remote cache comments remain accurate.
  • Run 42046246591 at c97e83a is successful on attempt 2, consistent with the reported transient transport failure.
  • Byte-for-byte validation passed: exactly 12 SHA substitutions in two workflow files, with no other edits. git diff --check passed.

Local gate: ran the exact command prescribed in local-gate.toml:
uvx --from git+https://github.com/zackees/ci.yml@a1917ce76598904ce515cd7eec83450c317ea6f2 ci-lint local-gate run

Not green: lint failed in test_ci_toml.CiTomlTest.test_deps_family_matches_the_pinned_setup_soldr_cook_prefix because ci/test_ci_toml.py:58 hardcodes the old SETUP_SOLDR_PIN. The requested scope explicitly permits only workflow pin substitutions, so that test was left unchanged. No claim of passing the full gate or attestation is made. This draft needs that constraint resolved before merging.

Opened at the maintainer’s explicit request; do not merge or enqueue. No new tests or workflow files, no Rust/application changes.

ci/test_ci_toml.py pins the setup-soldr commit the workflows run so a bump
that changes COOK_BASE_KEY_PREFIX cannot silently move the cook cache layers
from kept to deleted (#3166). The pin bump in the previous commit missed it,
so ci/ Self-Tests failed on the PR.

COOK_BASE_KEY_PREFIX is cook-base-v3 at both the old and the new commit, so
SETUP_SOLDR_COOK_PREFIX and the ci.toml deps family are unchanged.
@zackees
zackees marked this pull request as ready for review November 5, 2026 16:08
@zackees
zackees added this pull request to the merge queue Nov 5, 2026
Merged via the queue into master with commit 1af2836 Nov 5, 2026
39 checks passed
@zackees
zackees deleted the fix/setup-soldr-download-retries branch November 5, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant