Skip to content

fix: skip heavy recursion tests in nightly debug builds#22488

Draft
AztecBot wants to merge 1 commit intonextfrom
claudebox/fix-bb-debug-build
Draft

fix: skip heavy recursion tests in nightly debug builds#22488
AztecBot wants to merge 1 commit intonextfrom
claudebox/fix-bb-debug-build

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

Summary

Fixes nightly barretenberg debug build failure that has been failing consecutively since April 7.

Root cause: AvmRecursionInnerCircuitTests.Tampering (and other heavy recursion tests) from vm2_tests time out at 600s in debug builds. These tests take 400-600s each in unoptimized debug mode.

Fix: Skip HonkRecursionConstraintTest, ChonkRecursionConstraintTest, and AvmRecursionInnerCircuitTests suites in debug builds. Keep HonkRecursionConstraintTestWithoutPredicate/1.GenerateVKFromConstraints (241s) so the debug-only native_verification_debug code path in honk_recursion_constraint.cpp is still exercised.

Note: This same fix was merged via PR #22389 into merge-train/barretenberg on April 10, but the merge-train PR #22447 has not yet landed on next, so the nightly keeps failing. This PR applies the fix directly to next to unblock the nightly build immediately.

Test plan

  • Nightly debug build should pass once this lands — the skipped tests are the ones causing timeouts
  • Debug assertion coverage is maintained via the kept GenerateVKFromConstraints test

ClaudeBox log: https://claudebox.work/s/189fbaf3fe1adf3c?run=1

AvmRecursionInnerCircuitTests, HonkRecursionConstraintTest, and
ChonkRecursionConstraintTest take 400-600s each in debug mode, causing
nightly timeouts. Skip them but keep one test
(GenerateVKFromConstraints) to cover the debug-only
native_verification_debug code path.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant