Skip to content

Add temporary maintenance for automatic rule actions - #41

Merged
decryptus merged 2 commits into
masterfrom
feature/maintenance
Sep 24, 2026
Merged

decryptus merged 2 commits into
masterfrom
feature/maintenance

Conversation

@decryptus

Copy link
Copy Markdown
Owner

Allow operators to pause automatic remediation during container maintenance while collection, audit and manual controls continue. Store a finite per-container deadline in the existing atomic, locked state file; preserve restart budgets and cooldowns. Resume at expiry or on explicit cancellation.

Includes offline CLI (0–86400 seconds), opt-in authenticated UI controls (15 min, 1 hour, resume), status/Prometheus indicators, and audited activation/skips/expiry. Existing protected containers stay protected. Docker restart policies, other agents and external notifications are unaffected. State schemas 1–3 migrate to 4 on use; older binaries reject schema 4. Maintenance transitions conservatively reset shared sustained-condition observations, as documented.

Validation: 279 Python tests collected (13 Docker tests delegated to CI), 9 focused maintenance tests; strict Sphinx build; desktop/mobile browser tests including maintenance confirmation and overflow. Public demo maintenance controls remain disabled; no release/version bump in this PR.

@decryptus
decryptus merged commit 18ef34c into master Sep 24, 2026
19 checks passed
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