Skip to content

feat(nightwatch): add active hours window for drift evaluation#724

Merged
AlexMikhalev merged 1 commit intomainfrom
feat/nightwatch-schedule
Mar 26, 2026
Merged

feat(nightwatch): add active hours window for drift evaluation#724
AlexMikhalev merged 1 commit intomainfrom
feat/nightwatch-schedule

Conversation

@AlexMikhalev
Copy link
Contributor

Add active_start_hour/active_end_hour to NightwatchConfig. Nightwatch evaluate() only runs within the configured window. Defaults to 0-24 (always active) for backwards compat. Supports wrap past midnight.

Nightwatch evaluate() is now gated by active_start_hour / active_end_hour
in NightwatchConfig. Defaults to 0-24 (always active) for backwards
compatibility. Supports wrap-around past midnight (e.g. 22-06).

This allows the orchestrator to run nightwatch only during off-peak hours,
e.g. 2am-6am, reducing noise during active development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AlexMikhalev AlexMikhalev merged commit 6bfb78a into main Mar 26, 2026
12 checks passed
@AlexMikhalev AlexMikhalev deleted the feat/nightwatch-schedule branch March 26, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant