PH3.1 — Nightly run job and replay-run by id #23

Open
opened 2026-09-11 09:02:13 +00:00 by bart · 0 comments
Collaborator

Parent

Row PH3.1 in docs/12-implementation-plan.md (branch, owned paths and doc section are defined there).

What to build

Every night at 02:00 Europe/Amsterdam the worker produces a validated draft plan from current data and notifies planners "Draft vN ready"; any stored run can be replayed from its snapshot by id for debugging.

Acceptance criteria

  • APScheduler job fires at 02:00 Europe/Amsterdam (DST-correct) and enqueues a solve
  • A draft_ready notification row is written with the version as payload
  • polaris replay-run <id> reproduces the stored run's result from its stored snapshot

Blocked by

  • #20 — Plan orchestration: snapshot builder, result writer, solver_run/plan_version lifecycle, publish/supersede
  • #18 — Planning engine daily mode: opportunities, travel provider, OR-Tools VRP model, result mapping
  • #19 — Validator: one rule per E_/W_/I_ code over snapshot and result
## Parent Row **PH3.1** in `docs/12-implementation-plan.md` (branch, owned paths and doc section are defined there). ## What to build Every night at 02:00 Europe/Amsterdam the worker produces a validated draft plan from current data and notifies planners "Draft vN ready"; any stored run can be replayed from its snapshot by id for debugging. ## Acceptance criteria - [ ] APScheduler job fires at 02:00 Europe/Amsterdam (DST-correct) and enqueues a solve - [ ] A `draft_ready` notification row is written with the version as payload - [ ] `polaris replay-run <id>` reproduces the stored run's result from its stored snapshot ## Blocked by - #20 — Plan orchestration: snapshot builder, result writer, solver_run/plan_version lifecycle, publish/supersede - #18 — Planning engine daily mode: opportunities, travel provider, OR-Tools VRP model, result mapping - #19 — Validator: one rule per E_/W_/I_ code over snapshot and result
Sign in to join this conversation.
No milestone
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.

Reference
patrick/Polaris#23
No description provided.