Skip to content

fix(aggregator): item detail pages — empty sections say why (#1500) - #10687

Merged
dezren39 merged 1 commit into
mainfrom
queue/16718-1500-item-detail-empty-sections
Nov 16, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16718-1500-item-detail-empty-sections

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Fixes #1500 (queue task 16718).

Item detail pages rendered empty sections as facts about the work when they were facts about the dashboard's resolution path. This makes the sections say why, keyed only off the provenance strings the renderers already receive (no new data plumbing, per the corrected packet for task 16718):

  • src/model.ts: ProvenanceFacet.state gains 'partial-fixtures'.
  • src/sources/live.ts: the facet classifier marks an items facet whose provenance contains + fixtures for N ref(s) outside the pool as partial-fixtures instead of live.
  • src/render.ts (renderItem): when some linked refs did not resolve, the Linked header carries the tally and cause — e.g. Linked issues / PRs — 2 linked · 0 resolved — resolution fell back to fixtures (projector off, #1199); fully resolved keeps the plain header. When the comment facet is fixture-sourced, a banner above the Activity stream says so and the empty row reads no comments loaded — the comment stream is fixture-sourced while the projector is off (#1199) instead of a bare no comments; live facet keeps no comments with no banner.
  • src/render.ts (renderDiscuss): same fixture banner, plus the honest empty wording when the thread is empty and the comment facet is fixture-sourced.
  • test/item-detail-honesty-1500.test.ts (new): both facet states for both sections (partial vs fully resolved linked; fixture vs live comments), renderDiscuss both states, and the live-source classifier (mixed pass → partial-fixtures, pool-only → live). Oracle: the exact header/banner/empty-row strings from issue fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500's design.

Tests:

  • bun test test/item-detail-honesty-1500.test.ts test/items-resolution.test.ts — 15/15 pass.
  • bun run typecheck — pass (after bun install in the worktree).
  • Full aggregator suite: 2542 pass / 17 fail, identical failure count to the clean-tree baseline (2532 pass / 17 fail; the delta is exactly the 10 new tests) — the 17 failures are pre-existing (orchestration registry tests + hook timeouts), verified by running the suite on the stashed clean tree.

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

@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 10:34
@chatgpt-codex-connector

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

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-16T10:34:36.434111Z
We couldn’t complete this review. Comment @codex review to try again.
b1bdbdf Manual request
ℹ️ 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 16, 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 46 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: 16ce37e8-daf8-4dc5-8ae2-306a57e68a91
Commits

Reviewing files that changed from the base of the PR and between a9720c3 and b1bdbdf.

Files selected for processing: 4

  • pm-stack/aggregator/src/model.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/test/item-detail-honesty-1500.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.

@dezren39

Copy link
Copy Markdown
Member Author

@codex review

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

@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1
state: merge disposition
lane: code-d
task: 16718
pr: #10687

Codex findings gate: the Codex review failed to run on this PR twice (on open, and again after a @codex review retry) — the Codex connector reports its code-review usage limits are reached. There are zero Codex review comments / findings on this PR (verified via the PR review-comments API: 0), so there is no undispositioned finding. Merging under the standing criteria instead: targeted tests verified locally (15/15 in the new + items-resolution suites), typecheck passes, full-suite failure count identical to the clean-tree baseline (17 pre-existing), diff matches the #1500 packet scope, and no held labels apply.

@dezren39
dezren39 merged commit 7136c09 into main Nov 16, 2026
1 check passed
@dezren39
dezren39 deleted the queue/16718-1500-item-detail-empty-sections branch November 16, 2026 10:36
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard.

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.

fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments)

1 participant