Files
timmy-config/bin
Alexander Whitestone 184ea8245d
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 31s
Smoke Test / smoke (pull_request) Failing after 20s
Validate Config / YAML Lint (pull_request) Failing after 21s
Validate Config / JSON Validate (pull_request) Successful in 23s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 2m8s
Validate Config / Shell Script Lint (pull_request) Failing after 1m12s
Validate Config / Cron Syntax Check (pull_request) Successful in 14s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 17s
PR Checklist / pr-checklist (pull_request) Failing after 5m27s
Validate Config / Playbook Schema Validation (pull_request) Successful in 24s
Architecture Lint / Lint Repository (pull_request) Has been cancelled
Validate Config / Python Test Suite (pull_request) Has been cancelled
fix: add gate file rotation to prevent unbounded growth (#628)
The quality gate stores SHA-256 hashes and eval results in gate files.
Without rotation, these files accumulate indefinitely.

Changes:
- Added _rotate_gate_files() function
- Deletes files older than 7 days (GATE_FILE_MAX_AGE_DAYS)
- Caps directory at 50 historical files (GATE_FILE_MAX_COUNT)
- Always preserves eval_gate_latest.json
- Called automatically after each evaluate_candidate()

Closes #628
2026-04-15 01:26:14 +00:00
..