Skip to content

fix(ci): default S3_BUILD_CACHE_AWS_PARAMS in cache_s3_transfer{,_to}#22898

Merged
ludamad merged 1 commit into
merge-train/barretenbergfrom
claudebox/fix-s3-build-cache-unbound-var
May 1, 2026
Merged

fix(ci): default S3_BUILD_CACHE_AWS_PARAMS in cache_s3_transfer{,_to}#22898
ludamad merged 1 commit into
merge-train/barretenbergfrom
claudebox/fix-s3-build-cache-unbound-var

Conversation

@AztecBot

@AztecBot AztecBot commented May 1, 2026

Copy link
Copy Markdown
Collaborator

cache_s3_transfer and cache_s3_transfer_to in ci3/source_cache reference ${S3_BUILD_CACHE_AWS_PARAMS} without a default. Every script that sources ci3/source runs under set -euo pipefail (via ci3/source_options), and the variable is unset in production CI (it is only set in ci3/source_test for local fixtures), so the functions abort with:

ci3/source_cache: line 30: S3_BUILD_CACHE_AWS_PARAMS: unbound variable

This caused benchmark breakdown S3 uploads from ci_benchmark_ivc_flows.sh / ci_benchmark_ultrahonk_circuits.sh to fail silently, surfacing as the bench job appearing skipped on the breakdown dashboard.

Match the existing convention used by cache_upload, cache_delete, cache_download, cache_exists, and cache_ls by providing an empty default (:-).

Regression from dfa23c2 ("feat: migrate CI from SSH to SSM with SSH fallback") which added these two functions.

Details: https://gist.github.com/AztecBot/517dc093e9149bc56adbacc8f721c8b4

ClaudeBox log: https://claudebox.work/s/33613d341cf3129d?run=1

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels May 1, 2026
@federicobarbacovi federicobarbacovi marked this pull request as ready for review May 1, 2026 17:08
@federicobarbacovi federicobarbacovi requested a review from ludamad May 1, 2026 17:08
@ludamad ludamad merged commit 9e4a8e9 into merge-train/barretenberg May 1, 2026
35 of 39 checks passed
@ludamad ludamad deleted the claudebox/fix-s3-build-cache-unbound-var branch May 1, 2026 17:14
danielntmd pushed a commit to danielntmd/aztec-packages that referenced this pull request May 6, 2026
BEGIN_COMMIT_OVERRIDE
fix(ci): default S3_BUILD_CACHE_AWS_PARAMS in cache_s3_transfer{,_to}
(AztecProtocol#22898)
chore: low-hanging chonk prover fixes from profiling (AztecProtocol#22855)
chore: fuse N `add_scaled` into one `parallel_for` (AztecProtocol#22893)
feat: Delayed merge implementation (AztecProtocol#22775)
chore: numeric audit response (AztecProtocol#22856)
fix: harden BN254 G2 SRS ingress (AztecProtocol#22858)
fix: remove unused hash_challenge variable in batch_merge.test.cpp
(AztecProtocol#22906)
fix(bbup): remove jq dependency (AztecProtocol#22912)
chore: fix g2 test failing on merge-train (AztecProtocol#22920)
fix(ci): error on disabled-cache in CI hash calculation (AztecProtocol#22904)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants