Skip to content

fix(aggregator): cover events page in #1497 table; fix brief-surfaces renderItem call (#4827) - #4842

Merged
dezren39 merged 1 commit into
mainfrom
queue/6944-4827-pm-aggregator-ci
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/6944-4827-pm-aggregator-ci

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Fixes #4827 — main CI failure in pm-aggregator tests (runs 41610811089 and 41615410725, same 2 failures re-verified fresh on current main).

The two failures

  1. curation-1497 decision table — the manifest gained an events page (pm stack: one cross-stack event log (actions, orchestration, sessions, comments in a single chronological stream) #1739, 2026-11-02; src/pages.ts: nav dropdown) that the dashboard: clean up the page list (12 registered pages, overlaps to resolve) #1497 DECISIONS table in test/curation-1497.test.ts does not cover. Fix: record it in the table at its actual tier, events: "dropdown", following the table's existing post-dashboard: clean up the page list (12 registered pages, overlaps to resolve) #1497 addition pattern — no curation ruling promotes it, and new pages do not take primary slots without one.

  2. derived briefs on attention cards — TypeError: items.get is not a function at src/derive.ts executionStrip, via src/render.ts renderItem. The production caller (src/server.ts) and every other test call site pass a Map for items; test/brief-surfaces.test.ts passed a stray extra [] argument before new Map(), shifting every later argument (items ← [], comments ← the Map, provenance ← [], extras ← the provenance object, real extras dropped). Fix: remove the stray argument so the call matches the renderItem signature.

Both changes are test-side; no production code changes.

Verification

  • Targeted: bun test test/curation-1497.test.ts test/brief-surfaces.test.ts — 9 pass / 0 fail.
  • Full aggregator suite on the laptop worktree (after bun install): 1294 pass / 0 fail across 94 files — the same test count as the failing CI runs (1292 pass / 2 fail there).
  • Acceptance per issue main CI failure: pm-aggregator tests (run 41610811089) #4827: a main-branch pm-aggregator tests run should conclude success after this merges (CI runs on push to main).

Queue: task 6944 (repo-health-code-pilot), lane code-a.


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 3, 2026 10:08
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T10:08:04.276054Z
We couldn’t complete this review. Comment @codex review to try again.
779632e 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 3, 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 13 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: b23e9b13-a5cc-4298-ac80-fbdb266d94a0
Commits

Reviewing files that changed from the base of the PR and between 1e3763f and 779632e.

Files selected for processing: 2
  • pm-stack/aggregator/test/brief-surfaces.test.ts
  • pm-stack/aggregator/test/curation-1497.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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@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, you can upgrade your account or 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.

main CI failure: pm-aggregator tests (run 41610811089)

1 participant