Skip to content

ci(wasm-build): remove redundant unlocked build and correct budget unit (Fixes #862, #863) - #892

Closed
kleitonbernardino-lab wants to merge 1 commit into
MergeFi:mainfrom
kleitonbernardino-lab:fix/ci-wasm-build-redundancy-862
Closed

kleitonbernardino-lab wants to merge 1 commit into
MergeFi:mainfrom
kleitonbernardino-lab:fix/ci-wasm-build-redundancy-862

Conversation

@kleitonbernardino-lab

Copy link
Copy Markdown

Summary

Fixes #862, #863.

In .github/workflows/ci.yml, the wasm-build job previously executed:

  1. cargo build --target wasm32v1-none --release --locked
  2. Size budget enforcement (256000 bytes)
  3. cargo build --target wasm32v1-none --release (duplicate build, without --locked)

The second build is redundant, adds latency to every CI run, and omitting --locked permits unpinned dependency updates to Cargo.lock.

Additionally, the size budget check compares against 256000 bytes (250 KiB), but the step name and failure message referenced 250KB.

Changes

  1. Remove the redundant cargo build --target wasm32v1-none --release step from wasm-build.
  2. Update the step label and error message to 250KiB to accurately describe the 256,000-byte threshold.

Verification

  • Validated YAML structure and syntax in .github/workflows/ci.yml.

…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>
@vercel

vercel Bot commented Nov 12, 2026

Copy link
Copy Markdown

@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.

@chonilius chonilius closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI's wasm-build job runs cargo build --target wasm32v1-none --release twice, the second time without --locked

2 participants