Skip to content

chore(ci): enforce the clippy deny list, rustfmt and cargo-deny; forbid ORM crates workspace-wide - #87

Merged
aRustyDev merged 6 commits into
mainfrom
chore/ci-lint-deny
Nov 6, 2026
Merged

aRustyDev merged 6 commits into
mainfrom
chore/ci-lint-deny

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Closes #40. Builds on #86 (the one-time rustfmt reformat), which is merged.

CI had no format, lint or supply-chain gate, ADR-0006's panic policy was "not yet enforced", and check-deps.sh named only sqlx for a few crates. This adds a lint job (rustfmt, clippy native, clippy wasm32), a deny job (cargo-deny), a workspace-wide ORM guard in check-deps.sh, and puts both jobs in gate's needs. Each control was shown to fail once (below).

Review it commit by commit; each stands alone and was tested on its own tree.

Commit What
26d72a2 check-deps.sh asks the whole workspace for sqlx, sea-orm, diesel, diesel-async. classify-changes.sh treats deny.toml, clippy.toml, rustfmt.toml as Rust.
aa1c0bc The advisories cargo deny finds on main today (see below).
39fa3e9 deny.toml.
9640f91 The clippy deny list, and every fix it needs. The big one.
14f28db The two CI jobs, and gate.
bd2c879 Docs, ADR/question amendments, .git-blame-ignore-revs.

