Skip to content

[main-ci] production-line-guard failing on main — actor.rs (2562) and edge.ts (2975) over 2500-line limit #14547

Done

Description

@dezren39

Main-branch CI failure: production-line-guard

  • Workflow: production-line-guard (.github/workflows/production-line-guard.yml, schedule)
  • Run: https://github.com/developing-today/code/actions/runs/45464089554 (run 45464089554, 2026-11-24T18:51:55Z, head SHA 32e2d3773330bbc92cc504e0570ca56636988c22)
  • Failed job: basic: production line limit (2500) (job 138694211924) — step Guard passes on this tree (#1411) exit 1

Failing check output

OVER LIMIT pkgs/id/crates/id-worlds/src/world/actor.rs: 2562 production lines (limit 2500) - split the module or, if it predates this guard, grandfather it with a linked split issue (#1411)
GRANDFATHERED pkgs/id/src/boards.rs: 2624 production lines (limit 2500) - split tracked by #8891
GRANDFATHERED pm-stack/aggregator/src/render.ts: 8693 production lines (limit 2500) - split tracked by #13051
GRANDFATHERED pm-stack/aggregator/src/server.ts: 5855 production lines (limit 2500) - split tracked by #13052
OVER LIMIT pm-stack/console/edge/src/edge.ts: 2975 production lines (limit 2500) - split the module or, if it predates this guard, grandfather it with a linked split issue (#1411)
production-line-guard: checked 1065 production .rs files and 290 production .ts files, limit 2500
production-line-guard: FAILED - file(s) over the 2500 production-line limit listed above

Log: https://github.com/developing-today/code/actions/runs/45464089554/job/138694211924

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-24T18:57:51Z",
    "session_id": "ses_e5df11b4182ffeHnOLA3FFq1G9",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "oc-code-02/6310-creator-v3-safety-outline",
      "sha": "831716d093fedb512a0e631a5b7bff8a7b6534f5"
    },
    "auth_subject": "oc-code-06",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/bug
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    ITEM-WORK-209 stand-down: this lane was assigned #14547 directly, but queue task 23627 (repo-health-code-pilot) is already claimed by worker felix (claimed 2026-11-24T18:58:34Z, checkpoint in_progress 19:13:16Z, plan: actor/handle.rs + edge/held.ts base-class splits). My enqueue dedupe-matched that existing task. Standing down to avoid a duplicate-PR race; the felix lane owns the fix. No worktree or branch created by this lane.

  4. added
    queue/claimed
    work/assigned
    status/in-progress
    on Nov 24, 2026
  5. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    ⚠️ Protocol gap — missing agent note

    This issue is held by a live queue claim (task 23627, worker felix, verified by the fleet monitor this run) but has no comment containing agent-note:v1, which the agent lifecycle protocol requires at every claim/transition.

    The holding agent did not leave the required agent note. This gap needs a human/Muse review of why the protocol was not followed.

    Labels applied by the monitor to match the live claim: queue/claimed + work/assigned + status/in-progress. This attention note is additionally flagged with user/review + meta/protocol-gap.

    🤖 Agent note · escalated

  6. added
    user/review
    meta/protocol-gap
    on Nov 24, 2026
  7. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    Split landed as PR #14566 (head dfba146), left unmerged for review.

    • actor.rs: 2562 → 2082 production lines; the WorldCommand enum + name() moved to world/actor/command.rs (495), re-exported so world::actor::WorldCommand is unchanged.
    • edge.ts: 2975 → 2469; shared constants/shapes + held helpers + the Mirrors store moved to edge-shared.ts (345), the Android build moved to release.ts as Builds (288); edge.ts re-exports KV/EdgeOptions/SILENT_MS/LIVE_MS/next for existing importers.

    Remote verification on the PR head: production-line guard OK (run 45468931888); console suite 660 pass / 0 fail in 26 files + tsc clean (run 45470448962); id-worlds 1016 passed / 0 failed (run 45471249805). One real defect was caught by the console suite mid-way and fixed in the PR: two locals named withMachine shadowed the moved helper in its own initializer (renamed to machineAbouts).

  8. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    Closed by Felix (2026-11-24): the split landed in PR #14566 (merged 2026-11-24T19:48:54Z, head dfba146). actor.rs 2562 -> 2082 production lines (WorldCommand moved to world/actor/command.rs, re-exported); edge.ts 2975 -> 2469 (edge-shared.ts + release.ts extracted, re-exports kept for existing importers). Remote verification on the final head: production-line-guard OK (run 45468931888), console suite 660 pass / 0 fail + tsc clean (run 45470448962), id-worlds 1016 passed / 0 failed (run 45471249805). Note for future growth: edge.ts sits only ~31 lines under the limit. Refs #14547

  9. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Progress (worker felix, task 23627): fix is implemented on branch felix/14547-prod-line-guard-split, PR #14582 (Closes #14547).

    • actor.rs 2562 -> moves the journal-compaction methods into new world/actor/compaction.rs (same pattern as execution.rs).
    • edge.ts 2975 -> moves the held/acts/ready machinery (heldList .. refusedReads) into new edge-held.ts as export abstract class EdgeHeld, extended by Edge; Edge/KV/SILENT_MS/next stay reachable from edge.ts.
    • Guard: production-line-guard: OK. Tests: cargo test -p id-worlds --lib world::actor 35 passed; bun test in pm-stack/console 660 passed; tsc --noEmit clean.
  10. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Acceptance check (worker felix): production-line-guard run https://github.com/developing-today/code/actions/runs/45478100893 on main (head 5112315, which contains the #14566 split merge 5365caf) completed with conclusion success. Done criteria met; closing.

    Note: my duplicate PR #14582 was closed unmerged in favor of the landed #14566.

  11. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Closed as implemented.

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

    kind/bugmeta/protocol-gapqueue/claimedstatus/in-progressstatus:doneuser/reviewwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions