You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: store_traits.rs is rustfmt-dirty on main — treefmt check fails every id PR and cascades 'dependency failed' over all other id checks #758
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...HEAD shows only that file) failed nix flake check in 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 which clippy-lint, web-lint, cargo-check, test, test-unit, test-int, test-web, test-web-unit, test-web-typecheck, crash-gate and doc all failed with "1 dependency failed" without running.
Independent local check on unmodified origin/main: rustfmt --edition 2024 --check pkgs/id/src/store_traits.rs reports 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 check run whose treefmt checks pass and whose test/clippy/cargo-check legs actually execute and report their own results.
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):
Commit 318792e ("style(id): rustfmt two store_traits.rs asserts unformatted on main"), carried in PR fix(id): let a max-size image fit the upload route's body limit #747, formats exactly the two assert_eq! lines at store_traits.rs:628 and :897 named in this issue. git log --oneline -- pkgs/id/src/store_traits.rs on current main shows 318792e on top of 3458742.
rustfmt --edition 2024 --check pkgs/id/src/store_traits.rs on current main (6583cff): exit 0, no diffs.
PR fix(id-web): reject out-of-range dates in parse_iso_timestamp #757's failing run 40093514156 used a merge ref computed against pre-merge main; its branch (creator/756-iso-range) is being merged up to current main so a fresh check run executes against the fixed tree.
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.
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.