From b84a544a6459195b9e92950e9311d29c8d75135f Mon Sep 17 00:00:00 2001 From: AztecBot Date: Sun, 14 Jun 2026 05:08:14 +0000 Subject: [PATCH 1/2] fix: relax AVM check-circuit input timeout --- yarn-project/end-to-end/bootstrap.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 011679338e8f..04c207114f89 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -198,11 +198,10 @@ 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. Some generated traces are large enough that + # check-circuit can exceed 30s under the default 2-CPU isolated CI quota. + local timeout="${AVM_CHECK_CIRCUIT_TIMEOUT:-60s}" + 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 From 0713a8d1d3d1d1ddcfd36f9e996283b65c8e91bb Mon Sep 17 00:00:00 2001 From: AztecBot Date: Sun, 14 Jun 2026 05:09:55 +0000 Subject: [PATCH 2/2] update PR #23662 --- 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 04c207114f89..2c03314b71c8 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -198,9 +198,10 @@ 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. Some generated traces are large enough that - # check-circuit can exceed 30s under the default 2-CPU isolated CI quota. - local timeout="${AVM_CHECK_CIRCUIT_TIMEOUT:-60s}" + # 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)