Skip to content

fix(ci): align CI with production build target and add quality gates - #526

Merged
Cedarich merged 8 commits into
ZyntariHQ:mainfrom
Jaamaldeen:main
Aug 29, 2026
Merged

Cedarich merged 8 commits into
ZyntariHQ:mainfrom
Jaamaldeen:main

Conversation

@Jaamaldeen

Copy link
Copy Markdown
Contributor
  • Builds with wasm32v1-none (matching build.sh and Makefile)
  • Adds cargo clippy with warnings denied
  • Adds cargo fmt --check
  • Uses --locked for reproducible builds
  • Adds WASM size check with warning threshold
  • Adds dependency advisory check
  • Adds coverage reporting with cargo-llvm-cov
  • Extends ABI drift check to ops tooling (invoke scripts, Makefile)
  • Removes committed events.json and events.txt
  • Adds rustfmt.toml for consistent formatting
  • Adds clippy.toml for lint configuration

Fixes issues:

  • CI builds different WASM target than deployed
  • No lint gate (clippy, fmt)
  • No --locked in CI builds
  • make invoke-record-payment missing settlement_ref
  • No coverage reporting
  • No dependency advisory check
  • No WASM size check
  • Toolchain mismatch between CI and local
  • Generated events files committed to git

Summary

Provide a clear summary of what this PR changes and why.

Related Issue(s)

Link any related issue(s) using #<issue-number>.
If this PR closes an issue, include Closes #<issue-number>.

Type of Change

  • Feature
  • Fix
  • Refactor
  • Documentation
  • Chore

Description

Describe the implementation details and scope of the changes.

Testing Evidence

Describe how this change was tested, including commands run or test cases executed.
Include links to test outputs, screenshots, or any relevant evidence.

Screenshots

Add screenshots, GIFs, or recordings when UI or visual behavior changed.

Checklist

Jaamaldeen and others added 8 commits August 27, 2026 20:06
- Builds with wasm32v1-none (matching build.sh and Makefile)
- Adds cargo clippy with warnings denied
- Adds cargo fmt --check
- Uses --locked for reproducible builds
- Adds WASM size check with warning threshold
- Adds dependency advisory check
- Adds coverage reporting with cargo-llvm-cov
- Extends ABI drift check to ops tooling (invoke scripts, Makefile)
- Removes committed events.json and events.txt
- Adds rustfmt.toml for consistent formatting
- Adds clippy.toml for lint configuration

Fixes issues:
- CI builds different WASM target than deployed
- No lint gate (clippy, fmt)
- No --locked in CI builds
- make invoke-record-payment missing settlement_ref
- No coverage reporting
- No dependency advisory check
- No WASM size check
- Toolchain mismatch between CI and local
- Generated events files committed to git
The clippy and rustfmt components were not installed with the
toolchain. This adds them to the Install Rust step so that
cargo clippy and cargo fmt work in CI.
- Removes invalid fields that were causing CI failures
- Keeps only msrv field which is valid
- Lint levels are controlled via -D warnings in the workflow
- Removes unstable options that require nightly channel
- Uses only stable rustfmt options
- Keeps consistent formatting rules
- Adds trailing commas in match arms and match blocks
- Applied by running cargo fmt on the entire codebase
- Fixes the fmt-check CI job
@Jaamaldeen

Copy link
Copy Markdown
Contributor Author

@Cedarich done

@Cedarich
Cedarich merged commit 1cc9eaf into ZyntariHQ:main Aug 29, 2026
2 checks passed
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.

1 participant