Where this differs from the issue

  • -e all --all-features, not -e normal, in check-deps.sh. A [dev-dependencies] sea-orm printed nothing to print under -e normal, which the script's case arm reads as absent: the check would have passed it. Both outputs are in architecture-gates.md. A third answer, "cargo could not say", fails with its own message, so an offline run is never read as absent or as a hit.
  • Five adapter crates, not four. thrust-adapters-oidc arrived after the issue was filed. The lints are in [workspace.lints.clippy] and each of the seven crates (core, ports, five adapters) opts in with [lints] workspace = true: the same effect as per-crate tables, one list. docs/src/contributing/crates.md has a new step so a new adapter does not silently miss it.
  • Seven other advisories, not one. With only RUSTSEC-2023-0071 ignored, cargo deny check advisories failed on main against the live advisory database (two of them, RUSTSEC-2026-0385 and -0387, were published on 2026-10-23, after the issue was filed on 2026-10-20). The issue says that ignore is the only one, so each is fixed, not ignored: rustls-webpki, webpki-roots, ctutils by lock bump; crypto-bigint through openidconnect 4.0.1 to 4.1.0; tokio-tar and rustls-pemfile through testcontainers 0.23 to 0.27 and -modules 0.11 to 0.15 (needed no code change; same postgres:11-alpine). The one with no upstream fix, smallstr under yrs (unmaintained), is covered by unmaintained = "workspace": unmaintained crates are reported for the workspace's own dependencies only, vulnerabilities everywhere.
  • [graph] all-features = true in deny.toml, so a bare cargo deny check sees what CI sees. Today the default and all-features graphs are identical (419 crates, because --workspace unifies features), so it guards a future change; with a feature-gated sea-orm the bans check fails with it and passes without.
  • diesel-async is in the ban list too, to match check-deps.sh.
  • The reformat is its own PR (style: format the workspace with rustfmt (max_width 120) #86), because the repo is squash-only: that is the only way to give .git-blame-ignore-revs a SHA. git blame on thrust-ports/src/lib.rs blames 41 lines on it without the file and 0 with it.

Changes that are not mechanical (please look at these)

  • PgTx no longer panics after a failed BEGIN (thrust-adapters-postgres/src/lib.rs). client() was expect("transaction already finished"), and ensure_tx removes the connection on purpose when BEGIN fails, so a failed first write followed by any further call, or by commit, was a reachable panic. Now: client() returns DbError::Backend; commit returns it too (it cannot claim success); rollback returns Ok (the discarded connection was closed, so the server rolled it back). Three hermetic tests pin it, and with the old expect code put back all three fail at the old panic sites.
  • migrate exits 1 with an Error: line instead of panicking (101). contract.sh treats any non-zero as "migrate failed".
  • The memory adapter's 75 lock().unwrap() become lock_unpoisoned() (recover the guard from a poisoned mutex). Reasoning is in its doc comment: test and local state; a Worker cannot poison a mutex; the native server unwinds under CatchPanicLayer, and carrying on is what parking_lot does. Say if you would rather propagate an error.
  • JsClock::now keeps a reasoned expect and does not fall back to the epoch: a wrong "now" would make every session expiry look far off, so a clock that cannot be read should fail the request.
  • Dependency bumps: openidconnect 4.1.0 moves p256, p384, ed25519-dalek a major; the native-memory contract pass signs RS256 tokens in the mock IdP and verifies them through it (54 of 54, 16 of them auth::). The dev graph grew (tonic, prost, ureq, h2, through bollard's buildkit support).
  • 47 pre-existing clippy warnings (a mix of lints, many from clippy 1.99's newer ones) are fixed, not allowed, because the new job runs -D warnings. Eleven are in crates outside the seven (thrust-editor-doc, thrust-contract-tests, thrust-api, thrust-worker). Mechanical ones came from cargo clippy --fix; the rest are by hand, with Reverse sorts, zip, matches!, slice patterns and one variant rename (Call::UpdateProjectCall to UpdateProject). put_attachment keeps a reasoned too_many_arguments allow.
  • Test code. clippy.toml exempts #[test] functions and #[cfg(test)] modules; integration-test helpers (fn make(..)) are not exempt, so 21 test files and one example carry a crate-level #![allow(.., reason = "test code: ..")].

Acceptance criteria

  • grep -n "sea-orm" scripts/check-deps.sh matches (:9, :68). Adding sea-orm to crates/thrust-adapters-postgres/Cargo.toml exits 1 with FORBIDDEN: sea-orm is in the workspace graph (ADR-0044) and the tree sea-orm v1.1.20; recorded in architecture-gates.md next to the worker control, with the dev-dependency and feature-gated variants.
  • A deliberate .unwrap() in non-test thrust-core fails the clippy step (used unwrap() on an Option value, unwrap_used, run locally with CI's command), and a mis-formatted line fails cargo fmt --all --check (exit 1, with the diff). Shown in CI too, on a throwaway draft PR with three planted defects (DO NOT MERGE: throwaway defects to show the #40 gates fail (expected red) #88, run 42164639829; closed and its branch deleted): rustfmt failed with Diff in .../thrust-core/src/auth.rs:86; clippy failed in both the native and the wasm32 run with error: used unwrap() on an Option value (-D clippy::unwrap-used); and gate went red naming lint failure, deny failure, with hermetic and pg-adapter still success.
  • cargo deny --locked check passes (advisories, bans, licenses, sources ok) and fails when the MPL-2.0 licence is not allowed (cssparser, exit 4) and when sea-orm is added (error[banned], exit 2).
  • deny.toml ignores RUSTSEC-2023-0071 and nothing else, with the reason and the re-check note beside it. Deleting the entry makes cargo deny check advisories fail and name it (rsa v0.9.10, "Marvin Attack"). I also checked the claim in the entry against the openidconnect 4.1.0 source: verify_rsa_signature verifies with an rsa::RsaPublicKey, Thrust's only call is .claims(..), and nothing of ours constructs CoreRsaPrivateSigningKey.
  • gate.needs lists lint and deny (a script asserts it equals every job but gate, and fails against the old files for six named reasons); test-ci-scripts.sh passes (29, up from 26 with three new classifier cases shown red first, then green) and test-required-contexts.sh (14). gate is green on this PR (run 42164108094): all 30 checks succeeded, and lint and deny ran every step (rustfmt, both clippy runs, the pinned install-action, cargo deny check), none skipped. In the same throwaway run, deny failed with error[vulnerability]: Marvin Attack, ID: RUSTSEC-2023-0071, rsa v0.9.10 once the ignore was deleted.
  • "Not in CI" in cicd.md no longer names clippy, fmt or the dependency audit.

Verified locally on this branch

cargo fmt --all --check; cargo clippy --workspace --all-targets --locked -- -D warnings and the wasm32 one (0 diagnostics); nextest 2216 passed, 4 skipped (2213 plus the three new tests); doctests; check-deps.sh; the Postgres adapter tests as CI runs them (30); the native-memory and native-pg contract passes (54 of 54); wasm32 Worker build; mdbook build docs (0 ERROR; run with the mermaid preprocessor optional, as mdbook-mermaid is not installed here).

Not in this PR

  • A new advisory can turn deny red with no code change (two of the seven above appeared after the issue was filed), and gate with it. A weekly scheduled cargo deny check advisories (precedent: flake-hunt.yml) and a dependabot.yml would soften it; follow-up, not built here.
  • The toolchain is stable, unpinned, so a clippy release can fail lint (recorded in cicd.md).
  • mutants and the contract cells fail intermittently with exit=4 (contract.sh: "target process exited early"), which hit style: format the workspace with rustfmt (max_width 120) #86's first run (Address already in use for the cf cell; the ignore-revoked mutant, which passed when I ran it locally on the same tree) and failed four of the last six pushes to main (the one I read, run 40258128717, was native-memory engine + case-sensitive-search with exit=4). It struck the throwaway run too (worker-cf main: Address already in use; and ignore-revoked again, so that mutant has now hit exit=4 on two separate PR runs, each time the fourth to start, which may be worth a look). chore(ci): enforce the clippy deny list, rustfmt and cargo-deny; forbid ORM crates workspace-wide #87's own run did not hit it. Not caused by this PR; not fixed here.
  • Replacing the awk/grep proof-minting checks in check-deps.sh with clippy's disallowed-methods (its comment now says so).

Heads-up for open branches

#86 reformatted 98 files, and this PR changes the memory adapter and the seven crates' tests: Rust file:line citations in docs and ADRs shift, and branches with Rust changes in flight (feat/compat-work-items-*) will conflict on rebase.

🤖 Generated with Claude Code

aRustyDev and others added 6 commits November 5, 2026 23:08
… Rust

check-deps.sh: ADR-0044 forbids sqlx, sea-orm and diesel, but the script named only `sqlx`, and only for five crates, the memory
adapter and oidc. Nothing stopped an ORM in adapters-postgres, -cloudflare, -selfhosted, the server or the worker. The new section
asks the whole workspace: `cargo tree --workspace --all-features -e all --target all -i <crate>` for sqlx, sea-orm, diesel and
diesel-async. It has three answers: absent, present (the tree starts with the crate), and "cargo could not answer" (offline, a stale
lock), which fails with its own message instead of being read as absent or as a hit.

`-e all`, not the issue's `-e normal`: with `sea-orm` as a `[dev-dependencies]` of adapters-postgres, `-e normal` prints `nothing to
print`, which the script's case arm reads as absent (a pass), and `-e all` finds it. Both outputs were taken against the same tree.

Controls, run against this script:
- clean tree: exit 0, four `ok:` lines;
- `sea-orm = { version = "1", default-features = false }` in adapters-postgres: exit 1, `FORBIDDEN: sea-orm is in the workspace graph
  (ADR-0044)` with the tree `sea-orm v1.1.20 └── thrust-adapters-postgres`, no ERROR line.

classify-changes.sh: deny.toml, clippy.toml and rustfmt.toml were not Rust paths, so a PR that changed only one of them would have
classified as docs, skipped the lint and deny jobs and passed the gate without running them. Five new cases in test-ci-scripts.sh:
three that failed against the old regex (shown red, then green), a look-alike or nested copy that must stay `rust=false`, and two gate
cases (a `lint` failure; `deny` skipped when Rust changed). 29 passed, 0 bad; test-required-contexts.sh 14 passed.

assert-gate.sh needs no change: it reads `toJSON(needs)` generically, so only the `needs:` list in ci.yml changes (a later commit).

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
`cargo deny check` (the next commits) fails on main today with five vulnerabilities besides RUSTSEC-2023-0071, found against the
live RustSec database (advisories published after #40 was drafted). The issue requires that 0071 be the only ignore, so each is fixed
by upgrading, not ignored:

| Advisory | Crate | Change |
|---|---|---|
| RUSTSEC-2026-0382 | rustls-webpki | 0.103.15 -> 0.103.16 |
| RUSTSEC-2026-0381 | webpki-roots | 1.0.9 -> 1.0.11 |
| RUSTSEC-2026-0385 | ctutils | 0.4.3 -> 0.4.8 |
| RUSTSEC-2026-0387 | crypto-bigint | 0.5.5 -> 0.7.10, through openidconnect 4.0.1 -> 4.1.0 (p256, p384 and ed25519-dalek move a major) |
| RUSTSEC-2025-0111 | tokio-tar | removed: testcontainers 0.23 -> 0.27 and testcontainers-modules 0.11 -> 0.15 use astral-tokio-tar |

The same testcontainers upgrade removes rustls-pemfile (RUSTSEC-2025-0134, unmaintained) from the graph. The other unmaintained crate,
smallstr under yrs (RUSTSEC-2026-0215), has no upstream fix; deny.toml reports unmaintained crates for the workspace's own
dependencies only.

The testcontainers upgrade needed no code change (`Postgres::default().start()`, `get_host_port_ipv4`, `ContainerAsync<Postgres>`
are unchanged) and both versions default to `postgres:11-alpine`. It adds dev-only crates (tonic, prost, ureq, h2) through bollard's
buildkit support, and removes the windows-sys 0.48 family.

Checked on this tree:
- `cargo deny check` (with the deny.toml of a later commit): advisories, bans, licenses and sources ok;
- the Postgres adapter tests, run as CI runs them (`cargo test -p thrust-adapters-selfhosted --test pg_adapter`, OrbStack
  DOCKER_HOST): 30 passed; also under nextest: 30 passed;
- `cargo nextest run --profile ci --workspace`: 2213 passed, 4 skipped;
- the native-memory contract pass, which signs RS256 ID tokens in the mock IdP and verifies them through openidconnect 4.1.0:
  54 of 54 expected, 16 of them `auth::`;
- `thrust-worker` builds for wasm32 with `--no-default-features`; `scripts/check-deps.sh` is clean.

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…sources)

ADR-0100 and ADR-0101 require a Rust supply-chain gate and none ran. `deny.toml` is the configuration; the `deny` job that runs it is a
later commit. `cargo deny --locked check`: advisories, bans, licenses and sources ok on this tree.

- [advisories]: RUSTSEC-2023-0071 (rsa, "Marvin Attack") is the ONLY ignore, with its reason and the re-check note beside it: why it does
  not apply (rsa is reached through openidconnect, which uses it only to verify RS256 signatures with the issuer's public key,
  `verify_rsa_signature` building an `rsa::RsaPublicKey`; Thrust's one call is `.claims(..)` in thrust-adapters-oidc; and through the
  contract tests' mock IdP, a throwaway key on 127.0.0.1); when to re-check (any rsa or openidconnect update, a patched advisory);
  to remove it once a patched rsa is adopted; the tripwire (`CoreRsaPrivateSigningKey`, which signs with an `RsaPrivateKey`, is shipped by
  openidconnect and never constructed by Thrust); and that RS256 is not to be avoided (owner decision, 2026-10-24: Zitadel signs with it).
  The claims were checked against the openidconnect 4.1.0 source. `unmaintained = "workspace"`: smallstr (under yrs, RUSTSEC-2026-0215)
  has no fix to adopt, so unmaintained crates are reported for the workspace's own dependencies only; vulnerabilities are reported everywhere.
- [licenses]: the eight licences the graph needs (MIT, Apache-2.0, BSD-3-Clause, ISC, Unicode-3.0, Zlib, MPL-2.0, CDLA-Permissive-2.0),
  each exercised (no unused-licence warning); the 15 workspace crates are AGPL-3.0-only and `publish = false`, so `[licenses.private]
  ignore = true` skips them and AGPL is not on the list for anybody else.
- [bans]: sqlx, sea-orm, diesel and diesel-async (ADR-0044; the second guard after check-deps.sh); `wildcards = "deny"` with
  `allow-wildcard-paths` for the thrust-* path dependencies; `multiple-versions = "warn"` because 28 crates appear in two or three
  versions and "deny" would block every update.
- [sources]: crates.io only.
- [graph] `all-features = true`, so a bare `cargo deny check` sees what CI sees.

Controls, each run against this tree:
- delete the RUSTSEC-2023-0071 entry: `advisories FAILED`, `error[vulnerability]: Marvin Attack`, `rsa v0.9.10`. With the entry it passes, so
  the ignore is what makes the check pass and the advisory is really in the graph;
- remove `MPL-2.0` from `allow`: `error[rejected]: failed to satisfy license requirements`, `cssparser v0.38.0` (exit code 4, the
  licences bit);
- add `sea-orm` to thrust-adapters-postgres: `error[banned]: crate 'sea-orm = 1.1.20' is explicitly banned` (exit code 2, the bans bit);
- the same `sea-orm` as an optional dependency behind a feature that nothing enables: `bans FAILED` with `all-features = true` and
  `bans ok` with `false`, so the setting is what catches it. (The default and all-features graphs are identical today, 419 crates each,
  because `--workspace` unifies features, so this guards a future change. check-deps.sh catches the same case.)

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nd the adapters

ADR-0006's panic policy says clippy denies `unwrap_used`, `expect_used`, `panic` and `indexing_slicing` in core, ports and adapters, and
recorded it as "not yet enforced". On the Worker (`panic=abort`) a panic fails its own request and can fail others on the same isolate.

`[workspace.lints.clippy]` sets the four to `deny` (they are in clippy's `restriction` group, off unless named); thrust-core,
thrust-ports and all five adapters (the issue says four; thrust-adapters-oidc arrived after it was filed) opt in with
`[lints] workspace = true`. `deny`, not `forbid`, so a site that is right can say so with `#[allow(.., reason = "..")]`. `clippy.toml`
exempts `#[test]` functions and `#[cfg(test)]` modules.

Measured on the formatted tree, in the seven crates: 93 sites in library code, 6 in the `migrate` bin and a core example, and 261 in
integration tests that `clippy.toml` does not exempt (helper functions with no `#[test]`: selfhosted `tests/model` alone has 161 index
sites). Now 0 in all targets.

Library code:
- thrust-adapters-memory: 75 `Mutex::lock().unwrap()` become one private `lock_unpoisoned()` (`unwrap_or_else(PoisonError::into_inner)`).
  Its doc comment gives the reasoning: the adapter is test and local state; a Worker cannot poison a mutex (`panic=abort`); the native
  server unwinds under `CatchPanicLayer`, and carrying on is what `parking_lot` does. `from_timestamp(0, 0).expect(..)` is
  `DateTime::UNIX_EPOCH`. `api_keys[at]` keeps a reasoned allow: `at` is a position found a few lines above.
- thrust-adapters-postgres, BEHAVIOUR CHANGE: `PgTx::client` panicked ("transaction already finished") whenever the transaction had no
  connection, and `ensure_tx` removes it deliberately when `BEGIN` fails. So a failed first write followed by any further call on the
  same transaction, or by `commit`, was a reachable panic. `client()` now returns `DbError::Backend`, `commit` on such a transaction
  returns the same error (it cannot claim success), and `rollback` returns Ok (the discarded connection was closed, so the server has
  rolled it back). Three hermetic tests pin it; with the old `expect` code back they all fail at the old panic sites
  (`lib.rs:2174`, `:2358`, `:2375`). `columns[4..]` is one `.get(4..)`.
- thrust-adapters-postgres `migrate`: `main` returns a `Result` instead of three `expect`s. A failure exits 1 with an `Error:` line,
  where it was a panic with exit 101; `contract.sh` treats any non-zero as "migrate failed".
- thrust-adapters-cloudflare: the two lock unwraps recover from poison inline. `JsClock::now` keeps a reasoned `expect`: the port returns no
  error, and a fallback such as the epoch would make every session expiry look far off, so a clock that cannot be read must fail the request.
- thrust-adapters-selfhosted: `ReqwestFetch::new` keeps a reasoned `expect` (a fixed configuration, built once at startup).
- thrust-core: `hex` writes `{b:02x}` instead of indexing a digit table (same lower-case output), and `contains_url` uses `at(i)` and a
  slice pattern instead of `s[i]` and `w[0]..w[3]`.
- Tests and the example: 21 test files and `argon2_timing.rs` carry an `#![allow(..., reason = "test code: ..")]` at their top.

The `lint` job runs clippy with `-D warnings`, which brought 47 warnings of other lints in; they are fixed here, not allowed: `cargo clippy
--fix` applied the mechanical ones (sort_by_key, map_or, is_multiple_of, redundant closures, unused imports, needless borrows), and by hand
the `Reverse` sorts, an enum variant named for its enum (`Call::UpdateProjectCall` -> `UpdateProject`), a type alias, two `zip`s, `matches!`,
doc-list indentation, and four sites in thrust-editor-doc (`?`, `if let`, `Option::filter`, `iter_mut`). One `too_many_arguments`
(`put_attachment`, eight parameters) keeps a reasoned allow, as a public use-case entry point.

Checked on this tree: `cargo fmt --all --check`; `cargo clippy --workspace --all-targets --locked -- -D warnings` and
`cargo clippy -p thrust-worker --no-default-features --target wasm32-unknown-unknown --locked -- -D warnings` (0 diagnostics); nextest
2216 passed, 4 skipped (2213 before the three new tests, with every fix in); the Postgres adapter tests (30 passed) as CI runs them;
the native-memory and native-pg contract passes (54 of 54 each).

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Two new jobs, both added to `gate`'s `needs` (the only required check):

- `lint`: `cargo fmt --all --check`; `cargo clippy --workspace --all-targets --locked -- -D warnings` (every target of every member,
  so the four denied lints, ADR-0006's panic policy, and every other warning fail it); and
  `cargo clippy -p thrust-worker --no-default-features --target wasm32-unknown-unknown --locked -- -D warnings`, the Worker as it ships
  (no `memory` adapter set), which also lints the wasm-only adapters. Without `--no-deps`, so the path dependencies are linted for wasm32 too.
  The two clippy steps run even when rustfmt failed (`!cancelled()`), so one push reports everything.
- `deny`: `cargo deny --locked check` from deny.toml (advisories, licences, bans, sources), with cargo-deny 0.20.2 installed through the
  `taiki-e/install-action` already pinned by SHA for nextest (its manifest at that SHA has 0.20.2).

Both carry exactly `needs: changes` and `if: needs.changes.outputs.rust == 'true'`, like `deps`: assert-gate.sh fails a job that is
`skipped` when Rust changed, so an extra condition (a pull_request-only job, say) would turn the gate red on main and in the merge
queue. assert-gate.sh itself needs no change, because it reads `toJSON(needs)` generically.

`.github/actions/setup-rust` gains a `components` input, passed to dtolnay/rust-toolchain, which installs the toolchain without clippy or
rustfmt. Both new jobs use setup-rust with their own cache key.

Neither is added to the ruleset: it requires only `gate` (ruleset 25418178), and they reach it through `gate`'s `needs`.

Checked: the workflow and the action parse; a script asserts that both jobs `need` only `changes`, share `deps`'s `if`, run on
ubuntu-24.04 with `contents: read`, pin every external action by SHA, that `gate.needs` equals every job but `gate`, and that setup-rust
passes `components` through. Run against the files before this commit it fails with six named reasons, so it discriminates.

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…gnore entry

The book said clippy, rustfmt and the dependency audit were not in CI ("Not in CI" in cicd.md, "no `deny.toml`", "nothing runs
`cargo fmt`"). They are now, so the pages that state what is enforced say so, each with its command and the control that makes it fail.

- cicd.md: "Not in CI" no longer names clippy, fmt or the audit. The change classifier's path list has deny.toml, clippy.toml and
  rustfmt.toml. The counts are re-measured (21 external actions, all pinned by SHA; 12 checkouts, all with `persist-credentials: false`),
  and `deny.toml` and the advisory-drift behaviour are recorded under supply chain. The ADR-0100 and ADR-0101 comparisons say what is
  now in place (a lint step; one of the Rust gates, cargo-deny) and what is not (cargo-vet and cargo audit, Scorecard, attestation, trivy).
  It also says the unpinned `stable` toolchain means a new clippy release can fail `lint` with no change to the code.
- running.md: the `lint` and `deny` rows of the CI job table, and the commands with `[verified]` tags.
- standards.md: three new rows in "Enforced by a command" (rustfmt, the panic lints, cargo-deny), the ORM ban in the check-deps row, and
  the controls shown on 2026-11-05. The "Stated, but not enforced" rows for dependency licences and for format and lint are corrected
  or gone, and "Decided, and built only in part" no longer says there is no lint step or dependency audit.
- architecture-gates.md: the ORM check, what its three answers mean, and the `sea-orm` control next to the `worker` one, with the two
  variants that justify `-e all` and `--all-features`.
- crates.md: "13 crates" is 15 and "four adapter crates" is five (both stale before this change); a new step for opting a crate into the lints.
- defect-matrix.md: X10's target says what `cargo deny` does and does not do yet (it bans only the ORM crates).
- AGENTS.md: one row in the Commands table.
- `.git-blame-ignore-revs` lists the reformat (65ed0e5, #86). Checked: `git blame` on thrust-ports/src/lib.rs blames 41 lines on it without
  the file and 0 with it. GitHub's blame view reads the file by itself.
- ADR-0006, Q-0044, research/0012 and ADR-0044 state the old gap. They are records, so each gets a dated `*(amended 2026-11-05: ..)*`
  note in the repo's existing style and its original text is left as written.

Checked: `mdbook build docs` has 0 `^ERROR` lines (run with the mermaid preprocessor made optional by environment variable, because
mdbook-mermaid is not installed here; nothing was written under docs/), and a search of docs/src finds no remaining claim that clippy,
rustfmt or the dependency audit is absent, and no mention of them outside the pages edited here.

Refs: #40

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​openidconnect@​4.0.1 ⏵ 4.1.09810093100100
Updatedcargo/​testcontainers@​0.23.3 ⏵ 0.27.396 -210093100100
Updatedcargo/​testcontainers-modules@​0.11.6 ⏵ 0.15.09810093100100

View full report

@aRustyDev
aRustyDev merged commit 7d0074f into main Nov 6, 2026
30 checks passed
@aRustyDev
aRustyDev deleted the chore/ci-lint-deny branch November 6, 2026 05:22
aRustyDev added a commit that referenced this pull request Nov 6, 2026
The tags #87 added cite four of its branch commits (26d72a2, 39fa3e9, 9640f91, 14f28db). The repo squash-merges, so none of them is on `main`.
They still resolve through the pull request, but not in `git log`. All ten now cite 7d0074f, the squash commit.

That is the right commit to cite: `git diff bd2c879 7d0074f` is empty, so its tree is byte-identical to the tip of #87, and the tip contains
the code each check exercised. Each check ran on an earlier commit of the branch, and what it exercised did not change afterwards:
check-deps.sh and the classifier (26d72a2) were not touched again, nor was deny.toml (39fa3e9), the lint configuration (9640f91) or the
workflow (14f28db); the one commit after 14f28db changed only docs. The dates stay as they were, because they record when each check ran.

Four files: cicd.md (2 tags), running.md (4), standards.md (1) and architecture-gates.md (3).

`mdbook build docs` has 0 `^ERROR` lines (mdbook-mermaid is not installed here, so the preprocessor was made optional by environment
variable for the check; nothing was written under docs/).

Refs: #40

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 15, 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.

chore(ci): enforce the clippy deny list, cargo fmt --check and cargo-deny; forbid sqlx, sea-orm, diesel in check-deps.sh

1 participant