Finish fallback policies: 5-minute spaced retries and last_known_good re-push on reconnect #45
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#45
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. Spec §5.3 defines three fallback policies; two are incomplete in
services/wled_push.py:retry: spec says "3 times at 5-minute intervals"; implementation retries immediately in a loop (lines ~48–71, docstring itself defers spacing to "M4")last_known_good: stores the intended state but nothing ever re-pushes it — there is no reconnect detection, so the policy is a no-op beyondsilent+loggingTasks
push_failedwebhook only after the final retry, not the first failureImplementation 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).