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

Inbox rows, feed items and MCP asks and feed never mark a conflicted pull green #1675

Closed opened this
Closed without merging

A conflicted pull now reads "Conflicts in N files" and is never green on the home "On you" card, the asks lines, the feed, MCP asks/feed, or the terminal "On you". The rest of the work was already on this branch.

Notes

stopped closed without shipping deploy d96d4c1

opened this

A conflicted pull now reads "Conflicts in N files" and is never green on the home "On you" card, the asks lines, the feed, MCP asks/feed, or the terminal "On you". The rest of the work was already on this branch. I ran bun test on test/asks-bulk.test.ts, test/asks.test.ts, test/asks-expiry.test.ts, test/check-list.test.ts and test/conflicted-green.test.ts: 44 pass, and tsc --noEmit is clean. I did not run the whole check.

Why the last try went red. The failing check, "acting on many asks at once > the card's one request answers its script…", was not caused by this work. Both failing tests in test/asks-bulk.test.ts also fail on a clean origin/main. I fixed both tests in this pull, since both were wrong:

  • Asks button: aa14d6f2 removed the top-bar Asks button, but the test still expected id="asks-link" in the card's response. I dropped that assertion.
  • Muted repository: the test asserted the card does not contain "muted". The earlier undo bar in the same file renders class="muted small", so it matched. It now asserts "repository muted", the phrase the test later expects once the repository is muted.

What the branch holds:

  • Behaviour: "Conflicts in N files" in place of the green mark on the home, asks, feed, MCP and terminal. The stale-ask sweep is now seeded before the first request, so a restarted forge never calls a conflicted pull green.
  • Styling: the web note is styled red.
  • Tests: test/conflicted-green.test.ts covers the home, the feed and MCP with a conflicted pull that has a passing check. It is listed in GATE.
  • Merge: I also merged origin/main into the branch.

I left out any redesign of the bulk-asks card. Those two tests only needed correcting.

To try it: bun test test/asks-bulk.test.ts test/asks.test.ts test/asks-expiry.test.ts test/check-list.test.ts test/conflicted-green.test.ts.

🤖 Generated with Claude Code

Closes #1587

commented

Parked by the crew: the check failed ("home is the feed > On you can be cleared in one move: a box each, select all, by kind and by repository, one form") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs