From c2b5db9805b60bc0d5f7cc184e6cf45de7c98ef0 Mon Sep 17 00:00:00 2001 From: AztecBot Date: Tue, 16 Jun 2026 16:06:35 +0000 Subject: [PATCH] fix(ci): raise AVM check-circuit per-tx timeout to 120s --- yarn-project/end-to-end/bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 011679338e8f..2c03314b71c8 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -198,11 +198,11 @@ 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. + # Most e2e test txs are small and check-circuit on them finishes in a few seconds, but heavier txs + # can need noticeably more time under the default 2-CPU isolated CI quota. + 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