Skip to content

fix(bb): refresh pinned Chonk inputs to unbreak nightly debug build --ci-refresh-chonk#23918

Draft
AztecBot wants to merge 2 commits into
nextfrom
cb/refresh-chonk-inputs-debug-nightly
Draft

fix(bb): refresh pinned Chonk inputs to unbreak nightly debug build --ci-refresh-chonk#23918
AztecBot wants to merge 2 commits into
nextfrom
cb/refresh-chonk-inputs-debug-nightly

Conversation

@AztecBot

@AztecBot AztecBot commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Problem

The Nightly Debug Build has been failing on next. The single failing test is bbapi_tests ChonkPinnedIvcInputsTest.AllPinnedFlows, which aborts on a debug-only assertion during the in-prover sanity-check verify:

HypernovaFoldingVerifier: Failed to recursively verify Sumcheck ...
Assertion failed: (kernel_return_data_match)
Reason: kernel_return_data mismatch: proof contains
  { 0x183227397098d014dc2822db40c0ac2ecbc0b548b438e5469e10460b6c3e7ea4, 0x0 }
but kernel_calldata commitment is { 0x1, 0x2 }

(Chonk::process_public_inputs_and_consistency_checks, barretenberg/cpp/src/barretenberg/chonk/chonk.cpp:169, guarded by BB_ASSERT_DEBUG.)

Why only the nightly debug build catches it

  • The databus-continuity check is BB_ASSERT_DEBUG (and the accompanying debug_incoming_circuit VK comparison is verbose-only), so it is compiled out of release builds. Regular release CI — which runs the same ChonkPinnedIvcInputsTest.AllPinnedFlows test (barretenberg/cpp/bootstrap.sh:276) — stays green. Only the debug nightly trips the assert.
  • The proof itself is valid; this is not a proving-correctness regression on next.

Root cause: stale pinned inputs

Fix

Refresh the pinned Chonk inputs. This PR carries the ci-refresh-chonk label and the --ci-refresh-chonk head-commit marker. CI regenerates the inputs from current next, uploads the new tarball, and pushes the updated barretenberg/cpp/scripts/chonk-inputs.hash. The 0000000000000000 value here is the sentinel that the refresh post-action overwrites.

Important

The ci-refresh-chonk refresh only runs on a non-draft pull_request. claudebox opens PRs as drafts, so a maintainer must mark this PR Ready for review for the refresh CI to run. This is exactly why the earlier attempt #23792 never completed — it sat as a draft for 4 days (no ci workflow ever ran on it) while its base went stale.

Supersedes #23792 (opened against the 2026-06-02 next, now 4 days behind).


Created by claudebox · group: slackbot

Generated by ci-refresh-chonk.

Only the pinned Chonk input hash is committed here; the immediate follow-up CI run is skipped intentionally.

--ci-skip
@AztecBot

AztecBot commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator Author

Pinned Chonk inputs refreshed to bf3e35241d1945ae. The update commit includes a head-commit --ci-skip marker so the automatic follow-up run does not repeat CI.

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