From 58590db2f21edc69d0376b3f8a465e2197cf17be Mon Sep 17 00:00:00 2001 From: AztecBot Date: Sat, 30 May 2026 06:14:53 +0000 Subject: [PATCH] fix(ci): raise avm_check_circuit per-check timeout from 30s to 300s --- yarn-project/end-to-end/bootstrap.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 011679338e8f..9c270f3eef68 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -198,11 +198,13 @@ 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. 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" + # Specify timeout and resources. + # WARNING: transactions could need more CPU and MEM than we allocate by default, in which case they + # start timing out. Because parallelize runs with --halt now,fail=1, a single check that exceeds the + # timeout aborts the entire job (exit 124) even though the circuit itself is valid. The per-check cost + # has grown well past the original 30s as the AVM has gained columns/relations, so give checks ample + # headroom while still bounding a genuinely stuck input. + local prefix="$hash:ISOLATE=1:TIMEOUT=300s" # 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