Title: id: store_traits.rs is rustfmt-dirty on main — treefmt check fails every id PR and cascades 'dependency failed' over all other id checks · Issue #758 · developing-today/code · GitHub
Open Graph Title: id: store_traits.rs is rustfmt-dirty on main — treefmt check fails every id PR and cascades 'dependency failed' over all other id checks · Issue #758 · developing-today/code
X Title: id: store_traits.rs is rustfmt-dirty on main — treefmt check fails every id PR and cascades 'dependency failed' over all other id checks · Issue #758 · developing-today/code
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 dep...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/developing-today/code/issues/758
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: store_traits.rs is rustfmt-dirty on main — treefmt check fails every id PR and cascades 'dependency failed' over all other id checks","articleBody":"## Problem\n\n`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.\n\n## Evidence (verified this run)\n\n- PR #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 —\n `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.\n- 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\n `assert_eq!(store.get_latest_entry_tx(&who, &ChainLog).await.unwrap(), None);`\n must be wrapped. The file was last touched by commit 3458742f (\"chore(id): bump p2panda to da80c05 and port the vendored fork\").\n\n## Why it matters\n\nThe 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.\n\n## Acceptance criteria\n\n- [ ] `rustfmt --edition 2024 --check pkgs/id/src/store_traits.rs` (or the repo treefmt) is clean on main — formatting-only change, no logic edits.\n- [ ] 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.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T12:26:48Z","url":"https://github.com/developing-today/code/issues/758"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:465333e2-b666-8eb0-78b3-3bda5f97cff1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C624:20398C:75E5DF:9DCADD:6B062F44 |
| html-safe-nonce | a60105fe32bdbb1cb0e8148dc179227e7cc56c822f4c3eb3d00b80dd9348ee9b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjI0OjIwMzk4Qzo3NUU1REY6OURDQUREOjZCMDYyRjQ0IiwidmlzaXRvcl9pZCI6Ijg4MjY5MDcwNjgyODA0NjE0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15979626bc1b942d03e85cbbe84b8d78bb2488116403a450bfa3fa6e12d6bb25 |
| hovercard-subject-tag | issue:6012911754 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/758/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4bedec9343f76e59d43b3d19f73f2eaa00b29379c419532cac2bb95365c4b68/developing-today/code/issues/758 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4bedec9343f76e59d43b3d19f73f2eaa00b29379c419532cac2bb95365c4b68/developing-today/code/issues/758 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width