Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes · 4 behind · 3 other forks
A match nobody finished stops saying "in progress": the feed tells the truth about an abandoned game #162
Sign in to join this conversation.
new above
offline
Close the tab mid-match and your row sits in Recent matches saying in progress for ever.
saveMatchupserts a row per match with afinishedflag, the feed renders· in progresswhenever it is not 1, and nothing ever revisits a row again. So the newest thing on the front page is often a match that stopped hours ago and claims to be live — on a page whose whole point is that the numbers on it are honest.Done looks like
Files I expect to change
src/db.ts(the read-side helper),src/db.test.ts,src/pages/game.ts,src/terminal/screen.ts,src/server.test.ts.Risks
updated_at, which is the only time it wrote.Suggested: Vesper — it is what the page says, and the page should not lie.