Skip to content

chore(ci): CI reproducibility — MSRV matrix job + bun version pin + Dependabot config #72

Open

Description

@utof

Grouped CI-reproducibility gaps from the hardening gap scan. Each is small; bundling to avoid 3 ~tiny issues.

A. MSRV matrix job

rust-toolchain.toml pins local dev to 1.88 (commit e3113ab). But CI's .github/workflows/ci.yml still uses dtolnay/rust-toolchain@stable — whatever current stable is. So CI doesn't verify that the declared MSRV (rust-version = "1.88") actually builds. A contributor on 1.88 could get different behavior than CI.

Fix: Add one matrix entry to the existing 3-OS matrix:

- os: ubuntu-latest
  rust: "1.88"

Plus use the matrix var in the toolchain action:

- uses: dtolnay/rust-toolchain@stable
  with:
    toolchain: ${{ matrix.rust || 'stable' }}

B. Bun version pin

CI uses bun-version: latest. No .bun-version file. Bun's breaking-change cadence can silently break bun install --frozen-lockfile on existing bun.lock.

Fix: add .bun-version file (single line, e.g. 1.2.0 — whatever current is) + change CI to bun-version-file: ".bun-version".

C. Dependabot config

No .github/dependabot.yml. Cargo deps and npm deps drift without automated PRs. cargo deny check runs on every push but only on Cargo.lock at HEAD — doesn't surface "this minor version has an advisory"-class warnings proactively.

Fix: add minimal .github/dependabot.yml for cargo + npm ecosystems with weekly cadence.

Source

Hardening gap scan (Sonnet + Haiku) 2026-04-20 items #4, #5, #7, #11.

Activity

  1. added
    type/chore
    area/ci
    on Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/citype/chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions