Skip to content

fix(ci): repair nightly barretenberg debug build failures#24766

Draft
AztecBot wants to merge 1 commit into
nextfrom
cb/fix-nightly-bb-debug-build
Draft

fix(ci): repair nightly barretenberg debug build failures#24766
AztecBot wants to merge 1 commit into
nextfrom
cb/fix-nightly-bb-debug-build

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

Summary

The nightly barretenberg debug build exposed two debug-only/CI bootstrap failures:

  • redis_setexz piped through gzip even when Redis was unavailable. In the stale aztec-claude scheduled run this made gzip hit SIGPIPE before EC2 bootstrap could start.
  • AcirComponentsCheckTest.DetectsUnconstrainedWitnesses simulated a missing witness by shrinking builder.real_variable_index, leaving synthesized gates with out-of-range witness references. Debug STL caught this as an out-of-bounds vector access and aborted the public nightly debug run.

This PR makes Redis writes no-op safely when Redis is unavailable, keeps persistent log upload flowing to S3, and changes the ACIR components test corruption to remove the witness from synthesized wires without invalidating the builder's index vectors.

Verification

  • bash -n ci3/source_redis ci3/source_cache
  • git diff --check
  • bash -c 'set -euo pipefail; export CI=1 CI_REDIS=127.0.0.1 CI_REDIS_AVAILABLE=0 DASHBOARD_URL=http://ci.aztec-labs.com; source ci3/source_redis; echo "CI booting..." | redis_setexz test-key 300; echo redis_setexz_ok'
  • bash -c 'set -euo pipefail; export CI=1 CI_REDIS=127.0.0.1 CI_REDIS_AVAILABLE=0 DASHBOARD_URL=http://ci.aztec-labs.com CI_REDIS_EXPIRE=1; source ci3/source_redis; source ci3/source_cache; printf final-log | cache_persistent test-key 1; echo cache_persistent_ok'
  • cmake --build --preset debug --target acir_components_check_tests && ./build-debug/bin/acir_components_check_tests --gtest_filter=AcirComponentsCheckTest.DetectsUnconstrainedWitnesses
  • ./build-debug/bin/acir_components_check_tests

Created by claudebox · group: slackbot

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jul 17, 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. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure 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