Skip to content

feat(s050): complete slice 050 (scheduler with Oban cron agent tasks) - #58

Merged
HackTuah merged 11 commits into
mainfrom
slice/050-scheduler-oban
Sep 22, 2026
Merged

HackTuah merged 11 commits into
mainfrom
slice/050-scheduler-oban

Conversation

@HackTuah

Copy link
Copy Markdown
Member

Slice 050: Oban on the app's own database (Lite on SQLite, Basic on Postgres), tasks and their runs, the minute tick enqueuing what is due (unique on task and time), each run a turn in a fresh origin: cron session with the summary on the run row, Oban's retry then a failed run, the desktop delivery (results on /tasks until read), a phrase-to-cron helper checked by Oban's parser, the observer as a job on the memory queue, the curator on the maintenance queue (stale at 30 days, archived at 90, nothing deleted, receipted), the /tasks page and Oban Web at /oban.

AC1, AC3, AC4, AC5 by test; AC2, AC6, AC7 screenshots and GIF in proof/ (the automatic halves by test). The SLICE's risk measured: Oban polling against the single writer costs a fifth of the 010 write storm's throughput with no error. oban 2.24.1, oban_web 2.13.0 (Apache-2.0 on hex now), oban_met 1.3.1 added; the test pool has two connections for Oban's boot check (NOTES). Gate green, 501 passed; coverage 80.31 (from 80.05).

Signed-off-by: Ayla Croft aylacroft@proton.me

Signed-off-by: Ayla Croft <aylacroft@proton.me>
… worker, the desktop delivery, the schedule helper; the observer as a job; the curator; AC1 to AC5 green

The test pool has two connections: Oban verifies its migration at start through a raw
checkout while the first boot process still holds the sandbox's one connection in auto mode.

Signed-off-by: Ayla Croft <aylacroft@proton.me>
…s to read, run history), Oban Web at /oban; the curator and observer tests

Signed-off-by: Ayla Croft <aylacroft@proton.me>
…he suite's pool is two for Oban's boot check)

Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
…he three workers, the task's GIF); the dev script

Signed-off-by: Ayla Croft <aylacroft@proton.me>
…ban polling), follow-ups

Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
…n needs its table first)

Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
@HackTuah
HackTuah merged commit 9a3b192 into main Sep 22, 2026
8 checks passed
@HackTuah
HackTuah deleted the slice/050-scheduler-oban branch September 22, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant