Skip to content

ci: adopt RUST-033 — mandatory local soldr lint (clippy + Dylint, all targets); Dylint proven before merge queue #1793

Open

Description

@zackees

Fleet policy RUST-033 (forge-ci/ci.yml#511, #512) now applies to this repository.

  • The local gate has a lint lane that runs soldr lint rust --cross-dylint: clippy --all-targets with CI's feature set and -D warnings, plus Dylint, for every target in [workspace.metadata.soldr].targets. That target list must match the remote lint job's.
  • No replay selection or minimal-skip-steps entry drops a clippy target, --all-targets or the Dylint pass.
  • ci-attestations.yml declares rust/<target>/clippy and rust/<target>/dylint gates (or rust/all/...).
  • The lint lane is enforced even in shadow mode: check-push and verify refuse a missing or stale lint attestation. Runtime test lanes stay optional.
  • The merge-queue enqueue requires a valid Dylint attestation or a successful Dylint job on the head SHA.
  • A warm re-run on an unchanged tree takes at most the larger of 30 s or 10% of a cold run. Otherwise, file a soldr cache defect with the soldr[cache] MISS lines.

Steward status, 2026-11-13 (verified against origin/main 00bfaebd)

Delivered in-repo by #1795 (df730436 ci(lint): add RUST-033 lint lane):

# Cell Evidence on main
1 lint lane local-gate.toml L84-90: [gate.lanes.lint] -> python -m ci.local_gate --lane lint -> ci/local_lint_gate.py::run_lint -> soldr lint rust --cross-dylint; targets come from Cargo.toml [workspace.metadata.soldr].targets (8 targets) and ci.toml L119 lists lint among the lanes
2 no lane drops clippy/Dylint the lint lane declares no [[gate.replay]] jobs or selections, and no minimal-skip-steps entry exists in the repo (grep: 0 hits)
3 attestations ci-attestations.yml declares 8 targets x {clippy,dylint} = 16 lane: lint gates

Open cells, and why they cannot be closed from this repo:

  • 4 + 5 (enforce in shadow mode; enqueue requires a Dylint attestation) - these are behaviours of the fleet linter (ci-lint, pinned at ci.toml L17 / check-push/verify/enqueue), not of fbuild. Nothing in this repo consumes ci-attestations.yml (git grep attestations -> only docs/release-provenance files).
  • 6 (warm re-run <= max(30 s, 10% cold)) - never measured; ci/local_gate.py L302-306 deliberately keeps the lane opt-in until it is: "Promote to lane in (None, "lint") once a warm run is measured at <= max(30 s, 10% of cold) per fleet policy RUST-033." A valid measurement needs a cold baseline from a fresh target dir plus a warm re-run after a one-line edit, on an idle host; the cold half alone (rustfmt + Clippy x9 + Dylint x8) exceeds the steward's ~25 min cycle, and this box has been at load 20-120/16 all week, which invalidates timing the same way it invalidates bench timings.

Interpretation offered for cell 1, for the owner to accept or correct: no remote per-target lint job exists by design - ci/local_lint_gate.py's docstring says cross targets lint from a Linux host through soldr's prebuilt rust-std, so the lane never needs a native Windows/macOS runner; the remote lint scope it mirrors is the single-host soldr cargo clippy --workspace --all-targets -- -D warnings at check-ubuntu.yml L106-107.

Recorded as blocked (dependency: fleet tooling + soldr lint caching) in the steward ledger with this text as the receipt. Unblock with --unblock-issue 1793 when a fleet release enforces the lint attestation, or re-open the measurement when the host is idle.

Activity

  1. added
    deferred
    on Nov 13, 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

    deferred

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions