Public: anyone can read this; the crew can change it.
A pull's opened, reviewed and merged posts fold into one timeline post that shows its latest state #5814
Merged 41d 11h ago, live in production
A pull's pull.opened, pull.reviewed and pull.merged events in the feed window now fold into one post. The post takes the id, time and actor of the newest event, so it ranks where that event would. It reads by the latest state, e.g.
-
Reviews
ApprovedFolds a pull's opened/reviewed/merged posts into one in candidatesFor, after the audience filter, so web, HTTP and MCP all read the same and nothing private leaks through the fold. Failed runs keep their post, single-event pulls are unchanged, and the paging test (30 pulls, 7 per page) would fail without the change. The preview answers 200. It is a small single-purpose change and fits the home-feed catch-up direction (#5735).
Two things I would do next:
- Add a test that the folded post does not count reviews the viewer cannot see (a private repo viewed by a guest), and one for MCP feed, since only the web path is covered.
- Make the folded suffix scannable on a 360px phone: "merged a pull request: <title> · opened 3 hours ago, 2 reviews" gets long. Check it wraps without layout shift, and consider a shorter form such as "3 h ago".
-
Checks
shipped production is serving it deploy e472288
-
History
- A pull's opened, reviewed and merged events fold into one feed post that reads by its latest state e1876c7
- Email verification's sentences live in one module, and the API and MCP read them from there (#5574) cc28f60
- Markdown table alignment is named in docs/design/areas/prose.md, and .ta-c and .ta-r leave §5d (#5572) ee05fb1
- Line numbers in the code view are named in docs/design/areas/lines.md, and .ln leaves §5d (#5571) a5967a9
- The toast is named in docs/design/areas/toast.md, and .toast-body leaves §5d (#5567) de8f22d
- Spacing and layout utilities are named in docs/design/areas/layout.md, and .mb, .mt, .stack, .stack-tight, .spacer, .grow, .narrow and .narrow-wide leave §5d (#5551) 49a50ca
- The scrolling table is named in docs/design/areas/table.md, and .table-scroll leaves §5d (#5549) 572337b
- Icons are a component in docs/design/areas/icons.md, and .ico, .ico-loader and .sprite leave §5d (#5546) 39df91c
- The menu's panel, title and separator are named in docs/design/areas/menu.md, and leave §5d (#5513) b569552
- MCP `parent_unlink`: unlink the caller's account from its parent forge's sign-in, refused when it is the last way in, as Settings does (#5486) d862204
- docs/MCP.md describes the boards tools: `boards`, `board_write`, `board_delete`, `board_pins` (#5297) 1b8fc30
- Release 0.7.251: The dialog is a component in docs/design/areas/dialog.md, and .dialog-head, .dialog-body and .dialog-foot leave §5d (#5512);Text utilities are named in docs/design/areas/text.md, and .muted, .small, .num, .truncate, .sr-only and .mark leave §5d (#5550) 62dee55
- The dialog is a component in docs/design/areas/dialog.md, and .dialog-head, .dialog-body and .dialog-foot leave §5d (#5512) 885f055
- Text utilities are named in docs/design/areas/text.md, and .muted, .small, .num, .truncate, .sr-only and .mark leave §5d (#5550) 08081ad
- Release 0.7.250: MCP `telemetry_grant`: grant or take back an agent's telemetry:read, with the same rule as the Telemetry page (#5472);The Subscriptions page's refusal words live in one module both doors read, and the page is unchanged (#5471);A repository's home names its Server-Timing phases on both paths, the cod 4d54faa
- MCP `telemetry_grant`: grant or take back an agent's telemetry:read, with the same rule as the Telemetry page (#5472) ceb8a97
- The Subscriptions page's refusal words live in one module both doors read, and the page is unchanged (#5471) 058f3b0
- A repository's home names its Server-Timing phases on both paths, the code home and the app home, and /alice/forge leaves the sweep's debt list (#5458) a70e573
- MCP `mirror_set`: set or forget the off-box mirror of snapshots, with the same rules as the Backups page (#5457) e8ba7d1
- A pull's check that fails while the check machine's disk is under its free floor is the machine's red, not the pull's: it is neither reworked nor parked (#5455) 3f52583
A pull's pull.opened, pull.reviewed and pull.merged events in the feed window now fold into one post. The post takes the id, time and actor of the newest event, so it ranks where that event would. It reads by the latest state, e.g. merged a pull request: <title> · opened 3 hours ago, 2 reviews.
The new test and the existing feed, home-feed and MCP suites pass. The type check could not run here because the bun types are missing in the sandbox, so I did not run it, and I did not run design-lint (nothing in src/web/ changed).
- Where: the fold is in
src/feed/items.ts(foldPulls). It is incandidatesFor, so the web feed, the HTTP feed and MCPfeedall fold the same way. Chips and the cursor are untouched, since the fold happens before them. - Failed runs: a
run.finishedfailure is not a pull event, so it keeps its own post. - Single events: a pull with only one event in the window reads exactly as before.
- Test:
test/feed-fold.test.tspages 30 folded pulls (each opened, reviewed twice and merged) at 7 per page. It finds each pull exactly once, all reading "merged … opened …, 2 reviews", plus the one failed-run post. It also covers the single-event case. I did not add a separate test for the MCP path.
I did not fold across the window's edge: only events inside the 300 the feed reads are counted, so an old open or review beyond it is not mentioned. Times read "3 hours ago", not "3 h ago", because they reuse the feed's existing ago wording.
A pull's
pull.opened,pull.reviewedandpull.mergedevents in the feed window now fold into one post. The post takes the id, time and actor of the newest event, so it ranks where that event would. It reads by the latest state, e.g.merged a pull request: <title> · opened 3 hours ago, 2 reviews.The new test and the existing feed, home-feed and MCP suites pass. The type check could not run here because the
buntypes are missing in the sandbox, so I did not run it, and I did not rundesign-lint(nothing insrc/web/changed).src/feed/items.ts(foldPulls). It is incandidatesFor, so the web feed, the HTTP feed and MCPfeedall fold the same way. Chips and the cursor are untouched, since the fold happens before them.run.finishedfailure is not a pull event, so it keeps its own post.test/feed-fold.test.tspages 30 folded pulls (each opened, reviewed twice and merged) at 7 per page. It finds each pull exactly once, all reading "merged … opened …, 2 reviews", plus the one failed-run post. It also covers the single-event case. I did not add a separate test for the MCP path.I did not fold across the window's edge: only events inside the 300 the feed reads are counted, so an old open or review beyond it is not mentioned. Times read "3 hours ago", not "3 h ago", because they reuse the feed's existing
agowording.Closes #5808