Wire priority_resolver into push paths — date pins & Promote Secondary have no runtime effect #43
Labels
No labels
area/ai
area/backend
area/frontend
area/infra
area/scheduler
area/wled
good-first-issue
priority/high
priority/low
priority/medium
type/bug
type/chore
type/ci-cd
type/docs
type/feature
type/qa
v1.0.0
v1.1.0
v1.2.0
v2.0.0
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/Iris-WLED#43
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?
Split from #40.
services/priority_resolver.get_events_for_datecorrectly implements spec §2.5 (date-level primary pins, secondaries, user-event shadowing) but is referenced only by its own tests. The real push paths —routers/wled.py::push_today(naivemax(priority)query at lines 157–162) andservices/schedule_service.py(~line 279) — bypass it entirely, so pinning a date or clicking "Promote Secondary" in the UI changes nothing on the controller.Tasks
push_todayand the scheduler's daily push withget_events_for_dateAcceptance
PUT /event-date-overrides/{date}changes whatPOST /wled/pushsends that dayImplementation heads-up (from the 2026-07-15 review): this issue overlaps files with #43, #44, #45, and #47 — all four touch
backend/app/services/schedule_service.pyand/orservices/wled_push.py/routers/wled.py. Work them sequentially on one branch (or rebase between each) rather than in parallel branches, or the merge conflicts will cost more than the parallelism saves.Deployment note until #65 lands: rebuild on the dev server with
docker compose build— neverdocker build -t iris:latest .(compose uses the image nameiris-wled-iris:latest; a manually tagged build is ignored and the container keeps running stale layers).Picking this up as the foundation of the Wave-2 push-path cluster. Per the heads-up above, #43/#44/#45/#47 share files, so I'm doing them sequentially on one branch (
fix/43-push-paths), starting with this resolver wiring — the others continue on the same branch. Based on the now-green main (#41 merged).