Skip to content

DEMO - DO NOT MERGE: prove the additivity gate goes red (#1770) - #1771

Closed
aatchison wants to merge 1 commit into
ci/migration-additivityfrom
demo/additivity-gate-red
Closed

DEMO - DO NOT MERGE: prove the additivity gate goes red (#1770)#1771
aatchison wants to merge 1 commit into
ci/migration-additivityfrom
demo/additivity-gate-red

Conversation

@aatchison

Copy link
Copy Markdown
Contributor

Throwaway. Will be closed and the branch deleted as soon as CI reports.

#1770 adds no migrations, so its own migration-additivity run says "nothing to check" and never exercises the checker invocation path. This branch adds one deliberately non-additive migration so the job actually fires.

Expected: migration-additivity red with three findings, and the destructive downgrade() not flagged.

Evidence for #1770.

Throwaway non-additive migration, to show the migration-additivity CI job
firing. #1770 adds no migrations, so its own run reports 'nothing to check'
and never exercises the checker invocation path.

Covers three cases:
  1. op.drop_column reached only through a helper (call-graph following)
  2. add_column(nullable=False) with no server_default
  3. destructive raw DDL via op.get_bind().execute()

The destructive downgrade() must NOT be flagged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aatchison

Copy link
Copy Markdown
Contributor Author

Purpose served — gate went red as intended. Evidence linked on #1770. Deleting the branch.

@aatchison aatchison closed this Jul 27, 2026
@aatchison
aatchison deleted the demo/additivity-gate-red branch July 27, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant