Production-Grade WASM Release Workflow#64
Merged
ahmadogo merged 1 commit intoMentoNest:mainfrom Feb 20, 2026
Merged
Conversation
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.
Closes: #60
Overview
Implements a deterministic, reproducible GitHub Actions release workflow for SkillSync Contract smart contract WASM artifacts. Guarantees byte-for-byte reproducible builds with SHA256 verification and automated release management.
What's Included
Workflow:
.github/workflows/release.ymlv*)wasm32-unknown-unknownwith--release --lockedwasm-tools strip+wasm-opt -Ozpipeline.wasmbinary +checksums.txtto GitHub ReleasesDocumentation
Key Features
✅ Deterministic Builds
rust-toolchain.toml--lockedcodegen-units = 1)CARGO_INCREMENTAL=0)✅ WASM Optimization
core-<version>.wasm✅ Supply Chain Security
✅ Production-Grade
contents: writeonly)How to Use
Cut a Release
git tag -a v0.2.0 -m "Release v0.2.0: [description]" git push origin v0.2.0The workflow automatically:
Verify Artifacts Locally
Reproduce a Build
See
RELEASE.md→ "How to Reproduce the Build Locally"Testing
Built-in CI Verification
Test Locally Before Pushing
Benefits
git pushtriggers full release pipelinewasm-opt -Ozminimizes on-chain costsDocumentation
RELEASE.md→ "How to Cut a Release"BUILD_CONFIG.mdfor technical detailsRELEASE.md→ "How to Reproduce the Build Locally"Technical Details
Determinism Guarantees
dtolnay/rust-toolchain@stableCargo.lockenforced with--lockedcodegen-units = 1)CARGO_INCREMENTAL=0)RUSTFLAGS="-C embed-bitcode=no")Build Pipeline
File Structure
Important Notes
Cargo.tomlprofiles are already optimally configuredrust-toolchain.tomlpins the Rust version (stable with wasm32 target)Cargo.lockmust remain committed to gitubuntu-22.04(stable, LTS)Checklist
contents: writeset -euo pipefail)Related