Jobs and their states
A job is one prompt: one piece of work, written so a builder can do it alone. This page covers what a job's state means, what it waits for, how the order is set, and what happens to work that can't be finished yet.
Order
- The list is in build order. Each topic takes its next job from the top down.
- You drag a job up or down with its gripper (⋮⋮), on a PC or a phone (long-press, then drag). Up and down arrows in the row's menu do the same.
- Jobs stay inside their own topic's block.
- Drop a job above a job it waits for, and it slides to just after the last job it waits for, with a short animation and a note such as "waits for CB-31". Why: sending it back to where it started would look like nothing happened; this shows you where it can go.
- Needs operator and Building jobs are pinned at the top, Needs operator first and stand-out, then Building. They have no gripper and can't be dragged. A job dropped among them slides to just below the last pinned row (with no note, because nothing was refused). Why: active work should be the first thing you see. Pinning is only how the page shows it; it doesn't change the queue's order.
- If the list changed while you were dragging, Crank refuses the move, reloads the list and says so.
Source: CB-38.
Unfinished work becomes a split job (no "Done in part")
- A job is never "Done in part". If a job finishes its own work but has steps left that it can't do yet (for example, copying a page to the website once the topic reaches
main), it ends as Built, and those leftover steps become a new job. - The new job's title ends "(split from CB-11)", it's in the same topic, and it waits for whatever it needs (for example, for the topic to merge).
- Jobs that waited for the original only wait for the split job if they truly need the leftover part.
- Why: "Done in part" left jobs stuck. Crank counted it as done and handed the next job to a runner, but the runner didn't, so nothing moved. A split job makes the leftover visible, ordered and buildable.
Source: CB-37, CB-66.
When a runner won't build a job
If a runner ends without building a job Crank thought was free, Crank says so once, on the page and to you: "CB-12: the runner would not build it: <its reason>". It won't hand the same job out again until something changes. Why: a queue should never sit idle in silence.
Source: CB-37.