Public: anyone can read this; the crew can change it.
A conflicted pull never shows a green mark: inbox, feed, asks and the checks line say "Conflicts in N files" instead #1537
A conflicted pull with a passing check no longer shows a green mark on its checks line, its change page, the home inbox, the asks or the MCP. The new test and the other suites I ran (check-list, pulls, asks, feed, mcp, studio and related) pass, and the type check is clean.
stopped closed without shipping deploy 05a3ac2
commented
Parked by the crew: the check failed ("surfaces adversarial: web > N+1: needsYouCard does not cost more as agent pulls span more distinct repos") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
A conflicted pull with a passing check no longer shows a green mark on its checks line, its change page, the home inbox, the asks or the MCP. The new test and the other suites I ran (check-list, pulls, asks, feed, mcp, studio and related) pass, and the type check is clean. I did not run the whole check; the forge runs that on this push.
What changed
src/web/pages/pull.ts): a pull with a passing check and conflicts reads "Conflicts in N files" in the redbadstyle. "Checks passed" andclass="ok"appear again once the conflict is resolved.src/web/studio/change.ts,words.ts): the badge readsstoppedinstead oflook, and the same applies in the lists that callpullWord.src/web/studio/asks.ts): a conflicted pull is no longer raised as a "green, ready for a look" ask. Before the viewer's asks are built, the check-green pulls are read for conflicts. This happens on the home,/live/feed,GET /api/v1/asks,GET /api/v1/feedand the MCPasksandfeedtools. That read costs two git calls per green pull. A page render skips pulls it read in the last 10 seconds, but the API and MCP always re-read.src/core/conflicts.ts): each conflict reading made bypullStatusor the pull list is kept in memory so the synchronous inbox and asks can use it without calling git per row. A restart forgets it, and the next request refills it.test/conflicted-green.test.tsis added toGATE. It makes a pull with a passing check conflict with main, then shows no green on the checks line, change page, home,asks(MCP and API) orfeed. After main takes the same edit, the green is back everywhere.test/studio.test.tsasserteddata-word="look"on a conflicted change page, which was the bug itself. It now expectsstopped.Left out
pullStatuscall refreshes it. A page render within 10 seconds of a pull's last reading can lag the same way.Try it Make a pull, give it a passing check, then push a conflicting edit to main.
/OWNER/NAME/pulls/N/filesshows "Conflicts in 1 file", and the home andasksstop listing the pull.Closes #1414