Skip to content

fix(ci): add --locked to cargo invocations and bump actions/cache to v4 (#171) - #259

Open
aurorabini wants to merge 3 commits into
accensa:mainfrom
aurorabini:fix/ci-add-locked
Open

fix(ci): add --locked to cargo invocations and bump actions/cache to v4 (#171)#259
aurorabini wants to merge 3 commits into
accensa:mainfrom
aurorabini:fix/ci-add-locked

Conversation

@aurorabini

Copy link
Copy Markdown

Add --locked to CI and bump actions/cache

Ensures CI builds against the exact committed Cargo.lock rather than allowing
Cargo to resolve newer compatible versions in-place.

Changes

  • Added --locked to all cargo invocations in ci.yml (clippy, test, build-wasm, benchmark)
  • Bumped actions/cache from v3 to v4 in all jobs

Why this matters

The lockfile is committed but CI never required it. Cargo was free to update
dependencies in-place, meaning two CI runs of the same commit a week apart
could build different WASM bytes — undermining the build's traceability to a
specific commit.

Closes #171

@mergekeeper

mergekeeper Bot commented Aug 28, 2026

Copy link
Copy Markdown

Needs changes

The PR misses updating CONTRIBUTING.md as specified in the issue requirements.

  • Review finding: Issue item 4 requires documenting the Cargo.lock expectation in CONTRIBUTING.md, but no changes to CONTRIBUTING.md were included in the pull request.

Reviewed commit: 160a388899a59d52a82df53e568de1934e725b11.

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs changes

Missing documentation update in CONTRIBUTING.md as specified in the issue requirements.

  • CONTRIBUTING.md: Issue #171 acceptance criteria / instructions specify documenting the expectation in CONTRIBUTING.md that Cargo.lock is committed deliberately, but no documentation file was updated in this PR.

Reviewed commit: fb846fbd039725f49ffe1c391923fd69cbbd4492.

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs changes

The PR misses updating CONTRIBUTING.md as specified in the issue requirements.

  • Review finding: Issue item 4 requires documenting the Cargo.lock expectation in CONTRIBUTING.md, but no changes to CONTRIBUTING.md were included in the pull request.

Reviewed commit: 160a388899a59d52a82df53e568de1934e725b11.

@mergekeeper

mergekeeper Bot commented Aug 28, 2026

Copy link
Copy Markdown

MergeKeeper review

Scope: in scope for linked issue #171.
Verdict: clean

The pull request correctly implements all requirements of issue 171 by adding --locked to all cargo invocations in ci.yml, upgrading actions/cache to v4 across all jobs, and documenting the Cargo.lock expectation in CONTRIBUTING.md.

Reviewed commit: fdde4de280ffe7d4dc9b1ba6e7dcda4ac5ba58da.
CI and merge eligibility are checked separately.

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 runs cargo without --locked, so the audited Cargo.lock is not what CI builds

2 participants