Repository navigation
ci(wasm-build): remove redundant unlocked build and correct budget unit (Fixes #862, #863) - #892
Closed
kleitonbernardino-lab wants to merge 1 commit into
Conversation
…it (Fixes MergeFi#862, MergeFi#863) Remove the duplicate cargo build invocation from the wasm-build job that ran without --locked after the size budget check. Also update step label and message to 250KiB to reflect the 256,000 bytes budget. Fixes MergeFi#862, MergeFi#863 Signed-off-by: Kleiton Bernardino <kleiton.bernardino@gmail.com>
|
@kleitonbernardino-lab is attempting to deploy a commit to the chonilius' projects Team on Vercel. A member of the Team first needs to authorize it. |
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
Fixes #862, #863.
In
.github/workflows/ci.yml, thewasm-buildjob previously executed:cargo build --target wasm32v1-none --release --locked256000bytes)cargo build --target wasm32v1-none --release(duplicate build, without--locked)The second build is redundant, adds latency to every CI run, and omitting
--lockedpermits unpinned dependency updates toCargo.lock.Additionally, the size budget check compares against
256000bytes (250 KiB), but the step name and failure message referenced250KB.Changes
cargo build --target wasm32v1-none --releasestep fromwasm-build.250KiBto accurately describe the 256,000-byte threshold.Verification
.github/workflows/ci.yml.