Skip to content

Harden dependency resolution and toolchain policy - #524

Merged
d-oit merged 3 commits into
mainfrom
feat/msrv-and-dependency-hardening
Nov 21, 2026
Merged

d-oit merged 3 commits into
mainfrom
feat/msrv-and-dependency-hardening

Conversation

@d-oit

@d-oit d-oit commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Summary

Harden the template's supply-chain and Rust toolchain policies:

  • Use the stable Rust channel for development while keeping Rust 1.88 as the independently audited MSRV.
  • Read and validate MSRV from the workspace manifest; fail closed if the exact MSRV compiler cannot be installed or used.
  • Configure Cargo 1.100+'s three-day minimum publication age, document behavior and limitations, and preserve the setting in initialized profiles.
  • Lock GitHub Actions dependencies and verify the lockfile in CI.

Verification

  • ./scripts/quality-gates.sh — all 20 checks passed on the updated main base.
  • MSRV audit regression tests and profile-preservation tests passed.
  • Verified cooldown-aware lockfile generation with Cargo 1.100 and config compatibility with Cargo 1.88.
  • Commit pre-commit checks passed.

Fixes #514, #515, and #516.

@github-actions github-actions Bot added rust Pull requests that update rust code ci agents scripts docs config labels Nov 16, 2026
@codacy-production

codacy-production Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.35%. Comparing base (12cb688) to head (d5799fc).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #524      +/-   ##
==========================================
- Coverage   94.18%   93.35%   -0.84%     
==========================================
  Files          20       20              
  Lines        1979     1926      -53     
==========================================
- Hits         1864     1798      -66     
- Misses        115      128      +13     
Files with missing lines Coverage Δ
crates/actor-runtime-template/src/lib.rs 100.00% <ø> (ø)
...tes/hybrid-storage-template/src/backends/sqlite.rs 100.00% <ø> (ø)
crates/mcp-server-template/src/lib.rs 97.23% <100.00%> (-0.10%) ⬇️
crates/sample-app/src/config.rs 82.44% <ø> (ø)

... and 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

d-oit and others added 2 commits November 21, 2026 16:47
Use stable for development while auditing the declared Rust 1.88 MSRV, add Cargo's three-day publication cooldown, and lock GitHub Actions dependencies.

Annotate the self-repository action references with nosemgrep so Opengrep does not misclassify GitHub's `$/` syntax as an unpinned third-party action.

Fixes #514, #515, and #516.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@d-oit
d-oit force-pushed the feat/msrv-and-dependency-hardening branch from 841adb0 to c9e614a Compare November 21, 2026 15:48
- Record the Codacy false-positive suppression and history rewrite for PR 524.
@d-oit
d-oit merged commit 58071b6 into main Nov 21, 2026
29 checks passed
@d-oit
d-oit deleted the feat/msrv-and-dependency-hardening branch November 21, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents ci config docs rust Pull requests that update rust code scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Cargo minimum publication age for dependency resolution Decouple the development toolchain from the declared MSRV

2 participants