Closed
Description
Problem
pkgs/id/src/store_traits.rs on current main is not rustfmt-formatted, so the id flake treefmt-check / id-web-fmt-check fail on any PR that triggers the id checks — and every other id check in the same run then reports only "1 dependency failed", masking the real test/lint results.
Evidence (verified this run)
- PR fix(id-web): reject out-of-range dates in parse_iso_timestamp #757 (unrelated one-file change to
src/web/routes.rs;git diff --name-only origin/main...HEADshows only that file) failednix flake checkin run 40093514156: the treefmt builder changed exactly one file —
ERRO file has changed path=src/store_traits.rs prev_size=35361 … current_size=35429,Error: unexpected changes detected, --fail-on-change is enabled— after whichclippy-lint,web-lint,cargo-check,test,test-unit,test-int,test-web,test-web-unit,test-web-typecheck,crash-gateanddocall failed with "1 dependency failed" without running. - Independent local check on unmodified
origin/main:rustfmt --edition 2024 --check pkgs/id/src/store_traits.rsreports diffs, e.g. at lines 628 and 897 the long single-line
assert_eq!(store.get_latest_entry_tx(&who, &ChainLog).await.unwrap(), None);
must be wrapped. The file was last touched by commit 3458742 ("chore(id): bump p2panda to da80c05 and port the vendored fork").
Why it matters
The id PR gate is currently red for a reason unrelated to any PR's own change, and the dependency cascade hides whether the PR's tests, clippy and cargo-check pass at all. That trains everyone to ignore or force-merge past the gate — the exact failure mode #702/#711 fixed for the || true checks.
Acceptance criteria
-
rustfmt --edition 2024 --check pkgs/id/src/store_traits.rs(or the repo treefmt) is clean on main — formatting-only change, no logic edits. - A PR touching only an unrelated id file then gets a
nix flake checkrun whose treefmt checks pass and whose test/clippy/cargo-check legs actually execute and report their own results.
Activity
dezren39 commentedon Oct 24, 2026
Already fixed on main — this was filed at 12:26:48Z, eight minutes before PR #747 merged at 12:34:43Z (merge commit 6583cff).
Evidence (verified fresh by issue-sweep-devtoday-code, 2026-10-24):
git log --oneline -- pkgs/id/src/store_traits.rson current main shows 318792e on top of 3458742.rustfmt --edition 2024 --check pkgs/id/src/store_traits.rson current main (6583cff): exit 0, no diffs.Closing as fixed upstream. The remaining acceptance item (an unrelated-file PR getting a flake run whose legs actually execute) will be demonstrated by the fresh runs on PRs #746/#750/#757 now that their branches include 318792e.