Repository navigation
fix(release): build kvdb and wsdb cross binaries in the build phase, so staging only packages - #25920
Open
charlielye wants to merge 2 commits into
Open
charlielye wants to merge 2 commits into
charlielye wants to merge 2 commits into
Conversation
…so staging only packages Staging (bootstrap.sh release) recompiled in three projects: kvdb and wsdb rebuilt their host binary and cross-compiled the three other platforms inside their release step (151s for wsdb, with a full rebuild of the host binary the build had just made), and barretenberg/ts re-ran its packages' yarn install and tsc. - Makefile: kvdb-cross-<platform> and wsdb-cross-<platform> targets, like ipc-runtime-cross, in release-foundation. A package's cross builds run one at a time after its host build, since each configure writes into the source tree (kvdb runs yarn, wsdb regenerates its sources). - kvdb and wsdb release: package the binaries the build left and stage the tarballs. kvdb refuses when a platform's addon is missing, as prepare_arch_packages.sh would otherwise publish a stub. - barretenberg/ts release: adds every platform's binaries to the generated packages without recompiling them; the generated sources are the same as the build's. - The staging loop, and the private publish loop, run under one denoise instead of one per project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DSxF9AgGYcAcCTjXEeJT4L
This branch has not been deployed
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.
Last night's nightly (log) compiled during "stage release artifacts":
native-packages/wsdbnative-packages/kvdbbarretenberg/tsThe bb, avm-transpiler and ipc-runtime cross builds already ran in the build phase through Makefile targets. kvdb and wsdb had no such targets, so their
releasedid the compiling.Changes
kvdb-cross-<platform>andwsdb-cross-<platform>targets, likeipc-runtime-cross, added torelease-foundation. A package's cross builds run one at a time after its host build, because each configure writes into the source tree: kvdb runsyarn, and wsdb regenerates its sources.release: now only package the binaries the build left and stage the tarballs. kvdb refuses if a platform's addon is missing, becauseprepare_arch_packages.shwould otherwise stage an empty stub package for it.release: adds every platform's binaries to the generated packages without recompiling them. The generator writes the same sources for every-platform as for the host-only build; only the binaries differ. I checked this by diffing the generator's output. Regenerating also leaves the compileddest/in place.denoise: the staging loop, and the private publish loop, now run under onedenoiseinstead of one per project. The full log still has a--- <project> release ---header per project.Testing (local)
make kvdb-cross wsdb-cross: the host builds, then each package's 3 cross builds in order.dest/.denoiseloop runs every project in order and stops at the first failure with its exit code.Not included: the remaining
Unknown contentlines come from wsdb running@aztec-foundation/constants-codegenat itsfoundation.pin(v7.0.0-nightly.20260926.b), which predates #25917's parser fix. Bumping that pin is a separate decision.🤖 Generated with Claude Code
https://claude.ai/code/session_01DSxF9AgGYcAcCTjXEeJT4L