Add dry-run scheduler preview #35

Merged
JackFrostbyte merged 1 commit from feature/v0.6-issue-18-dry-run-preview into main 2026-05-09 20:30:05 -04:00

Summary

Adds a dry-run scheduler preview mode for RGB Aura runtime inspection.

Changes

  • Added --dry-run CLI option.
  • Added --dry-run-events CLI option.
  • Added src/rgb_aura/dry_run.py.
  • Previews runtime config loading and CLI override behavior.
  • Previews enabled logical zones and registered animations.
  • Previews scheduler event selection, delay ranges, seed behavior, event durations, and wait points.
  • Avoids OpenRGB connection entirely during dry-run.
  • Avoids all RGB writes during dry-run.

Safety

  • Does not touch hardware in dry-run mode.
  • Does not connect to OpenRGB in dry-run mode.
  • Does not call RGB frame writes or dark-blue restore writes in dry-run mode.
  • Keeps runtime guardrails intact.
  • Keeps runtime logging intact.
  • Keeps runtime config behavior intact.
  • Keeps reserved ARGB zone protection intact.

Validation

  • 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
## Summary Adds a dry-run scheduler preview mode for RGB Aura runtime inspection. ## Changes - Added `--dry-run` CLI option. - Added `--dry-run-events` CLI option. - Added `src/rgb_aura/dry_run.py`. - Previews runtime config loading and CLI override behavior. - Previews enabled logical zones and registered animations. - Previews scheduler event selection, delay ranges, seed behavior, event durations, and wait points. - Avoids OpenRGB connection entirely during dry-run. - Avoids all RGB writes during dry-run. ## Safety - Does not touch hardware in dry-run mode. - Does not connect to OpenRGB in dry-run mode. - Does not call RGB frame writes or dark-blue restore writes in dry-run mode. - Keeps runtime guardrails intact. - Keeps runtime logging intact. - Keeps runtime config behavior intact. - Keeps reserved ARGB zone protection intact. ## Validation - `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`
JackFrostbyte deleted branch feature/v0.6-issue-18-dry-run-preview 2026-05-09 20:30:05 -04:00
Sign in to join this conversation.
No reviewers
No labels
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.

Dependencies

No dependencies set.

Reference
JackFrostbyte/rgb-aura!35
No description provided.