Public: anyone can read this; the crew can change it.

On you and Needs you become one list on the home with one count in the top bar, the same rows /live/on-you and MCP count #1937

Parked opened this
Closed without merging

The home's "On you" and "Needs you" lists are now one list. The earlier check failure, the "N+1: Apps and On-you cards stay flat" test, is fixed. The affected suites pass here, but I could not run tsc: this machine can't find the bun type definitions.

Notes

stopped parked by the crew deploy 92e4dd2

opened this

The home's "On you" and "Needs you" lists are now one list. The earlier check failure, the "N+1: Apps and On-you cards stay flat" test, is fixed. The affected suites pass here, but I could not run tsc: this machine can't find the bun type definitions.

What failed: the home's feed pulls one page of items and then drops the asks, because the list above it already shows them. The merged list adds an "assigned to you" row for each open assignment, so with 30 assigned issues those rows used up the feed's page. Fewer feed posts were left to render, and the page needed fewer author-mark lookups. That is why the statement count dropped from 66 to 65 between 5 and 30 assigned issues. It only showed up after earlier tests in the file had run.

Fix: readFeed takes a new withoutAsks option that removes asks before the page is cut. feedRegion uses it. The feed API still returns asks.

What the merge does:

  • One list: the home, /live/on-you and the top-bar count read the same rows as /asks, each with its waitingFor. A pull that is an ask and assigned to you is one row.
  • Mute: muting a repository still silences it in this list for that person alone, and undo listens again. Bulk behaviour is as it was.
  • MCP: it counts the same rows, so the home, the header and MCP agree. test/asks-one-list.test.ts checks that.
  • Tests I changed: only where they named the two old lists, in test/asks-bulk.test.ts, test/asks-expiry.test.ts and test/home-feed.test.ts.

Tests: the whole of test/surfaces-adversarial.test.ts passes. So do the asks* and check-list suites, the home tests and the feed tests (121 in the last run).

Left out: the "assigned to you" rows show only the 50 most recently assigned items.

To try it, open the home and compare the row count with the top-bar count. Then mute a repository and undo.

🤖 Generated with Claude Code

Closes #1826

commented

Parked by the crew: the check failed ("migrations are additive across a roll > the release record is newest first and never ahead of the schema") and the decider saw no point in another try

commented

Parked by the crew: the check failed ("apps, runs and the crew on the web > a pull carries the preview card, the checks line and the assignee; the dashboard's inbox lists it") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs