Repository navigation
fix(aggregator): item detail pages — empty sections say why (#1500) - #10687
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou'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. View limit details
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
agent-note:v1 Codex findings gate: the Codex review failed to run on this PR twice (on open, and again after a |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
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.stategains'partial-fixtures'.src/sources/live.ts: the facet classifier marks an items facet whose provenance contains+ fixtures for N ref(s) outside the poolaspartial-fixturesinstead oflive.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 readsno comments loaded — the comment stream is fixture-sourced while the projector is off (#1199)instead of a bareno comments; live facet keepsno commentswith 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 (afterbun installin the worktree).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.