Skip to content

fix: increase test timeout for heavy recursion tests in debug build#22427

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

fix: increase test timeout for heavy recursion tests in debug build#22427
AztecBot wants to merge 1 commit intonextfrom
claudebox/fix-bb-debug-build-v2

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented Apr 9, 2026

Summary

Fixes nightly barretenberg debug build which has been failing for 6+ consecutive days due to test timeouts.

Root cause: HonkRecursionConstraintTest and ChonkRecursionConstraintTest suites routinely take 400-600s in debug builds, hitting the 600s default timeout (exit code 124).

Fix:

  • Bump timeout from 600s to 900s for HonkRecursionConstraintTest and ChonkRecursionConstraintTest suites
  • Add ChonkRecursionConstraintTest to the CPUS=4:MEM=8g resource group

This is an exact cherry-pick of the fix from PR #22347 (already merged to merge-train/barretenberg) applied directly to next to unblock the nightly. The merge-train PR #22363 is stuck in the merge queue with an unrelated failure, so this provides the fix directly.

Failed nightly runs: April 4-8+, most recent: https://github.com/AztecProtocol/aztec-packages/actions/runs/24119811872

ClaudeBox log: https://claudebox.work/s/0520bf08445a07bb?run=1

HonkRecursionConstraintTest and ChonkRecursionConstraintTest routinely take
400-600s in debug builds, hitting the 600s default timeout. Bump to 900s.
Also add ChonkRecursionConstraintTest to the CPUS=4:MEM=8g resource group.

This is a direct cherry-pick of the fix from PR #22347 (already on
merge-train/barretenberg) to unblock the nightly debug build which has
been failing for 6+ consecutive days.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 9, 2026
ludamad pushed a commit that referenced this pull request Apr 9, 2026
## Summary
Instead of bumping timeouts for slow tests in debug mode, skip them
entirely.

`HonkRecursionConstraintTest` and `ChonkRecursionConstraintTest` take
400-600s in debug builds, hitting the 600s default timeout. These are
heavy recursion constraint tests that build full recursive circuits —
the same code paths are already exercised (with debug assertions) by
faster tests in the suite.

This replaces the timeout-bump approach from PR #22347 with Adam's
suggestion to be selective about what runs in debug mode.

Supersedes #22427

ClaudeBox log: https://claudebox.work/s/c3fd56d2f55c879c?run=2
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.

2 participants