Skip to content

fix(fleet): include 0278 in the post-0248 replay-gate span - #537

Merged
mortondev merged 2 commits into
mainfrom
fix/migrator-gate-0278
Sep 10, 2026
Merged

fix(fleet): include 0278 in the post-0248 replay-gate span#537
mortondev merged 2 commits into
mainfrom
fix/migrator-gate-0278

Conversation

@mortondev

Copy link
Copy Markdown
Member

Summary

  • fix(auth): persist better-auth 2FA lockout columns #536 added migration 0278_two_factor_lockout. The fleet replay-gate test pins the post-0248 span, so CI shard test (2/4) failed with expected [ …(30) ] to deeply equal [ …(29) ].
  • Append 0278_two_factor_lockout to that list. The migration is expand-only; the gate still refuses unattended heals because of 0257/0262/0263.

Follow-up to #536 / #432.

Test plan

  • apps/web/src/lib/server/fleet/__tests__/migrator-gate.test.ts (22 tests)
  • CI test (2/4) green on this PR before merge

Adding two_factor lockout columns turned the pinned replay set red.
0278 is expand-only; list it so the gate still documents the operator
path across the mutating migrations in this span.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

The golden ledger counts scanned migrations. 0278 is expand-only so
destructive DDL stays at 34; the scan total goes 255 → 256.
@mortondev

Copy link
Copy Markdown
Member Author

Pushed the CONTRACT.md snapshot update (scanned 255 → 256; destructive DDL unchanged). That was the remaining CI failure on shard 1/4.

@mortondev
mortondev merged commit 8c552b6 into main Sep 10, 2026
15 checks passed
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