Skip to content

fix(labs): record the labs submodule in barretenberg/sol/foundry.lock and keep both locks in step with bumps - #25347

Open
ludamad wants to merge 6 commits into
ad/bb-npm-binariesfrom
ad/foundry-lock-labs
Open

fix(labs): record the labs submodule in barretenberg/sol/foundry.lock and keep both locks in step with bumps#25347
ludamad wants to merge 6 commits into
ad/bb-npm-binariesfrom
ad/foundry-lock-labs

Conversation

@ludamad

@ludamad ludamad commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

forge records every git submodule of the repository in each foundry.lock and rewrites a rev that does not match the gitlink; under CI=1 that is "changes to rebuild patterns". l1-contracts/foundry.lock has had a ../labs entry since #25306; barretenberg/sol/foundry.lock never got one, so bb-sol-tests fails whenever it really runs — the private release run on aztec-packages-private#714 hit it; public runs had been served from the test cache.

… and keep both locks in step with bumps

forge records every submodule of the repository in each foundry.lock and
rewrites a rev that does not match the gitlink, which CI reports as a change to
a rebuild pattern. l1-contracts/foundry.lock got its labs entry with the
submodule; barretenberg/sol/foundry.lock did not, and bb-sol-tests now fails
whenever it actually runs (the private release run hit it; public runs had
been served from the test cache).

Adds the entry, and makes `labs-patches/bootstrap.sh bump` rewrite the labs rev
in every foundry.lock that records it, so a pin move cannot leave a lock
behind. Lifecycle test covers the sync.
@ludamad
ludamad changed the base branch from ad/bb-npm-binaries to next September 1, 2026 00:36
@ludamad
ludamad requested a review from charlielye as a code owner September 1, 2026 00:36
@ludamad
ludamad changed the base branch from next to ad/bb-npm-binaries September 1, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant