From 1c8836496f33f99b7a062e129b721919ab3fc179 Mon Sep 17 00:00:00 2001 From: AztecBot Date: Fri, 26 Jun 2026 12:44:08 +0000 Subject: [PATCH 1/2] fix(ci): raise AVM check-circuit per-tx timeout to 60s --- yarn-project/end-to-end/bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 011679338e8f..2a4b075701ed 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -200,9 +200,10 @@ function avm_check_circuit_cmds { # Specify timeout and resources # WARNING: theoretically, transactions could need more CPU and MEM than we allocate by default. - # In that case, they might start timing out. For now, all of the e2e test txs seem to be relatively - # small and the AVM can run check-circuit with limited resources. - local prefix="$hash:ISOLATE=1:TIMEOUT=30s" + # In that case, they might start timing out. The heaviest e2e txs (e.g. e2e_multiple_blobs, which + # writes enough public data to fill multiple blobs) produce long AVM traces whose check-circuit run + # sits close to this timeout, so keep enough headroom for them plus parallel-runner contention. + local prefix="$hash:ISOLATE=1:TIMEOUT=60s" # Find all .bin files in the dump directory (handles nested dirs) for input_file in "$default_avm_inputs_dump_dir"/*/*.bin "$default_avm_inputs_dump_dir"/*/*/*.bin; do From f3c41c1d24418dd9a16bf7b2a58229941a198b49 Mon Sep 17 00:00:00 2001 From: AztecBot Date: Fri, 26 Jun 2026 12:47:02 +0000 Subject: [PATCH 2/2] fix(ci): raise AVM check-circuit per-tx timeout to 120s (configurable) --- yarn-project/end-to-end/bootstrap.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 2a4b075701ed..1cd1fc7f07de 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -198,12 +198,14 @@ function avm_check_circuit_cmds { # Commands run from repo root via parallelize, so use path from top local dump_dir_from_top="yarn-project/end-to-end/$default_avm_inputs_dump_dir" - # Specify timeout and resources - # WARNING: theoretically, transactions could need more CPU and MEM than we allocate by default. - # In that case, they might start timing out. The heaviest e2e txs (e.g. e2e_multiple_blobs, which - # writes enough public data to fill multiple blobs) produce long AVM traces whose check-circuit run - # sits close to this timeout, so keep enough headroom for them plus parallel-runner contention. - local prefix="$hash:ISOLATE=1:TIMEOUT=60s" + # Specify timeout and resources. + # WARNING: transactions need more CPU and MEM than we allocate by default. Most e2e test txs run + # check-circuit in well under 10s, but the heaviest ones (e.g. e2e_multiple_blobs, which emits more + # than a blob's worth of public data and produces an AVM trace of ~700k rows) take ~35s under the + # default 2-CPU isolated CI quota and were exceeding a 30s budget, failing the whole job. The + # default below gives those comfortable headroom; override via AVM_CHECK_CIRCUIT_TIMEOUT if needed. + local timeout="${AVM_CHECK_CIRCUIT_TIMEOUT:-120s}" + local prefix="$hash:ISOLATE=1:TIMEOUT=$timeout" # Find all .bin files in the dump directory (handles nested dirs) for input_file in "$default_avm_inputs_dump_dir"/*/*.bin "$default_avm_inputs_dump_dir"/*/*/*.bin; do