mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-29 17:44:04 +01:00
The runner reads each job's log copy state before claiming it, so nothing waits between the claim and the spawn. One copy cycle writes the new lines of every running job in one multi-row INSERT after the cancel checks, and copies run one after another in the process. The final copy runs whether or not the job's end was recorded. Chunks are scrubbed before they are stored and again when read, and are deleted after 90 days on their own; job rows keep their retention.