Part of closed pull #5988, split out. Its reviewer found check running shown when nothing was running.
Done when:
[ ] src/apps/check_word.ts exports checkWord(run, headOid), which returns green for an ok run of that head, red for a failed one, running for queued or running, and none for no run of that head or a cancelled one.
[ ] test/check-word.test.ts covers each case, including a run of an older head (none).
Part of closed pull #5988, split out. Its reviewer found
check runningshown when nothing was running.Done when:
checkWord(run, headOid), which returnsgreenfor an ok run of that head,redfor a failed one,runningfor queued or running, andnonefor no run of that head or a cancelled one.none).Files: src/apps/check_word.ts, its test.