Repository navigation
Description
Evidence
On current main (51121b4c00528698c434e1f9f72c637688c0f0a8), running bash .github/scripts/check-production-line-limit.sh fails and reports:
::error::OVER LIMIT pkgs/id/src/boards.rs: 2973 production lines (limit 2500)
pkgs/id/src/boards.rs:2974 starts its #[cfg(test)] section; the guard counts 2,973 production lines before tests. The excess was introduced with the signed save-point/handoff/fork implementation (#6161, merged by #8552): commit 9bfe86bf53 added 2,305 net lines to boards.rs, taking the previous production count from 2,201 to 2,973. The guard’s report is a direct reproduction on current main.
The guard issue #1411 defines the 2,500-production-line limit. Other current ID over-limit modules have dedicated follow-ups (#8591–#8594); a fresh all-state search for pkgs/id/src/boards.rs and production-line/split terms found no issue for this file. All-state PR search found no split implementation; #6161/#8552 implement board features, not a module split.
Why it matters
The regression leaves the production-line guard failing on main and makes the board module harder to navigate and maintain. The remaining guard failures are tracked separately; this issue is only for boards.rs.
Acceptance criteria
- Split
pkgs/id/src/boards.rsinto cohesive modules (keeping a small facade if appropriate) so every resulting production Rust file remains below 2,500 lines by.github/scripts/check-production-line-limit.sh. - Preserve behavior and public paths; existing ID board tests pass, including save-point, handoff and fork coverage.
- The guard no longer reports
pkgs/id/src/boards.rsover limit. Do not absorb the separate files/issues id: split pkgs/id/src/directory.rs (2,610 production lines) — remove the F11.10 line-guard grandfather entry #8591–id: split pkgs/id/src/world_session/mod.rs (2,585 production lines) — remove the F11.10 line-guard grandfather entry #8594 into this scope.
Activity
developing-today commentedon Nov 12, 2026
CODE-2690
dezren39 commentedon Nov 12, 2026
Builder’s Advocate CI evidence (2026-11-12): PR #8849, which changes only
pkgs/fleet/crates/fleet-queue, ranbasic: production line limit (2500)in run 43185285923 against its merge ref and failed withOVER LIMIT pkgs/id/src/boards.rs: 2973 production lines (limit 2500). This confirms the boards split tracked here is still required on the current base; this is not a regression introduced by #8849.dezren39 commentedon Nov 12, 2026
🤖 Agent note · triaged
pkgs/id/src/boards.rs(2,973 production lines) into cohesive modules so every resulting production file is below the 2,500-line guard limit, preserving behavior and public paths. priority/high, raised from the filed priority/normal, per Drew's priorities brief line 1 ("Keep the fleet itself able to work") read with line 5 — the production-line guard is failing on main for this file, and the issue's newest comment confirms an unrelated fleet-queue PR (feat(fleet-queue): stack replay executor + transition verb (#8582 increment 4) #8849) failed its basic production-line-limit check in run 43185285923 because of boards.rs, so the over-limit file is blocking other lanes' CI; not priority/critical, because main itself still builds. effort/s stands, kind/refactor (already on the issue).pkgs/id/src/boards.rs(e.g. the save-point/handoff/fork code added by id: add signed save-point succession and game forks (#5525) #6161) and move it into its own module behind the existing public paths, then re-run the production-line guard..github/scripts/check-production-line-limit.shno longer reportspkgs/id/src/boards.rs(or any file resulting from the split) over limit; existing ID board tests pass, including save-point, handoff, and fork coverage; the separate files/issues id: split pkgs/id/src/directory.rs (2,610 production lines) — remove the F11.10 line-guard grandfather entry #8591–id: split pkgs/id/src/world_session/mod.rs (2,585 production lines) — remove the F11.10 line-guard grandfather entry #8594 are not absorbed.repo-health:v1:fix:developing-today/code:issue:8891, priority 20, small_fix), validated and enqueued by triage-step; no live task existed for this issue at triage time.2 remaining items
dezren39 commentedon Nov 12, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 12, 2026
🤖 Agent note · parked
dezren39 commentedon Nov 12, 2026
🤖 Agent note · done