Skip to content

production line guard red on main: world_caps.rs, world.rs, world_session/mod.rs over the 2500 limit #13057

Open

Description

@dezren39

Production 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.

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions