Start jobs from the UI with live progress #18

Closed
opened 2026-11-06 01:19:42 +00:00 by chris-kreidl · 0 comments
chris-kreidl commented 2026-11-06 01:19:42 +00:00 (Migrated from github.com)

Start pipeline steps from the page and watch their progress live, streamed with server-sent events.

Acceptance criteria

Proposed in M3 backlog refinement (#51).

  • A jobs panel shows each step's latest run from jobs: status, progress (done / total and message), and when it started and finished, with a failed run's error.
  • Progress updates live over server-sent events, for runs started from the page and from the CLI alike.
  • A button starts each step, and one starts the whole pipeline (steps in pipeline order).
  • One at a time: starting a step that's already running shows which run is active instead of starting another.
  • Resume or start over: for an interrupted step that resumes, the page offers both, as the CLI does.
  • Only the page can start jobs: a request to start a job from anywhere else (another website, by its Origin) is refused. (Follows from the decision to serve this machine only.)
  • When a run that changes the ranking finishes, the rankings table reloads.
  • Demonstrated on real data: start the pipeline from the page, watch each step's progress, and see the table update.

Definition of Done

  • Acceptance criteria met and demonstrated
  • bun test passes; new logic has tests
  • bun check is clean and bun fmt --check passes
  • Runs end to end on real data (not just fixtures)
  • Committed with Closes #<this issue>
Start pipeline steps from the page and watch their progress live, streamed with server-sent events. ### Acceptance criteria *Proposed in M3 backlog refinement (#51).* - [ ] A jobs panel shows each step's latest run from `jobs`: status, progress (done / total and message), and when it started and finished, with a failed run's error. - [ ] Progress updates live over server-sent events, for runs started from the page and from the CLI alike. - [ ] A button starts each step, and one starts the whole pipeline (steps in pipeline order). - [ ] **One at a time:** starting a step that's already running shows which run is active instead of starting another. - [ ] **Resume or start over:** for an interrupted step that resumes, the page offers both, as the CLI does. - [ ] **Only the page can start jobs:** a request to start a job from anywhere else (another website, by its `Origin`) is refused. *(Follows from the decision to serve this machine only.)* - [ ] When a run that changes the ranking finishes, the rankings table reloads. - [ ] Demonstrated on real data: start the pipeline from the page, watch each step's progress, and see the table update. ### Definition of Done - [ ] Acceptance criteria met and demonstrated - [ ] `bun test` passes; new logic has tests - [ ] `bun check` is clean and `bun fmt --check` passes - [ ] Runs end to end on real data (not just fixtures) - [ ] Committed with `Closes #<this issue>`
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/screener#18
No description provided.