Skip to content

fix(id): apply pinned formatters to clear biome/prettier/rustfmt/statix drift (Refs #13751) - #13850

Open
dezren39 wants to merge 1 commit into
mainfrom
code-j/13751-format-drift
Open

dezren39 wants to merge 1 commit into
mainfrom
code-j/13751-format-drift

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Refs #13751 — follow-up slice to #13826 (xaltha's bun root-cause fix, still open). This PR clears the independent formatting drift; it does not close the issue (bun cascade + test-web-unit kitty parity remain).

Summary

Five pkgs/id flake checks failed on main with exit 1 (real drift, not the bun exit-127 cascade): prettier-check, biome-check, rustfmt-check, statix-check, and their aggregate treefmt-check. Fixed by running the repo's own treefmt write (pinned binaries via nix develop) scoped to pkgs/id/treefmt.toml. 115 files, purely mechanical reformatting; no vendor, generated, lockfile, or target paths touched.

Evidence

Before (origin/main d0025c8ad08, reproduced locally through ~/tools/fleet-build-lock):

  • nix build .#checks.x86_64-linux.statix-check → exit 1, single finding nix-common.nix:65 (hash = zip.hash should be inherit)
  • rustfmt-check → exit 1 (Diff in ... across tests/src)
  • biome-check → exit 1 (Found 35 errors, 20 files)
  • prettier-check → exit 1 (Code style issues found in 45 files, 44 real + 1 line-wrap fragment, matches CI run 45260211824 exactly)
  • treefmt-check → exit 1 (formatted 1085 files (108 changed))

After (this branch a72b62b5769):

Ran on the laptop; full nix flake check was not run locally (it needs the bun fix from #13826 first, plus KVM for the NixOS VM checks).

Merge Danger

Low. Diff is formatter output only, verified byte-equivalent intent by the five checks themselves. Order with #13826 does not matter: this PR says Refs, not Fixes, so whichever merges first cannot prematurely close #13751. Remaining after both: test-web-unit kitty parity (symlink dangle, separate slice per #13826's notes).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T23:23:41Z",
    "session_id": "ses_e5df56f0f96ffehM9jP4Rflh06",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/13751-format",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/13751-format",
      "repo": "developing-today/code",
      "branch": "code-j/13751-format-drift",
      "sha": "a72b62b576915271e6eecfe5a38c72c8342c7a89"
    },
    "auth_subject": "oc-code-06",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…ix drift

Refs #13751 — follow-up slice to #13826 (bun root cause).

The main-tier flake check failed five formatter checks with exit 1,
independent of the bun exit-127 cascade:
- prettier-check: 44 md files (book, READMEs, BASELINES, WEB)
- biome-check: 35 errors across 20 ts/json files
- rustfmt-check: long-line joins across tests and src
- statix-check: nix-common.nix:65 hash = zip.hash -> inherit
- treefmt-check: aggregate of the above

Fixed by running the repo's own treefmt write (pinned binaries via
nix develop) scoped to pkgs/id/treefmt.toml. No vendor, generated, or
lockfile paths touched.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 115 files, which is 15 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

CodeRabbit couldn't verify your organization's usage billing state, so no usage-priced review was started. Retry after the billing service recovers.

Check out review usage here.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e145ef64-50be-4f38-94b8-f4d5ae9b0e06
Commits

Reviewing files that changed from the base of the PR and between 4e5f9ce and a72b62b.

