Manvith · Chrome · lane 4801Sudeep · Chrome · lane 4802Dead Heat proxyyour app
Two real users.One instant.Who silently lost?
Kane CLI drives two real browsers from plain English. Dead Heat freezes both save requests at a proxy, releases them at the same instant, then has Kane CLI reload each browser and check whose work is still there.
Kane CLI drives Manvith and Sudeep from plain-English steps, each in their own Chrome on their own port of the proxy. Separate cookies, separate sessions, and Dead Heat always knows whose request is whose.
lane 4801lane 4802
Both saves, frozen at the line.
When a save reaches the proxy it is frozen. The first user waits until the second user’s save arrives too. Reads pass straight through. In the real Kanboard race, Sudeep’s save waited for Manvith’s.
Released at one instant.
Both saves reach your app together, or one after the other in either order. In all three cases both users had already read the old state. Kanboard answered both saves within of the release.
togetherManvith, then SudeepSudeep, then Manvith
Kept, refused, or silently lost.
Kane CLI reloads each browser and checks, in your own words, that this user’s work is still there. Kanboard 1.2.58 answered 200 to both saves and showed no warning. After a reload, Manvith’s new description was gone.
Manvith: silently lostSudeep: kept
Then a coding agent fixed it.
deadheat fix --with "splint {brief}" handed the failure to a coding agent and raced every order again. Clean orders went from 0 of 3, to 1 of 3, to 3 of 3. The stale save is now refused with 409 Conflict, and that user is told.
0 of 31 of 33 of 3
Simulationreplays who reached the line first, the release order and the verdicts of the real Kanboard 1.2.58 races, time compressed
finish print: a slit camera that only ever sees the linenow
scroll to race
Watch one dead heat.
Kanboard lost an edit in every order.
Kanboard 1.2.58, about 10,000 stars on GitHub. Two people open the same task. Manvith rewrites the description, Sudeep changes the title, and both press Save. Users reported this in kanboard#2741 and kanboard#944; both issues were closed without a fix.
Saves releasedManvith’s descriptionSudeep’s titleWhat Kanboard told them
at the same instantsilently lostkeptanswered 200 to both saves, no warning
Manvith, then Sudeepsilently lostkept“Task updated successfully.”
Sudeep, then Manvithkeptsilently lostanswered 200 to both saves, no warning
one real run, 21 November 202618 Kane CLI runs266 creditsabout 12 minutes
Kanboard saves the whole form, and the later save carries a stale copy of the other field. It answered every save with success and nobody was warned.
Then Dead Heat checked the fix.
Dead Heat wrote the brief, the coding agent changed Kanboard, and Dead Heat restored the data, restarted the app and raced every order again.
Kanboard 1.2.58 as releasedlostlostlost0 of 3 clean
After the agent’s first patchcleannot cleannot clean1 of 3 clean
After the agent’s second patchcleancleanclean3 of 3 clean
“Someone else changed this task while you were editing it. Your changes were not saved: reload the task, then apply them again.”