Files
timmy-config/tests
Timmy 52e3f6a253
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 35s
Smoke Test / smoke (pull_request) Failing after 25s
Validate Config / YAML Lint (pull_request) Failing after 17s
Validate Config / JSON Validate (pull_request) Successful in 16s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 1m23s
Validate Config / Shell Script Lint (pull_request) Failing after 54s
Validate Config / Cron Syntax Check (pull_request) Successful in 12s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 12s
Validate Config / Playbook Schema Validation (pull_request) Successful in 23s
PR Checklist / pr-checklist (pull_request) Failing after 6m34s
Validate Config / Python Test Suite (pull_request) Has been cancelled
Architecture Lint / Lint Repository (pull_request) Has been cancelled
fix: add test suite for quality gate modules (#629)
34 tests covering both quality gate modules:

ci_automation_gate.py (17 tests):
- Trailing whitespace detection and auto-fix
- Missing final newline detection and fix
- JS/TS function length warnings (20 lines) and failures (50 lines)
- Python files excluded from JS function length check
- File type filtering (.py, .js, .ts checked; .md, .json skipped)
- Directory traversal with node_modules and .git exclusions
- Exit codes (0 for clean, 1 for failures)

task_gate.py (17 tests):
- Filter tag detection (EPIC, DO NOT CLOSE, PERMANENT, MORNING REPORT)
- Agent lane checking (no config, missing agent, present agent)
- Pre-task gate: issue not found, filter tags, assigned agents,
  existing PRs, clean pass
- Post-task gate: missing branch, naming convention warning,
  no commits failure
- Integration: gate runs on its own source files

Closes #629
2026-04-14 21:18:39 -04:00
..