Files selected for processing: 115

  • pkgs/id/ARCHITECTURE.md
  • pkgs/id/README.md
  • pkgs/id/WEB.md
  • pkgs/id/benches/BASELINES.md
  • pkgs/id/benchmarks/src/adapters/turso.rs
  • pkgs/id/benchmarks/tests/turso_adapter.rs
  • pkgs/id/book/concepts/architecture.md
  • pkgs/id/book/concepts/currency.md
  • pkgs/id/book/concepts/hosted.md
  • pkgs/id/book/concepts/mcp-and-agents.md
  • pkgs/id/book/design/first-apps.md
  • pkgs/id/book/design/roadmap-and-issue-map.md
  • pkgs/id/book/design/scale-hardening.md
  • pkgs/id/book/development/add-a-guest.md
  • pkgs/id/book/development/add-a-verb.md
  • pkgs/id/book/development/building.md
  • pkgs/id/book/development/keeping-this-book-current.md
  • pkgs/id/book/development/layout.md
  • pkgs/id/book/development/release-and-rollout.md
  • pkgs/id/book/getting-started/installation.md
  • pkgs/id/book/getting-started/shape.md
  • pkgs/id/book/index.md
  • pkgs/id/book/library/facade.md
  • pkgs/id/book/library/guests-and-shells.md
  • pkgs/id/book/operations/backup-and-restore.md
  • pkgs/id/book/operations/deploying-this-book.md
  • pkgs/id/book/operations/services.md
  • pkgs/id/book/operations/troubleshooting.md
  • pkgs/id/book/reference/cli-files.md
  • pkgs/id/book/reference/cli-gallery-walk.md
  • pkgs/id/book/reference/cli-groups-identity.md
  • pkgs/id/book/reference/cli-serve.md
  • pkgs/id/book/reference/cli-tags.md
  • pkgs/id/book/reference/cli-worlds-admin.md
  • pkgs/id/book/reference/cli-worlds.md
  • pkgs/id/book/reference/cli.md
  • pkgs/id/book/reference/configuration.md
  • pkgs/id/book/reference/data-stores.md
  • pkgs/id/book/reference/hosted-worker.md
  • pkgs/id/book/reference/mcp.md
  • pkgs/id/book/reference/native-shell.md
  • pkgs/id/book/reference/repl.md
  • pkgs/id/book/reference/web-ui.md
  • pkgs/id/book/reference/websockets.md
  • pkgs/id/browser/package.json
  • pkgs/id/browser/src/indexeddb_store.ts
  • pkgs/id/browser/test/browser_driver.ts
  • pkgs/id/browser/test/indexeddb_conformance.test.ts
  • pkgs/id/browser/tsconfig.json
  • pkgs/id/config/id-config-v1.schema.json
  • pkgs/id/contract/shell-suite.v1.json
  • pkgs/id/crates/id-cli/src/commands/petname.rs
  • pkgs/id/crates/id-core/JSON_PARSE_INVENTORY.md
  • pkgs/id/crates/id-core/src/admission_gate.rs
  • pkgs/id/crates/id-core/src/graph/attribute.rs
  • pkgs/id/crates/id-core/src/graph/comment_projection.rs
  • pkgs/id/crates/id-core/src/world_presentation.rs
  • pkgs/id/crates/id-core/tests/admission_gate.rs
  • pkgs/id/crates/id-core/tests/attribute_definition.rs
  • pkgs/id/crates/id-core/tests/carried_comment_projection.rs
  • pkgs/id/crates/id-core/tests/existence_receipt.rs
  • pkgs/id/crates/id-core/tests/social_graph_traversal.rs
  • pkgs/id/crates/id-events/src/local_events.rs
  • pkgs/id/crates/id-import-notion/tests/fixtures/database.json
  • pkgs/id/crates/id-import-notion/tests/fixtures/search.json
  • pkgs/id/crates/id-native-shell/capability-statement.json
  • pkgs/id/crates/id-native-shell/src/providers.rs
  • pkgs/id/crates/id-store/src/array_query.rs
  • pkgs/id/crates/id-store/src/namespace_registry.rs
  • pkgs/id/crates/id-store/src/note_blocks.rs
  • pkgs/id/crates/id-store/src/note_checkpoints.rs
  • pkgs/id/crates/id-store/src/related_links.rs
  • pkgs/id/crates/id-store/src/store_traits.rs
  • pkgs/id/crates/id-store/src/stream_subscribe.rs
  • pkgs/id/crates/id-store/tests/namespace_registry_model.rs
  • pkgs/id/crates/id-store/tests/related_links.rs
  • pkgs/id/crates/id-store/tests/stream_subscribe.rs
  • pkgs/id/crates/id-sync/tests/relay_poc.rs
  • pkgs/id/crates/id-worlds/src/world/mod.rs
  • pkgs/id/crates/id-worlds/src/world/tests.rs
  • pkgs/id/crates/id-worlds/src/world_ssh.rs
  • pkgs/id/hosted-worker/README.md
  • pkgs/id/hosted-worker/src/admission-gate.ts
  • pkgs/id/hosted-worker/src/blake3.ts
  • pkgs/id/hosted-worker/src/bridge-auth.ts
  • pkgs/id/hosted-worker/src/bridge-session.ts
  • pkgs/id/hosted-worker/src/bridge-store.ts
  • pkgs/id/hosted-worker/src/ed25519.ts
  • pkgs/id/hosted-worker/src/event.ts
  • pkgs/id/hosted-worker/src/provisioning-surface.ts
  • pkgs/id/hosted-worker/src/provisioning.ts
  • pkgs/id/hosted-worker/src/range.ts
  • pkgs/id/hosted-worker/src/test-harness.ts
  • pkgs/id/hosted-worker/src/user-do.ts
  • pkgs/id/hosted-worker/test/admission-gate.test.ts
  • pkgs/id/hosted-worker/test/bridge-do.test.ts
  • pkgs/id/hosted-worker/test/bridge-event.test.ts
  • pkgs/id/hosted-worker/test/bridge-range.test.ts
  • pkgs/id/hosted-worker/test/bridge-session.test.ts
  • pkgs/id/hosted-worker/test/bridge-store.test.ts
  • pkgs/id/hosted-worker/test/export.test.ts
  • pkgs/id/hosted-worker/test/fixtures/hosted-export-sets.json
  • pkgs/id/hosted-worker/test/id-uri-vectors.test.ts
  • pkgs/id/hosted-worker/test/provisioning-surface.test.ts
  • pkgs/id/hosted-worker/test/provisioning.test.ts
  • pkgs/id/hosted-worker/test/routing.test.ts
  • pkgs/id/nix-common.nix
  • pkgs/id/src/currency/conversion.rs
  • pkgs/id/src/currency/gateway_service.rs
  • pkgs/id/src/lib.rs
  • pkgs/id/tests/bridge_fixtures.rs
  • pkgs/id/tests/config_invariants.rs
  • pkgs/id/tests/first_app_poc.rs
  • pkgs/id/tests/fixtures/port-v1.json
  • pkgs/id/tests/store_authority_contract.rs

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

Named blocker (AUDIT-7 Batch A): the prescribed laptop execution route is currently unreachable from this lane (fleet shell targets: laptop and Codespaces both unreachable). A merge-tree check against the fetched current origin/main also surfaced content conflicts in pkgs/id/ARCHITECTURE.md, pkgs/id/book/design/first-apps.md, pkgs/id/book/development/add-a-guest.md, pkgs/id/book/library/guests-and-shells.md, and pkgs/id/book/reference/cli-worlds-admin.md. I aborted the local merge without changing this PR; no formatter checks were rerun. Resume from the laptop worktree when that route is available, resolve/verify the overlaps, then merge.

This branch has not been deployed

No deployments
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.

main-broken: developing-today/code id @2d21fb3 — full (main tier): nix flake check

1 participant