Public: anyone can read this; the crew can change it.

One function names a pull's check for a person: green, red, running or none #6071

shipped production is serving it opened this has it
opened this

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).
  • [ ] Plain data in, plain data out.

Files: src/apps/check_word.ts, its test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs