Resolve deferred v1 items: complete year-rollover job; defer HSV interpolation to v1.1 (#9) #73
No reviewers
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/Iris-WLED!73
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/9-deferred-items"
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?
Closes #9. Reaches a recorded conclusion on both deferred roadmap items.
Year-rollover job — was partially wired, now completed (real bug fix)
run_yearly_job(Jan 1 00:05 cron) didcreate_backup()+ generate, but never refreshed the event cache or populated next-year events — despiteevent_cache.py's docstring claiming it was wired in M4. Consequence: after the boundary,year+1events were absent from the DB and the in-memory cache stale until a manual restart. It also didn't flag the review queue (the weekly job does).Now: backup →
populate_db([y, y+1])→refresh_cache([y, y+1])→ generate →review_queue_ready. Corrected the misleading docstring. Tests assert the cross-boundary cache refresh, the review-queue flag, and that the job is registered as a Jan-1 cron. This is exactly what #8's year-rollover QA validates.HSV phase interpolation — formally deferred to v1.1
Not implemented, and implementing it properly requires a different data model (per-day pre-calculated presets + per-event opt-in + review/scheduler support per spec §4.2) — bounded but non-trivial, so deferred rather than half-built. Documented in
scheme_generator.py; tracked in the new follow-up issue.CHANGELOG.md[Unreleased]updated (Fixed: rollover refresh; Deferred: HSV interpolation).Verified:
ruff/format/mypyclean; 240 tests pass (only the known Windows-only backup file-lock errors remain, green on Linux CI).🤖 Generated with Claude Code