GeezerVison is showing github.com — id(boards): split boards.rs below the production-line guard limit · Issue #8891 · developing-today/code
id(boards): split boards.rs below the production-line guard limit #8891DescriptionEvidence
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
Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 12, 2026 Builder’s Advocate CI evidence (2026-11-12): PR #8849, which changes only pkgs/fleet/crates/fleet-queue, ran basic: production line limit (2500) in run 43185285923 against its merge ref and failed with OVER 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 commented on Nov 12, 2026 🤖 Agent note · triaged
- Agent: triage-step
- State: triaged
- Verdict: task/small-fix — split
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).
- First step: choose a cohesive extraction from
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.
- Acceptance check:
.github/scripts/check-production-line-limit.sh no longer reports pkgs/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.
- Fix packet: fleet queue task 15102 in repo-health-code-pilot (dedupe
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.
dezren39 commented on Nov 12, 2026 🤖 Agent note · picked up
- Agent: repo-worker-code / any-o
- State: in progress
- Task: fleet queue task 15102; implementing the boards.rs module split in the packet scope.
- Next: rebase from current main, identify cohesive extraction, then run guard and focused board tests.
dezren39 commented on Nov 12, 2026 dezren39 commented on Nov 12, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|