New REES local analyzer (an explicit later idea in the #1499 epic) that flags risky operations in added migration SQL: DROP COLUMN/TABLE, non-nullable ADD COLUMN without DEFAULT, RENAME, and blocking table rewrites — schema changes that can break running deployments. Pure compute over added lines in migrations/**.sql (and common migration dirs), no network.
Deliverables
References
review-enrichment/src/analyzers/iac-misconfig.ts (config-category local pattern-matcher template)
review-enrichment/src/analyzers/registry.ts:303-319 (iacMisconfig descriptor)
gh issue 1499 explicitly lists 'SQL migration safety analyzer' as a later idea
Part of #1499.
size: S · gittensor:feature
New REES local analyzer (an explicit later idea in the #1499 epic) that flags risky operations in added migration SQL: DROP COLUMN/TABLE, non-nullable ADD COLUMN without DEFAULT, RENAME, and blocking table rewrites — schema changes that can break running deployments. Pure compute over added lines in migrations/**.sql (and common migration dirs), no network.
Deliverables
MigrationSafetyFinding({ file, line, kind: 'drop'|'rename'|'not-null-no-default'|'blocking-rewrite' }) +migrationSafety?key to review-enrichment/src/types.tsReferences
review-enrichment/src/analyzers/iac-misconfig.ts (config-category local pattern-matcher template)review-enrichment/src/analyzers/registry.ts:303-319 (iacMisconfig descriptor)gh issue 1499 explicitly lists 'SQL migration safety analyzer' as a later ideaPart of #1499.
size: S · gittensor:feature