GeezerVison is showing github.com — production line guard red on main: world_caps.rs, world.rs, world_session/mod.rs over the 2500 limit · Issue #13057 · developing-today/code
production line guard red on main: world_caps.rs, world.rs, world_session/mod.rs over the 2500 limit #13057DescriptionProduction line guard is red on main: three id .rs files over the 2500 limit
Running .github/scripts/check-production-line-limit.sh against current main (verified 2026-11-23, in a clean worktree off origin/main at f93acb47150) fails on three Rust files that crossed the limit after the guard last ran green:
pkgs/id/crates/id-caps/src/world_caps.rs: 2547 production lines
pkgs/id/crates/id-cli/src/commands/world.rs: 2596 production lines
pkgs/id/crates/id-worlds/src/world_session/mod.rs: 2504 production lines
Guard output tail:
production-line-guard: checked 921 production .rs files and 242 production .ts files, limit 2500
production-line-guard: FAILED - file(s) over the 2500 production-line limit listed above
(The TypeScript half is green apart from the three grandfathered warnings for #13051/#13052/#13053.)
Fix shape
Per the guard's own convention: split each module under the limit, or — if a file's growth predates this run and a split is scheduled — grandfather it with a linked split issue. Each file likely wants its own split decision; this issue tracks the guard returning to green on main.
Found by Lane KV (archer) while re-pointing the #12671 TypeScript grandfather entries. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Claim — grok, 2026-11-23 01:42 CST. Slice: bring check-production-line-limit.sh back to green on main by splitting the three over-limit id files under 2500 production lines: id-caps/src/world_caps.rs (2547), id-cli/src/commands/world.rs (2596), and id-worlds/src/world_session/mod.rs (2504). Each split is a pure move of a self-contained block into a sibling submodule, with no behavior change. These files crossed the limit after the guard landed, so they get split, not grandfathered. Premise re-verified on main e4879b8c2 (guard fails on exactly these three). I'll work in a worktree off main, then open a PR, verify with cargo check/tests for the touched crates, and merge. dezren39 commented on Nov 23, 2026
Main CI failure recurrence — production-line-guard run 45246528902 (schedule on main, head b6efed968d252df1920bb46633e7f08e708ebef8, 2026-11-23T19:12:38Z), job basic: production line limit (2500), step "Guard passes on this tree (#1411)".
A fourth file is now over the limit, and one of the three originally listed has grown:
OVER LIMIT pkgs/id/benches/world_bench.rs: 3362 production lines (limit 2500)
OVER LIMIT pkgs/id/crates/id-caps/src/world_caps.rs: 2547 production lines (limit 2500)
OVER LIMIT pkgs/id/crates/id-cli/src/commands/world.rs: 2614 production lines (limit 2500)
OVER LIMIT pkgs/id/crates/id-worlds/src/world_session/mod.rs: 2504 production lines (limit 2500)
production-line-guard: checked 954 production .rs files and 268 production .ts files, limit 2500
Re-verified locally on a clean worktree of origin/main (44f13425f0e, 2026-11-23T20:14Z) — the guard still fails with exactly these four. world_bench.rs (3362) is newly over and needs the same treatment: split under 2500, or grandfather it with a linked split issue per the guard's convention.
Live fix: queue task 21456 (repo-health-code-pilot, lane oc-code-06, claimed 2026-11-23T20:26:44Z, lease to 2026-11-24T00:26:43Z). No second task or session started. dezren39 commented on Nov 23, 2026 Recurrence on main (2026-11-23T19:12Z, sha b6efed968d2), run 45246528902 job 137944618659:
pkgs/id/benches/world_bench.rs: 3362 production lines (limit 2500) — new, not in this tracker before
world_caps.rs: 2547
world.rs: 2598
world_session/mod.rs: 2504
No live task existed for this issue; enqueued fix task 21456 (repo-health:v1:fix:developing-today/code:issue:13057) covering all four files including the new world_bench.rs split. dezren39 commented on Nov 23, 2026 Lane code-g (task 21456) fresh re-verification, no merge per scope.
- PR Split four oversized files under production-line limit (refs #13057) #13783 head
05b7bc63489 still OPEN, mergeable clean. Guard passes on the PR head (production-line-guard: OK, 958 rs + 268 ts files).
- Guard FAILS on current origin/main (
96bffbaec1f) with FIVE files over limit, not four: the packet's four (world_bench.rs 3362, world_caps.rs 2547, world.rs 2614, world_session/mod.rs 2504) plus a NEW one, pkgs/id/crates/id-worlds/src/world_ssh.rs at 2665 production lines. It grew +633/-45 after the PR base via id: Phase 13 F13.5 kitty keyboard protocol on the raw input path #787 (0b344c9, c151547, 00520a8); on the PR head it is 4563 total lines and under the production-line limit.
- Net: Split four oversized files under production-line limit (refs #13057) #13783 is still worth merging (clears its four), but main will stay red on world_ssh.rs afterward. That file needs its own split-or-grandfather slice as a follow-up; it is out of this task's scope and stacking it here would conflict with the open PR.
- Parking this task on Split four oversized files under production-line limit (refs #13057) #13783 merge/close.
dezren39 commented on Nov 24, 2026 Lane xaltha (task 21456) follow-up slice: the four files from #13783 are merged; the remaining blocker was world_ssh.rs at 2665 production lines (confirmed on origin/main 50ead6160, the only file over the limit).
PR #14042 moves the SSH client block (SshTarget, HostKeyCheck, HostKeyTrust, SshConnection, connect_frames) into new submodule world_ssh/client.rs with re-exports, a pure move. bash .github/scripts/check-production-line-limit.sh is green on the PR head; rustfmt clean.
Remote cargo verification is in flight: the first fleet-command run failed on a runner cache permission error (root-owned cargo registry unreadable by the build user), not the code; retry dispatched. PR CI is the compile/test check for the head. After merge, the next main-branch production-line-guard run is the done check for this issue. dezren39 commented on Nov 24, 2026 Verification update on PR #14042: the remote cargo retry failed on a pre-existing main breakage, not the split — id-events does not compile on current main (E0599 at local_events.rs:355: SharedEventStore has no compact method; introduced by merged PR #13480). The guard script passes on the PR head and the split is a pure move. The id-events compile fix is the next slice; PR CI will show the same failure until it lands.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|