Regression Checker
Runs the existing test suite to ensure no regressions after implementation changes.
Purpose & Scope
- Detect test framework (pytest/jest/vitest/go test/etc.) and test dirs.
- Execute full suite; capture results for Story quality gate.
- Return PASS/FAIL with counts/log excerpts; never modifies Linear or kanban.
Workflow (concise)
- Auto-discover framework and test locations from repo config/files.
- Read
docs/project/runbook.md— get exact test commands, Docker setup, environment variables. Use commands from runbook, NOT guessed commands. - Build appropriate test command; run with timeout (~5m); capture stdout/stderr.
- Parse results: passed/failed counts; key failing tests.
- Output verdict JSON (PASS or FAIL + failures list) and add Linear comment.
Critical Rules
- No selective test runs; run full suite.
- Do not fix tests or change status; only report.
- Language preservation in comment (EN/RU).
Definition of Done
- Framework detected; command executed.
- Results parsed; verdict produced with failing tests (if any).
- Linear comment posted with summary.
Reference Files
- Risk-based limits used downstream:
../ln-510-test-planner/references/risk_based_testing_guide.md
Version: 3.1.0 (Added mandatory runbook.md reading before test execution) Last Updated: 2026-01-09