Skip to content

ci: require protocol version ratchet#1806

Closed
maxw06 wants to merge 9 commits into
QuickLendX:mainfrom
maxw06:codex/version-bump-gate-1480
Closed

ci: require protocol version ratchet#1806
maxw06 wants to merge 9 commits into
QuickLendX:mainfrom
maxw06:codex/version-bump-gate-1480

Conversation

@maxw06

@maxw06 maxw06 commented Jul 8, 2026

Copy link
Copy Markdown

Closes #1480.

Summary

  • Add a protocol-version release ratchet that fails CI when quicklendx-contracts/Cargo.toml [package].version changes without increasing PROTOCOL_VERSION.
  • Add self-tests for unchanged package versions, missing bumps, valid bumps, and protocol-version decreases.
  • Document the ratchet in the README, contract version compatibility guide, and upgrade guide.
  • Keep existing non-contract/docs-only PR behavior by applying the existing contract-change filter to the unconditional Cargo test and coverage steps.

Validation

bash scripts/check-protocol-version-bump.test.sh
git diff --check origin/main..fork/codex/version-bump-gate-1480

@Baskarayelu

Copy link
Copy Markdown
Contributor

thanks for the contribution! our workflow only merges a PR when its author is assigned to the linked issue — please get assigned to an open issue first, then raise the PR. closing as invalid for now 🙏

@Baskarayelu Baskarayelu closed this Jul 8, 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.

Add explicit version bump on the version() constant

2 participants