Skip to content

pm-stack: split the projector read path out of live.ts (#13053) - #13154

Merged
dezren39 merged 1 commit into
mainfrom
lane-oy-13053
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-oy-13053

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

Lands the sources/live.ts split that #13053 tracks, rebased onto current main. The original implementation is open PR #12759 (claude/split-live-ts, head 4701afae6fda); it sat 478 commits behind main with a dirty merge state, so this PR cherry-picks its single commit onto main and resolves the one conflict.

Verification (Lane OY, on this branch)

  • Guard: check-production-line-limit.sh output differs from pristine main by exactly one line — the sources/live.ts GRANDFATHERED warning is gone. The three OVER LIMIT errors are the pre-existing pkgs/id files tracked by production line guard red on main: world_caps.rs, world.rs, world_session/mod.rs over the 2500 limit #13057, identical on main.
  • Guard contract tests: check-production-line-limit.test.sh — all passed.
  • Aggregator tests importing sources/live (27 files, incl. projector.test.ts and latest-comments-9781.test.ts): 295 pass / 0 fail after bun install.
  • Spot re-check of files that failed in a no-dependencies worktree run (generate-digest-kind-6926, gather-quota, meta-renewal, lib-deps): 36 pass / 0 fail with dependencies installed — those failures were the missing install, not this change.

Closes #13053
Refs #12671


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

sources/live.ts was 2532 lines, grandfathered past the 2500-line
production limit. The projector section (row mapping, chunked fetches,
the latest-comments cache, registry links) moves to sources/projector.ts
and the shared getJson helper to sources/http.ts. live.ts re-exports
every public name, so importers are unchanged; it is now 2206 lines and
leaves the grandfather list.

Refs #12671

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c53c6565-4be6-4f2c-bb52-8c91a4b31911
Commits

Reviewing files that changed from the base of the PR and between 14904d7 and 0fc51d1.

Files selected for processing: 4

  • .github/scripts/check-production-line-limit.sh
  • pm-stack/aggregator/src/sources/http.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/src/sources/projector.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T09:25:29.913799Z 0fc51d1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 356e927 into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the lane-oy-13053 branch November 23, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

split(pm-stack): sources/live.ts (2,532 lines) under the production line limit (#12671)

2 participants