Skip to content

fix: harden domain cutover runtime recovery - #1363

Merged
azurras merged 1 commit into
mainfrom
codex/domain-cutover-runtime-recovery
Aug 12, 2026
Merged

fix: harden domain cutover runtime recovery#1363
azurras merged 1 commit into
mainfrom
codex/domain-cutover-runtime-recovery

Conversation

@azurras

@azurras azurras commented Aug 12, 2026

Copy link
Copy Markdown
Owner

What changed

  • makes every Spring @Repository adapter proxy-compatible so candidate startup cannot fail on final classes
  • makes no-ledger/no-stage prepublication recovery tolerate legitimate live legacy writes while keeping staged cleanup evidence-bound
  • permits the exact historical legacy release during v2 rollback reconciliation when older metadata has no domainSchema
  • refreshes the installed writer-start guard before restarting the legacy release

Why

The first guarded production cutover stopped safely during candidate startup. Recovery then exposed three independent compatibility gaps. This hotfix closes those gaps without weakening publication, evidence, or deletion checks.

Validation

  • :website:test :website:bootJar — BUILD SUCCESSFUL
  • full PowerShell 7 production suite — 701 passed, 0 failed, 28 guarded skips
  • Windows PowerShell 5.1 changed-boundary suite — 292 passed, 0 failed, 2 guarded skips
  • direct disposable Mongo migration matrix — 25 databases, 52 kinds, 126 indexes, 14 targets, 52 drops, 468 fault boundaries
  • Node migration contracts — 9/9
  • PowerShell parsing on PS7 and PS5.1; JavaScript syntax; git diff --check

Production is currently healthy on the restored legacy release. No legacy collection was deleted by the failed cutover.

@azurras
azurras force-pushed the codex/domain-cutover-runtime-recovery branch from 8b7399e to 3f66ec3 Compare August 12, 2026 21:12
@azurras
azurras marked this pull request as ready for review August 12, 2026 21:12
@azurras
azurras force-pushed the codex/domain-cutover-runtime-recovery branch from 3f66ec3 to 44522cc Compare August 12, 2026 21:19
@azurras
azurras merged commit 52d3bd5 into main Aug 12, 2026
8 checks passed
@azurras
azurras deleted the codex/domain-cutover-runtime-recovery branch August 14, 2026 13:41
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