Runbook: Quality Check Failing
Trigger
make verifyfails locally.- CI quality gate fails on lint/type/test/docs sync stage.
Fast triage
- Run full gate once:
make verify. - Identify failing step:
lint-check,type-check,test,docs-fix. - Run only the step that failed to get faster feedback.
Most common causes
- Lint/type errors after refactor.
- Tests expect outdated API contract or DB state.
- Docs not synchronized after endpoint/config changes.
- New module not wired into imports or package exports.
Recovery steps by stage
Lint fails
- Run
make lint-fixandmake lint-check.
Type-check fails
- Run
make type-check. - Fix signatures/annotations/import types.
Tests fail
- Run
make test. - For focused debugging run
make test-one path=.... - If schema changed, validate migrations/fixtures.
Docs sync fails or changes produced
- Run
make docs-fix. - Commit generated updates if valid.
Final recovery sequence
make verifymake release-check
Exit criteria
make verifypasses end-to-end.make release-checkpasses.- Your diff only includes changes you meant to ship.
Follow-up
- If the steps were unclear, update developer docs or a runbook.
- If governance or architecture changed, add or update an ADR.
Page history
| Date | Change | Author |
|---|---|---|
| Added Page history section (repository baseline). | Ivan Boyarkin |