Rolling integration PR for changes labelled `port-to-v6` on `next`. Each
merged source PR is cherry-picked onto `cb/port-to-v6` as its own
commit, keeping `(#N)` in the title.
## Ported
- [x]
[#25547](https://github.com/AztecProtocol/aztec-packages/pull/25547)
fix: raise playground chunk size limit to 5350 KB (clean pick)
- [x]
[#25543](https://github.com/AztecProtocol/aztec-packages/pull/25543)
fix(acir_tests): refresh yarn.lock for bb.js's proper-lockfile
dependency (clean pick; not labelled, pulled in because `v6` is red
without it)
## v6-only
- [x] test(labs): skip mainnet compatibility and pin testnet
compatibility to v6. Decided in #backports by Santiago: mainnet isn't
deployed yet; testnet is deployed from `v6` and will be redeployed from
it later.
- `labs-patches/test_cmd_skip` drops
`aztec/src/mainnet_compatibility.test.ts` from the labs test commands
collected here.
- New labs patch `0009` re-pins `testnet_compatibility.test.ts` to what
`v6` builds:
- VK tree root
`0x2d89003cc2dc62b06f07d83d3635c66c63fc43668369d30e7ee516f908ee10e3`
- protocol contracts hash
`0x0030cdae9792549b9edb5b865f4e10e91bb87565f22ab80d405213f7e991b378`
- both taken from this PR's failing CI run on `347da12`
- The historical genesis root already matched and is unchanged.
## Notes
- #25547 adds
`labs-patches/0008-fix-raise-playground-chunk-size-limit-to-5350-KB.patch`.
The context it patches (`playground/vite.config.ts`, general `maxSizeKB:
5300`) matches `v6`'s Labs pin `54e3383`, so the series applies there.
- `v6` carries 741955ef791 (bb.js depends on `proper-lockfile`) but not
the matching `barretenberg/acir_tests/yarn.lock` refresh, so `yarn
install --immutable` in `bb-acir` fails with YN0028 on any PR into `v6`.
#25543 is that refresh from `next`.
- The compat tests only run for release-line targets (`v6`, `v6-next`,
`backport-to-v6-*`), never on `next`. So any later breaking
protocol/kernel change ported to `v6` has to re-pin testnet in the same
PR.
- The private counterpart, which skips both tests in
`aztec-packages-private`, is AztecProtocol/aztec-packages-private#907.
## Testing
- `./labs-patches/bootstrap.sh check`: the series (0008, 0009) applies
cleanly to `54e3383c4b`.
- `scripts/labs_env.sh` + `labs/ci3/prefix_test_cmds` drop the mainnet
command and keep the testnet one.
- The testnet test itself runs on this PR's CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
*Created by
[claudebox](https://claudebox.work/v2/sessions/134efca9a11ee14f/jobs/1)
· group: `slackbot` · [Slack
thread](https://aztecprotocol.slack.com/archives/C0AGN2WT3CP/p1790609320989739?thread_ts=1790609320.989739&cid=C0AGN2WT3CP)*