Skip to content

feat(wasm-bench): BrowserStack Chonk bench as a ci3 job#23433

Draft
AztecBot wants to merge 1 commit into
nextfrom
cb/f3dd05c67170
Draft

feat(wasm-bench): BrowserStack Chonk bench as a ci3 job#23433
AztecBot wants to merge 1 commit into
nextfrom
cb/f3dd05c67170

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

Summary

Adds a BrowserStack-backed wasm-bench CI3 mode for Chonk proving through the standard bbapi wasm path. The CI setup downloads the pinned Chonk inputs early, builds barretenberg.wasm.gz, runs the BrowserStack matrix, and publishes wasm-bench artifacts.

This is a public port of the private PR AztecProtocol/aztec-packages-private#92. The pinned-Chonk-input refresh it was stacked on is already present on public next (barretenberg/cpp/scripts/chonk_inputs.sh), so only the wasm-bench delta is ported here.

Port mechanics

  • Generated as the base..head delta of the private PR (45 files, matching the source PR's changed-file set) and applied onto next with a 3-way merge.
  • The modifications to bootstrap.sh / ci.sh were re-applied on top of the current public next versions (those files had diverged from the private base), so the result is public next + PR hunks, not a blind blob copy. The new wasm-bench files (including yarn.lock) are byte-identical to the source.

Verification (in this checkout)

  • bash -n bootstrap.sh ci.sh .github/ci3_labels_to_env.sh barretenberg/wasm-bench/bootstrap.sh barretenberg/wasm-bench/scripts/run-ci-bench.sh barretenberg/wasm-bench/scripts/upload-rkapp-artifacts.sh -> OK
  • git diff --check -> clean (no whitespace errors)
  • Patch applied with 0 reject files; barretenberg/wasm-bench/yarn.lock sha256 matches the source PR head
  • bootstrap.sh ci-wasm-bench mode and ci.sh wasm-bench / gh-wasm-bench-artifacts cases confirmed present

To run the matrix in CI, add the ci-wasm-bench label (requires BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY in the remote env). Original private run: passed in 13m59s across 8 targets.


Created by claudebox · group: slackbot

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label May 20, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​webpack@​5.106.2761009395100
Addednpm/​webpack-cli@​5.1.49610010087100
Addednpm/​ts-loader@​9.5.79810010087100
Addednpm/​html-webpack-plugin@​5.6.79810010089100
Addednpm/​msgpackr@​1.11.129810010092100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant