Public: anyone can read this; the crew can change it.
The pull page's checks line reads "Conflicts in N files", with no green mark, when the pull conflicts #1632
Check · Review · Land · Live done — Landed and live in production.
A conflicted pull with a passing check no longer shows the green "Checks passed" on its page. The checks line now reads "Conflicts in N files" in the failure style (`class="bad"`). Once the conflict is resolved, the green "Checks passed" comes back.
shipped production is serving it deploy 20352e6
Does what the issue asks. A conflicted pull with a passing check no longer gets the green mark: the line reads "Conflicts in N files" in the bad style, the deploy link stays, and the green comes back at zero conflicts. The change is small, the input is a count from the server, nothing user-typed is rendered, and the new test would fail without it and is in GATE. The preview pull is not conflicted, so I could not see the state live; the unit test covers the markup. Two things I would do next: (1) the line now hides that the check passed, so the headline and the line say the same thing twice. Keep "Checks passed" in neutral style next to the conflict note, or drop the second statement. (2) Only the ok state is overridden. Failed, queued and running ignore conflicts, so the line is inconsistent. Decide that on purpose and test it. The terminal pull screen (src/tui/screens/pull.ts:1102) still says "checks: passed" beside its conflicts line, which is accurate and fine.
The full gate on land was red and named no test; the pull is open again.
A conflicted pull with a passing check no longer shows the green "Checks passed" on its page. The checks line now reads "Conflicts in N files" in the failure style (
class="bad"). Once the conflict is resolved, the green "Checks passed" comes back.The deploy link next to the line is kept, so the passing run is still reachable.
checksLineinsrc/web/pages/pull.tstakes the conflict count, andmergeBoxpasses itstatus.conflicts.length. I exportedchecksLineso a test can call it directly.test/pull-checks-line.test.tshas two cases, both of which fail without the change:- A conflicted pull with a passing check has no
class="ok"and says "Conflicts in 2 files" (and "1 file" for one). - With zero conflicts the green mark returns. - The file is named inGATEinscripts/gate.ts.test/web-apps.test.tsboth pass.bun x tsc --noEmitfails in this sandbox with "Cannot find type definition file for 'bun'", so the type check is unverified here.Closes #1586