Resumable job runner with progress in SQLite #15
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
epic:E1-foundation
epic:E2-correct-metrics
epic:E3-fast-jobs
epic:E4-cli
epic:E5-web-ui
epic:E6-history
good first issue
help wanted
invalid
question
sprint-tracking
story
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/screener#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Jobs record progress; an interrupted refresh or enrichment resumes instead of restarting.
Acceptance criteria
Agreed in backlog refinement (see comments).
jobstable: step, status (running,succeeded,failed,interrupted), started/finished time, done/total, latest message, and error. Progress is written at least every 2 seconds while the step runs. All history is kept.runningrow with no live process and marks itinterrupted.analyze(about a minute) is not resumed; an interrupted run starts over.jobs.Definition of Done
bun testpasses; new logic has testsbun checkis clean andbun fmt --checkpassesCloses #<this issue>🤖 Claude: Proposed acceptance criteria (backlog refinement)
Context: after #12 and #13, the daily jobs take minutes, so resuming matters less for speed. What still matters:
--full, or after a long gap);The steps already report progress through
Reporter(src/report.ts), so a SQLite-backed reporter fits.Acceptance criteria
jobstable: step, status (running,succeeded,failed,interrupted), started/finished time, done/total, latest message, and error. Progress is written at least every 2 seconds while the step runs.runningrow with no live process and marks itinterrupted.jobs.Questions
analyzetoo? It takes ~1 minute, so I'd leave it out.Dependencies
Best done last in M2, after #12 and #13 settle the steps it has to resume.