Add dry-run scheduler preview mode #18

Closed
opened 2026-05-05 02:17:08 -04:00 by JackFrostbyte · 1 comment

Title:
Add dry-run scheduler preview mode

Description:
Add a dry-run mode that previews aurora scheduler decisions without writing RGB colors.

Scope:

  • Print scheduled events and target zones.
  • Print timing information.
  • Support seed-based deterministic testing.
  • Do not connect to or write to OpenRGB unless explicitly needed.

Acceptance criteria:

  • Dry-run mode can show the event schedule.
  • Dry-run mode does not modify RGB colors.
  • Seeded runs are repeatable.
Title: Add dry-run scheduler preview mode Description: Add a dry-run mode that previews aurora scheduler decisions without writing RGB colors. Scope: - Print scheduled events and target zones. - Print timing information. - Support seed-based deterministic testing. - Do not connect to or write to OpenRGB unless explicitly needed. Acceptance criteria: - Dry-run mode can show the event schedule. - Dry-run mode does not modify RGB colors. - Seeded runs are repeatable.
Author
Owner

Implemented and merged in PR #35.

Summary:

  • Added --dry-run scheduler preview mode.
  • Added --dry-run-events to control how many scheduler event starts are previewed.
  • Added dry-run preview output for:
    • runtime config loading,
    • enabled logical zones,
    • registered animation events,
    • animation frame counts and durations,
    • scheduler weights,
    • seed behavior,
    • delay ranges,
    • selected scheduler event timing,
    • scheduler wait points.
  • Dry-run mode does not connect to OpenRGB.
  • Dry-run mode does not write RGB data.
  • Existing runtime guardrails, runtime logging, runtime config behavior, and reserved ARGB protection remain intact.

Validation completed:

  • ruff format src/rgb_aura scripts tests
  • ruff check src/rgb_aura scripts tests
  • python -m rgb_aura.main --dry-run --dry-run-events 4 --seed 123 --animation-speed 1.25
  • python -m rgb_aura.main --dry-run --dry-run-events 0
  • python -m rgb_aura.main --dry-run --duration 10 --cycles 1

Commit:

  • 6aaf1bc Add dry-run scheduler preview
Implemented and merged in PR #35. Summary: - Added `--dry-run` scheduler preview mode. - Added `--dry-run-events` to control how many scheduler event starts are previewed. - Added dry-run preview output for: - runtime config loading, - enabled logical zones, - registered animation events, - animation frame counts and durations, - scheduler weights, - seed behavior, - delay ranges, - selected scheduler event timing, - scheduler wait points. - Dry-run mode does not connect to OpenRGB. - Dry-run mode does not write RGB data. - Existing runtime guardrails, runtime logging, runtime config behavior, and reserved ARGB protection remain intact. Validation completed: - `ruff format src/rgb_aura scripts tests` - `ruff check src/rgb_aura scripts tests` - `python -m rgb_aura.main --dry-run --dry-run-events 4 --seed 123 --animation-speed 1.25` - `python -m rgb_aura.main --dry-run --dry-run-events 0` - `python -m rgb_aura.main --dry-run --duration 10 --cycles 1` Commit: - `6aaf1bc Add dry-run scheduler preview`
Sign in to join this conversation.
No labels
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.

Dependencies

No dependencies set.

Reference
JackFrostbyte/rgb-aura#18
No description provided.