chore(nightly): bump @aztec/* to v5.2.0-nightly.20260813 - #141
Draft
AztecBot wants to merge 1 commit into
Draft
Conversation
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.
Nightly bump
Bumps
@aztec/*fromv5.2.0-nightly.20260806→v5.2.0-nightly.20260813.node scripts/update.js(package.json pins,Nargo.tomldeps,.aztecrc,yarn.lock, recompiled contracts).Local verification
yarn format:fixyarn buildyarn testThe bump itself is healthy — no migration fixes were required, and no source changes accompany it.
However, the test run above only passes with a local workaround applied outside this repo. See below.
snappy@7.4.0breaksaztec start --local-networkOut of the box,
yarn testfails in e2eglobalSetup:The underlying CLI error:
Root cause (upstream packaging bug)
snappy@7.4.0was published 2026-08-12T13:36Z. Its publishedindex.jsis the wasm build, which unconditionally doesimport * as s from "@napi-rs/snappy-wasm32-wasi"— but7.4.0dropped that package from itsoptionalDependencies, so it is never installed. Everyrequire('snappy')throws.@aztec/p2pand@aztec/blob-clientdepend onsnappy: "^7.2.2", which floats to7.4.0.aztec-upinstalls the CLI bundle without a lockfile, so a fresh install picks up the broken version. (This repo's ownyarn.lockpinssnappy@7.3.3and is unaffected.)The fix exists — but missed this nightly by one commit
aztec-packages#25195 ("fix: pin snappy to 7.2.2") is the correct fix: it pins
snappyto an exact7.2.2in@aztec/p2p,@aztec/blob-clientand@aztec/end-to-end. Pinning the published manifest range is the right lever, sinceaztec-updoes an unlockednpm install.It has landed on both
nextandv5-next. But it did not make it into today's v5 nightly:v5.2.0-nightly.20260813points at commit51a8cd76.51a8cd76is the first parent of the currentv5-nextheadcae5a73c(merge-train/spartan-v5, #25156), merged at 03:44Z — and that merge is what carried the pin ontov5-next.v5-next, yet from a commit before it.Verified against the published artifacts, not just the source:
snappyrangenexthead7.2.2✅v5-nexthead (cae5a73c)7.2.2✅51a8cd76^7.2.2❌@aztec/p2p@5.2.0-nightly.20260813tarball^7.2.2❌So the published
20260813packages still float to the brokensnappy@7.4.0, and a freshaztec-upinstall of this version is still broken.Local workaround used to obtain the green run
Applied to the CLI bundle only — not committed:
The native binding loads and round-trips fine; only the wasm fallback path is broken. (Installing the missing
@napi-rs/snappy-wasm32-wasiinstead does not work — its wasm runtime then fails withthis.bridge.setLastError is not a function.)Recommendation
No change is needed in this repo. Since
v5-nextalready carries the pin, the20260814nightly should publishsnappy@7.2.2and be green without any workaround. Suggest holding this PR as draft and letting tomorrow's bump supersede it, rather than merging a version whose CLI cannot start a local network.Created by claudebox · group:
aztec-kit-nightly· Slack thread