Skip to content

aggregator: join queue state into the Path to Phase 12 panel (#9922) - #10117

Merged
dezren39 merged 1 commit into
mainfrom
queue/16686-9922-path-panel
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16686-9922-path-panel

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Completes #9922: the Path to Phase 12 panel now joins queue state from the fleet-queue collector (#9920, closed/landed) alongside the live GitHub state.

What was already on main

The panel, the #1235 step parser, the GitHub join (phase12.ts / phase12PanelHtml), and the project-config.ts narrative reduction to a pointer all landed with the earlier splits. The one piece the acceptance still owed was the queue half of the join, which phase12.ts explicitly waited on the collector for. The collector has landed, so this PR wires it through.

Changes

  • src/phase12.ts — phase12QueueByRef() groups collector tasks by the repo-qualified ref of the issue they serve (the collector's dedupe-key/payload join already resolved repo + issue; unjoined tasks are skipped, never guessed at), newest first. joinPhase12Steps() takes an optional queue snapshot and attaches queueTasks to each step; without one the join stays empty and rendering is GitHub-only, as before.
  • src/render.ts — phase12PanelHtml() accepts the queue snapshot (threaded from the queueSnap the board render already receives for the Queue & fleet panel). Per step it renders the newest task's status badge (queue: <status> with task id, lane, and progress stage; earlier tasks counted, not hidden), or the honest no queue task complement. The source line now names the collector and its fetch time; a failed queue read withholds task state and says so; a stale queue snapshot renders the steps behind a stale-queue warning (the step list is the spine, the task states are the perishable part — the body snapshot's own stale rule is unchanged).

Verification

  • bun test test/phase12.test.ts test/queue.test.ts test/f12-readiness.test.ts — 41 pass / 0 fail, including new coverage: grouping/order/skip rules for phase12QueueByRef, per-step attachment in the join, and panel rendering for the badge, the no-task complement, the stale warning, and the read-failed withholding.
  • bunx tsc --noEmit — no errors in the touched files.

Acceptance: steps render with per-step issue state from GitHub data ✔ and queue state joined by dedupe key where a task exists ✔; no hand-typed step state remains in project-config.ts for this section ✔ (pointer text only, landed earlier); tests cover the #1235 parsing (pre-existing fixture suite) and the join ✔ (this PR).


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

The panel, step parser, GitHub join, and project-config pointer landed with the earlier #1239 splits; the queue half of the join waited on the fleet-queue collector (#9920), which has now landed. phase12QueueByRef groups collector tasks by the ref of the issue they serve (dedupe-key join, unjoined tasks skipped), joinPhase12Steps attaches them per step, and the panel renders the newest task status per step with stale/failed queue reads handled honestly (warning banner / withheld, never silently old).
@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 16:15
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T16:15:07.320463Z
We couldn’t complete this review. Comment @codex review to try again.
b2ba3cd 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.

@coderabbitai

coderabbitai Bot commented Nov 14, 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 59 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: 4e3d8a92-4a5e-4d8c-a970-174fa4c62f23
Commits

Reviewing files that changed from the base of the PR and between 1bd2c80 and b2ba3cd.

Files selected for processing: 3

  • pm-stack/aggregator/src/phase12.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/test/phase12.test.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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

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.

1 participant