Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
566d7f5
refactor(p2p): merge FastTxCollection into TxCollection with sequenti…
fcarreiro May 13, 2026
a7a0d8c
refactor(publisher): bundle-level simulate; drop per-action enqueue s…
spalladino May 13, 2026
4b52402
Merge branch 'next' into merge-train/spartan
May 13, 2026
ad97697
Merge branch 'next' into merge-train/spartan
May 13, 2026
460a87e
refactor(stdlib): remove deprecated RevertCode/TxExecutionResult alia…
spalladino May 13, 2026
1eaca4b
Merge branch 'next' into merge-train/spartan
May 14, 2026
498b961
test(e2e): fix race in 'proposer invalidates multiple checkpoints' (#…
spalladino May 14, 2026
437eacb
fix: clean up old jobs regardless of pending status (#23260)
alexghr May 14, 2026
db4bd98
refactor(p2p): remove unused sendBatchRequest (#23273)
fcarreiro May 14, 2026
6eedaa5
chore(p2p): remove proposal_tx_collector leftovers (#23276)
fcarreiro May 14, 2026
816aef3
feat: slash truncated checkpoint proposals (#23250)
alexghr May 14, 2026
55df962
refactor: remove unused map in attestation pool (#23284)
alexghr May 14, 2026
e52eb69
Merge branch 'next' into merge-train/spartan
May 14, 2026
85f9c92
Merge branch 'next' into merge-train/spartan
May 14, 2026
8a6316f
Merge branch 'next' into merge-train/spartan
May 14, 2026
71d3b16
Merge branch 'next' into merge-train/spartan
May 14, 2026
78c6e81
chore(p2p): assert last block in checkpoint proposal is correct (#23274)
spalladino May 14, 2026
0da3480
refactor(l1-tx-utils): use DateProvider for fail-fast timeout check (…
spalladino May 14, 2026
9759aa6
Merge branch 'next' into merge-train/spartan
May 15, 2026
fff23f9
feat(sandbox): support proposer pipelining in local network (#23277)
spalladino May 15, 2026
7551378
Merge branch 'next' into merge-train/spartan
May 15, 2026
3ba6dbe
test(e2e): fix race in broadcasted_invalid_block_proposal_slash under…
AztecBot May 15, 2026
e0f2339
fix(archiver): atomic getter for L2 tips (#23295)
spalladino May 15, 2026
0291cc2
fix(sequencer): use targetSlot in tryVoteWhenEscapeHatchOpen under pi…
spalladino May 15, 2026
1c09902
fix(world-state): make fork close idempotent for pruned forks (#23298)
spalladino May 15, 2026
943ca27
test(e2e): migrate passing tests to proposer pipelining (#23275)
spalladino May 15, 2026
111f72d
chore: update dashboard (#23312)
alexghr May 15, 2026
fc2a31c
Merge branch 'next' into merge-train/spartan
May 15, 2026
69f57fe
chore: Revert "feat(sandbox): support proposer pipelining in local ne…
alexghr May 15, 2026
fed608b
test: slash on bad attestation (#23184)
alexghr May 15, 2026
58acdae
feat(slasher): per-slot data-withholding watcher (A-523, A-525) (#23116)
PhilWindle May 15, 2026
a948115
test(e2e): enable pipelining on e2e debug trace (#23301)
spalladino May 15, 2026
bf608d1
test(e2e): enable pipelining on l1-to-l2 test (#23300)
spalladino May 15, 2026
8bb87b0
Merge branch 'next' into merge-train/spartan
May 16, 2026
6f9d6f8
chore: speed up no-cache bootstrap paths
ludamad May 16, 2026
718484e
chore: skip protocol test hashes without cache
ludamad May 16, 2026
60517ae
chore: skip aztec-nr test hashes without cache
ludamad May 16, 2026
fe7b23c
chore: fast-path disabled build cache checks
ludamad May 16, 2026
56c3839
chore: fast-path skipped build cache uploads
ludamad May 16, 2026
1183329
chore: skip contract snapshot test hash without cache
ludamad May 16, 2026
b6e9b57
chore: skip yarn subtest hashes without cache
ludamad May 16, 2026
4e14b00
chore: lazily hash small test command targets
ludamad May 16, 2026
4cca844
chore: lazily hash bb sol test commands
ludamad May 16, 2026
8e6dd0b
chore: lazily hash l1 test commands
ludamad May 16, 2026
2a3a62b
chore: skip no-cache command hashes
ludamad May 16, 2026
329ffff
chore: avoid repeated parallel citation setup
ludamad May 16, 2026
8f98853
chore: lazily hash package test commands
ludamad May 16, 2026
b5febb5
chore: lazily hash acir test commands
ludamad May 16, 2026
5942e02
chore: lazily hash noir contract commands
ludamad May 16, 2026
0835cdf
chore: lazily hash noir protocol commands
ludamad May 16, 2026
6038695
chore: fast-path no-cache content hashes
ludamad May 16, 2026
be5ce0f
chore: lazily load test commit metadata
ludamad May 16, 2026
0424956
chore: lazily initialize noir build hash
ludamad May 16, 2026
c961c3e
chore: skip cpp command hashes without cache
ludamad May 16, 2026
798fc10
chore: remove unused p2p bootstrap hash
ludamad May 16, 2026
b4311dc
chore: skip spartan deps for metadata commands
ludamad May 16, 2026
60652bb
chore: skip upload file walks when cache upload is disabled
ludamad May 16, 2026
d6a430a
chore: skip docker saves when cache upload is disabled
ludamad May 16, 2026
f4afa70
chore: lazily initialize avm build metadata
ludamad May 16, 2026
dd504a6
chore: lazily load ci current version
ludamad May 16, 2026
65c2c72
chore: reuse bootstrap repo root
ludamad May 16, 2026
b69f1ab
chore: skip semver checks for branch bootstraps
ludamad May 16, 2026
72da75f
chore: skip dependent hashes when cache is disabled
ludamad May 16, 2026
50ab078
chore: lazily resolve boxes tool paths
ludamad May 16, 2026
98c0284
chore: silence missing acir test listing dir
ludamad May 16, 2026
89adff1
chore: skip aggregate hashes when cache is disabled
ludamad May 16, 2026
cb2118f
chore: avoid e2e command dump subshells
ludamad May 16, 2026
9ac6117
chore: avoid sed in e2e test command names
ludamad May 16, 2026
68d02ca
chore: simplify e2e parallel test name extraction
ludamad May 16, 2026
f20ac5e
chore: lazily load ci commit hash
ludamad May 16, 2026
1f103fc
chore: skip local dashboard checks in ci
ludamad May 16, 2026
dff1c69
chore: skip redis setup for metadata bootstraps
ludamad May 16, 2026
e7e4e53
chore: reuse exported bootstrap root
ludamad May 16, 2026
928db60
chore: speed up yarn test command filters
ludamad May 16, 2026
0576183
chore: cache bootstrap os detection
ludamad May 16, 2026
3a3ea7b
chore: avoid dirname in bootstrap source
ludamad May 16, 2026
de745a4
chore: avoid duplicate bootstrap root lookup
ludamad May 16, 2026
f488d6d
chore: reuse bootstrap root in metadata scripts
ludamad May 16, 2026
b664c39
chore: inline yarn subproject test commands
ludamad May 16, 2026
fe39c95
chore: reduce yarn test loop overhead
ludamad May 16, 2026
d1f6e94
chore: reduce e2e test command loop overhead
ludamad May 16, 2026
378ff27
chore: read branch ref without git process
ludamad May 16, 2026
51dd21f
chore: reuse root in barretenberg bootstrap
ludamad May 16, 2026
d6403cb
chore: use case matching for yarn test filters
ludamad May 16, 2026
2da8aee
chore: skip parallel cite setup for metadata
ludamad May 16, 2026
2ab7414
chore: batch e2e parallel test name extraction
ludamad May 16, 2026
83f5261
chore: batch e2e compat test name extraction
ludamad May 16, 2026
5517e82
chore: skip docs semver checks on branch refs
ludamad May 16, 2026
0421107
chore: derive hot bootstrap roots from script paths
ludamad May 16, 2026
56199fe
chore: combine yarn chonk test filters
ludamad May 16, 2026
423a4ec
chore: derive component bootstrap roots from script paths
ludamad May 16, 2026
915accb
chore: treat all command emitters as metadata
ludamad May 16, 2026
97c7648
chore: combine yarn ivc test filters
ludamad May 16, 2026
6636da6
chore: fast path disabled-cache hashes
ludamad May 16, 2026
eb24f3a
chore: fast path case-based disabled-cache hashes
ludamad May 16, 2026
bcc422f
chore: avoid subshell in hot bootstrap roots
ludamad May 16, 2026
adf9bd7
chore: fold yarn test command cases
ludamad May 16, 2026
377e39c
chore: avoid subshell in yarn subproject roots
ludamad May 16, 2026
e771751
chore: avoid subshell in docs bootstrap roots
ludamad May 16, 2026
0e00647
chore: avoid subshell in barretenberg bootstrap roots
ludamad May 16, 2026
c3e925f
chore: avoid subshell in component bootstrap roots
ludamad May 16, 2026
ad9c0e7
chore: speed up mock protocol bootstrap startup
ludamad May 16, 2026
8cfc9c4
chore: avoid uname in bootstrap os detection
ludamad May 16, 2026
68f6c4e
chore: avoid subshell reading branch ref
ludamad May 16, 2026
f40270c
chore: inline bootstrap branch ref parsing
ludamad May 16, 2026
ef198de
chore: cache barretenberg gtest inventory
ludamad May 16, 2026
e05bdbe
chore: add guards to barretenberg headers
ludamad May 16, 2026
f11406a
fix: complete chonk verifier result initializers
ludamad May 16, 2026
21e4521
chore: trim barretenberg public includes
ludamad May 16, 2026
d84ed7d
fix: complete barretenberg aggregate initializers
ludamad May 16, 2026
5267841
chore: narrow barretenberg API headers
ludamad May 16, 2026
d20e61a
chore: keep bbapi dispatch inline
ludamad May 16, 2026
397a5de
test(e2e): switch fee_settings to organic fee bumps under pipelining …
spalladino May 16, 2026
f0578c8
fix(ci): retry sqlite3mc-wasm download on transient DNS/TLS failures …
AztecBot May 16, 2026
b38f967
test(e2e): wait for real oracle rotation in fee_settings inflate help…
AztecBot May 16, 2026
db34cbc
perf: reduce barretenberg compile overhead
ludamad May 16, 2026
2d8028a
perf: split ultra honk test circuit helper
ludamad May 16, 2026
6874e44
test(e2e): anchor e2e_amm PXE to checkpointed tip under pipelining (#…
AztecBot May 16, 2026
b6b003c
Merge remote-tracking branch 'origin/next' into merge-train/spartan
AztecBot May 16, 2026
7b32aa7
test(e2e): skip e2e_amm and fee_settings to unblock merge-train #23253
AztecBot May 16, 2026
df30f96
fix(barretenberg): restore transitive includes broken by header-trimm…
AztecBot May 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 28 additions & 8 deletions .test_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ tests:
skip: true
owners:
- *alex
# Skipped to unblock merge-train #23253 into next under proposer pipelining.
# These fail repeatedly on merge attempts despite fix attempts (#23303, #23334
# for fee_settings; #23336 for e2e_amm). Must be triaged and re-enabled —
# tracking: re-enable e2e_amm + fee_settings (assigned to spalladino).
- regex: "src/e2e_amm.test.ts"
skip: true
owners:
- *palla
- regex: "src/e2e_fees/fee_settings.test.ts"
skip: true
owners:
- *palla
- regex: "src/e2e_fees/private_payments"
owners:
- *phil
Expand Down Expand Up @@ -164,6 +176,10 @@ tests:
error_regex: "Error: Timeout of 2000ms exceeded"
owners:
- *martin
- regex: "kv-store/.*store\\.test"
error_regex: "guards against too many cursors"
owners:
- *palla
- regex: "ethereum/src/test/tx_delayer.test.ts"
error_regex: "delays a transaction until a given L1 timestamp"
owners:
Expand All @@ -172,6 +188,18 @@ tests:
error_regex: "ContractFunctionExecutionError: The contract function"
owners:
- *mitch
# Under proposer pipelining each validator votes in its own slot and the votes
# don't aggregate into the same round, so the slashing quorum (3) is never
# reached within the 414s budget; the test consistently times out at the docker
# outer 600s (exit 124). The publisher refactor lands all vote-offenses tx's
# on L1 successfully — voteCount on the slasher proposer simply stays at 1
# per round. This is a slashing-payload aggregation issue independent of
# publisher work; skip until the slashing team addresses it separately.
- regex: "e2e_p2p/valid_epoch_pruned_slash.test.ts"
skip: true
owners:
- *mitch
- *palla
- regex: "archiver/src/archiver/archiver.test.ts"
error_regex: "Received number of calls: 1"
owners:
Expand All @@ -185,14 +213,6 @@ tests:
- *phil
- *palla

# http://ci.aztec-labs.com/64a972aafaa40dd0
# ProvingBroker › Retries › does not retry if job is stale — kv-store closes
# before the broker's final reportProvingJobError write lands.
- regex: "prover-client/src/proving_broker/proving_broker.test.ts"
error_regex: "does not retry if job is stale|Store is closed"
owners:
- *alex

# Nightly GKE tests
- regex: "spartan/bootstrap.sh"
owners:
Expand Down
40 changes: 31 additions & 9 deletions avm-transpiler/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,53 @@
#!/usr/bin/env bash
if [ "${1:-}" = "hash" ] && [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
exit 0
fi

# Use ci3 script base.
source $(git rev-parse --show-toplevel)/ci3/source_bootstrap
script_dir=${BASH_SOURCE[0]%/*}
[ "$script_dir" = "${BASH_SOURCE[0]}" ] && script_dir=.
case "$script_dir" in
/*) root=${root:-$script_dir/..} ;;
*) root=${root:-$PWD/$script_dir/..} ;;
esac
source "$root/ci3/source_bootstrap"

if [ "${AVM_TRANSPILER:-1}" -eq 0 ]; then
echo "AVM_TRANSPILER=0, skipping."
exit 0
fi

hash=$(hash_str $(../noir/bootstrap.sh hash) $(cache_content_hash .rebuild_patterns))
function get_hash {
if [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
else
hash_str $(../noir/bootstrap.sh hash) $(cache_content_hash .rebuild_patterns)
fi
}

export GIT_COMMIT=$(git -C ../noir/noir-repo rev-parse HEAD)
export SOURCE_DATE_EPOCH=0
export GIT_DIRTY=false
function ensure_build_metadata {
export GIT_COMMIT=$(git -C ../noir/noir-repo rev-parse HEAD)
export SOURCE_DATE_EPOCH=0
export GIT_DIRTY=false
}
export RUSTFLAGS="-Dwarnings"

function build_native {
echo_header "avm-transpiler build_native"
local hash=$(get_hash)
artifact=avm-transpiler-$hash.tar.gz
if ! cache_download $artifact; then
ensure_build_metadata
# Serialize cargo/rustup operations to avoid race conditions with noir build
# which may run in parallel and share the same RUSTUP_HOME/CARGO_HOME.
(
flock -x 200
denoise "cargo build --release --locked --bin avm-transpiler"
denoise "cargo build --release --locked --lib"
denoise "cargo build --release --locked --bin avm-transpiler --lib"
) 200>/tmp/rustup.lock

denoise "cargo fmt --check"
denoise "cargo clippy"
denoise "cargo clippy --release --locked --bin avm-transpiler --lib"
cache_upload $artifact target/release/avm-transpiler target/release/libavm_transpiler.a
fi
}
Expand All @@ -36,8 +56,10 @@ function build_cross {
local target=$1
echo_header "avm-transpiler build_cross $target"

local hash=$(get_hash)
cross_compile_artifact=avm-transpiler-cross-$target-$hash.tar.gz
if ! cache_download $cross_compile_artifact; then
ensure_build_metadata
# We build libraries to be linked by barretenberg
# For now we only use the zig build for macOS targets

Expand Down Expand Up @@ -95,7 +117,7 @@ case "$cmd" in
build
;;
"hash")
echo $hash
get_hash
;;
*)
default_cmd_handler "$@"
Expand Down
59 changes: 51 additions & 8 deletions aztec-up/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
#!/usr/bin/env bash
source $(git rev-parse --show-toplevel)/ci3/source_bootstrap
if [ "${1:-}" = "hash" ] && [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
exit 0
fi

script_dir=${BASH_SOURCE[0]%/*}
[ "$script_dir" = "${BASH_SOURCE[0]}" ] && script_dir=.
case "$script_dir" in
/*) root=${root:-$script_dir/..} ;;
*) root=${root:-$PWD/$script_dir/..} ;;
esac
source "$root/ci3/source_bootstrap"

function get_hash {
if [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
return
fi

hash_str $(cache_content_hash ^aztec-up/) $(../yarn-project/bootstrap.sh hash)
}

hash=$(hash_str $(cache_content_hash ^aztec-up/) $(../yarn-project/bootstrap.sh hash))
function get_test_hash {
if [ "${NO_CACHE:-0}" -eq 1 ]; then
echo disabled-cache
else
get_hash
fi
}

function cache_upload_will_skip {
local artifact=$1
[[ "$artifact" == *"disabled-cache"* ]] || [[ -z "${S3_FORCE_UPLOAD:-}" && "${CI:-0}" -eq 0 ]] || [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]
}

# Bare aliases ("nightly", "latest") resolve to this major version.
DEFAULT_MAJOR_VERSION=${AZTEC_TOOLCHAIN_DEFAULT_MAJOR_VERSION:-4}
Expand Down Expand Up @@ -51,16 +82,23 @@ EOF
export PATH="/tmp/verdaccio-pkg/bin:$PATH"
fi

local hash=$(get_hash)
local base_hash=$(cache_content_hash ^aztec-up/Dockerfile.base)
if ! cache_download aztec-up-test-base-image-$base_hash.zst; then
local base_artifact=aztec-up-test-base-image-$base_hash.zst
if ! cache_download $base_artifact; then
docker build -t aztecprotocol/aztec-up-test-base -f Dockerfile.base .
docker save aztecprotocol/aztec-up-test-base:latest > aztec-up-test-base-image
cache_upload aztec-up-test-base-image-$base_hash.zst aztec-up-test-base-image
if cache_upload_will_skip "$base_artifact"; then
cache_upload "$base_artifact" .
else
docker save aztecprotocol/aztec-up-test-base:latest > aztec-up-test-base-image
cache_upload "$base_artifact" aztec-up-test-base-image
fi
else
docker load < aztec-up-test-base-image
fi

if ! cache_download aztec-up-test-image-$hash.zst; then
local test_artifact=aztec-up-test-image-$hash.zst
if ! cache_download $test_artifact; then
rm -rf verdaccio-storage
verdaccio --config /tmp/verdaccio-config.yaml --listen 4873 &>/dev/null &
verdaccio_pid=$!
Expand Down Expand Up @@ -97,15 +135,20 @@ EOF
rm -rf /tmp/npm-prime

docker build -t aztecprotocol/aztec-up-test .
docker save aztecprotocol/aztec-up-test:latest > aztec-up-test-image

cache_upload aztec-up-test-image-$hash.zst aztec-up-test-image
if cache_upload_will_skip "$test_artifact"; then
cache_upload "$test_artifact" .
else
docker save aztecprotocol/aztec-up-test:latest > aztec-up-test-image
cache_upload "$test_artifact" aztec-up-test-image
fi
else
docker load < aztec-up-test-image
fi
}

function test_cmds {
local hash=$(get_test_hash)
for test in amm_flow bridge_and_claim basic_install counter_contract default_scaffold no_shadow_user_bins; do
echo "$hash:TIMEOUT=15m aztec-up/scripts/run_test.sh $test"
done
Expand Down
76 changes: 56 additions & 20 deletions barretenberg/acir_tests/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,25 +1,58 @@
#!/usr/bin/env bash
source $(git rev-parse --show-toplevel)/ci3/source_bootstrap
if [ "${1:-}" = "hash" ] && [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
exit 0
fi

script_dir=${BASH_SOURCE[0]%/*}
[ "$script_dir" = "${BASH_SOURCE[0]}" ] && script_dir=.
case "$script_dir" in
/*) root=${root:-$script_dir/../..} ;;
*) root=${root:-$PWD/$script_dir/../..} ;;
esac
source "$root/ci3/source_bootstrap"

export CRS_PATH=$HOME/.bb-crs
export RAYON_NUM_THREADS=1

tests_tar=barretenberg-acir-tests-$(hash_str \
$(../../noir/bootstrap.sh hash) \
$(cache_content_hash \
./.rebuild_patterns \
../cpp/.rebuild_patterns \
../noir/ \
)).tar.gz

tests_hash=$(hash_str \
$(../../noir/bootstrap.sh hash) \
$(../cpp/bootstrap.sh hash) \
$(cache_content_hash \
^barretenberg/acir_tests/ \
./.rebuild_patterns \
../ts/.rebuild_patterns \
../noir/))
function get_tests_tar {
if [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo "barretenberg-acir-tests-disabled-cache.tar.gz"
return
fi

echo "barretenberg-acir-tests-$(hash_str \
$(../../noir/bootstrap.sh hash) \
$(cache_content_hash \
./.rebuild_patterns \
../cpp/.rebuild_patterns \
../noir/ \
)).tar.gz"
}

function get_tests_hash {
if [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
return
fi

hash_str \
$(../../noir/bootstrap.sh hash) \
$(../cpp/bootstrap.sh hash) \
$(cache_content_hash \
^barretenberg/acir_tests/ \
./.rebuild_patterns \
../ts/.rebuild_patterns \
../noir/)
}

function get_test_hash {
if [ "${NO_CACHE:-0}" -eq 1 ]; then
echo disabled-cache
else
get_tests_hash
fi
}

# Generate inputs for a given recursively verifying program.
function run_proof_generation {
Expand Down Expand Up @@ -100,6 +133,7 @@ function compile {
function build {
echo_header "acir_tests build"

local tests_tar=$(get_tests_tar)
if ! cache_download $tests_tar; then
rm -rf acir_tests
denoise "cd ../../noir/noir-repo/test_programs/execution_success && git clean -fdx"
Expand Down Expand Up @@ -135,12 +169,14 @@ function test {
# Paths are all relative to the repository root.
# this function is used to generate the commands for running the tests.
function test_cmds {
local tests_hash=$(get_test_hash)

# NOTE: chonk commands are tested in yarn-project/end-to-end bench due to circular dependencies.
# Locally, you can do ./bootstrap.sh bench_ivc to run the 'tests' (benches with validation)

# non_recursive_tests include all of the non recursive test programs
local non_recursive_tests=$(find ./acir_tests -maxdepth 1 -mindepth 1 -type d | \
grep -vE 'verify_honk_proof|verify_honk_zk_proof|verify_rollup_honk_proof|double_verify_root_rollup_honk_proof')
local non_recursive_tests=$(find ./acir_tests -maxdepth 1 -mindepth 1 -type d 2>/dev/null | \
grep -vE 'verify_honk_proof|verify_honk_zk_proof|verify_rollup_honk_proof|double_verify_root_rollup_honk_proof' || true)
local scripts=$(realpath --relative-to=$root scripts)

local sol_prefix="$tests_hash:ISOLATE=1"
Expand Down Expand Up @@ -231,7 +267,7 @@ case "$cmd" in
build
;;
"hash")
echo $tests_hash
get_tests_hash
;;
*)
default_cmd_handler "$@"
Expand Down
26 changes: 23 additions & 3 deletions barretenberg/bbup/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
#!/usr/bin/env bash
source $(git rev-parse --show-toplevel)/ci3/source_bootstrap
if [ "${1:-}" = "hash" ] && [ "${NO_CACHE:-0}" -eq 1 ] && [ "${NO_CACHE_UPLOAD:-0}" -eq 1 ]; then
echo disabled-cache
exit 0
fi

export hash=$(cache_content_hash .rebuild_patterns)
script_dir=${BASH_SOURCE[0]%/*}
[ "$script_dir" = "${BASH_SOURCE[0]}" ] && script_dir=.
case "$script_dir" in
/*) root=${root:-$script_dir/../..} ;;
*) root=${root:-$PWD/$script_dir/../..} ;;
esac
source "$root/ci3/source_bootstrap"

function get_hash {
cache_content_hash .rebuild_patterns
}

# Print every individual test command. Can be fed into gnu parallel.
# Paths are relative to repo root.
# We append the hash as a comment. This ensures the test harness and cache and skip future runs.
function test_cmds {
local hash
if [ "${NO_CACHE:-0}" -eq 1 ]; then
hash=disabled-cache
else
hash=$(get_hash)
fi

if [ $(arch) == "amd64" ]; then
echo -e "$hash barretenberg/bbup/run_test.sh 0.72.1"
fi
Expand All @@ -21,7 +41,7 @@ function test {

case "$cmd" in
"hash")
echo $hash
get_hash
;;
*)
default_cmd_handler "$@"
Expand Down
Loading
Loading