feat(wasm-bench): BrowserStack Chonk bench as a ci3 job#23433
Draft
AztecBot wants to merge 1 commit into
Draft
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Summary
Adds a BrowserStack-backed
wasm-benchCI3 mode for Chonk proving through the standard bbapi wasm path. The CI setup downloads the pinned Chonk inputs early, buildsbarretenberg.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 publicnext(barretenberg/cpp/scripts/chonk_inputs.sh), so only the wasm-bench delta is ported here.Port mechanics
base..headdelta of the private PR (45 files, matching the source PR's changed-file set) and applied ontonextwith a 3-way merge.bootstrap.sh/ci.shwere re-applied on top of the current publicnextversions (those files had diverged from the private base), so the result ispublic next + PR hunks, not a blind blob copy. The new wasm-bench files (includingyarn.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-> OKgit diff --check-> clean (no whitespace errors)barretenberg/wasm-bench/yarn.locksha256 matches the source PR headbootstrap.shci-wasm-benchmode andci.shwasm-bench/gh-wasm-bench-artifactscases confirmed presentTo run the matrix in CI, add the
ci-wasm-benchlabel (requiresBROWSERSTACK_USERNAME/BROWSERSTACK_ACCESS_KEYin the remote env). Original private run: passed in 13m59s across 8 targets.Created by claudebox · group:
slackbot