WIP: feat(docker): re-attachable update jobs, honest status, and real progress #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/docker-jobs-and-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Third of four; stacked on #3.
An update was not addressable. Progress went out on an at-most-once stream and nowhere else, so dismissing the modal, switching tabs or reloading lost it — and the "done" that ends a run can simply not arrive. The server keeps each run in a registry and answers
/jobsand/jobs/:project; the pages re-attach to what is already running. One primitive (job_follow.svelte.ts) does that for all three of them.Compose progress was appended verbatim.
--ansi nevermakes compose print one line per redraw frame — ~3000 for a 3 GB pull.compose_progress.tsparses those back into the keyed entity events the redraw was expressing, so the UI can draw bars, rates and an aggregate.A stopped container was reported as a fault. A one-shot that exits 0 by design is finished, not broken; marking it red meant any stack with an init container never looked healthy. The same rule rolls up to a stack health dot.
Verified in the rig: a stack update start-to-finish with keyed progress rows, completion, and the spinner clearing; 104 module tests.
Superseded by #10, which merges this branch together with the rest of the stack and resolves the collisions between them. Closing rather than merging in place: replaying these merges one PR at a time would reproduce the same conflicts and lose the resolutions. The branch is untouched.
Pull request closed