refactor(bb.js): migrate to ipc-codegen + ipc-runtime; delete legacy bb::ipc#23614
Open
charlielye wants to merge 1 commit into
Open
refactor(bb.js): migrate to ipc-codegen + ipc-runtime; delete legacy bb::ipc#23614charlielye wants to merge 1 commit into
charlielye wants to merge 1 commit into
Conversation
e77abcf to
7e96565
Compare
adf973a to
322ce16
Compare
7e96565 to
1613aa0
Compare
322ce16 to
bb33f70
Compare
1613aa0 to
c0dc6a8
Compare
bb33f70 to
2939fdd
Compare
c0dc6a8 to
fc07715
Compare
2939fdd to
1a1a5f0
Compare
fc07715 to
be7439e
Compare
1a1a5f0 to
65e30ae
Compare
be7439e to
e456007
Compare
65e30ae to
e987100
Compare
e456007 to
9f87d9a
Compare
e987100 to
f3033da
Compare
9f87d9a to
bfa811c
Compare
f3033da to
85cb574
Compare
bfa811c to
9cccf57
Compare
85cb574 to
bc488ca
Compare
9cccf57 to
c3680bc
Compare
bc488ca to
d03e182
Compare
c3680bc to
85fcd4a
Compare
d03e182 to
4bf8968
Compare
85fcd4a to
e59398e
Compare
6309d01 to
787e9bc
Compare
This was referenced May 29, 2026
6f36fc6 to
bbd6798
Compare
27b99b0 to
4fecf96
Compare
bbd6798 to
85a65a3
Compare
4fecf96 to
84a8115
Compare
85a65a3 to
477ed98
Compare
84a8115 to
8b8659f
Compare
477ed98 to
8d038fc
Compare
a44b53a to
ef805f7
Compare
ae6194d to
e45e326
Compare
ef805f7 to
a7bef44
Compare
e45e326 to
1cf9cb1
Compare
a7bef44 to
dd6ff04
Compare
1cf9cb1 to
0bd0310
Compare
This was referenced Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates bb.js and the remaining NAPI IPC substrate to the shared runtime, then removes the legacy
bb::ipctransport.This is the final bb-side migration PR before the AVM/wsdb cutover PRs.
Stack
cl/ipc-foundationcl/ipc-wsdb-migratecl/ipc-bb-migratecl/ipc-bb-rs-migratecl/ipc-bb-js-migrate— this PRcl/ipc-3-avm-wsdb-cutovercl/ipc-4-avm-binarycl/ipc-5-avm-cutoverWhat changes
@aztec/ipc-runtimeinstead of local hand-written socket code.@aztec/ipc-runtimeNAPI SHM bindings instead of the old NAPI msgpack client wrapper.nodejs_module/msgpack_clientC++ wrapper/async client implementation.barretenberg/cpp/src/barretenberg/ipc/library once all consumers have moved toipc_runtime.BBApiException.bb.jspackage binary resolution on the arch-package model introduced in refactor(bbapi): migrate bb binary to ipc-codegen + ipc-runtime #23612.End state after this PR
ipc_runtime.bb::ipcimplementation is gone.Validation
barretenberg/tsESM/CJS build../bootstrap.shpassed on this branch during stack validation after cleaning stale local CMake state that had cachedAVM=OFF.