Skip to content

Fix migration state store Spring wiring - #1367

Merged
azurras merged 1 commit into
mainfrom
codex/migration-state-store-spring-wiring
Aug 13, 2026
Merged

Fix migration state store Spring wiring#1367
azurras merged 1 commit into
mainfrom
codex/migration-state-store-spring-wiring

Conversation

@azurras

@azurras azurras commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • mark MigrationStateStore's production factory constructor for Spring injection
  • retain the package-private operations test seam
  • add an application-context regression reproducing the candidate startup failure

Root cause

The repository has two constructors. Without an explicit injection constructor, Spring attempted no-arg instantiation and the target-schema candidate failed before startup with No default constructor found.

Verification

  • focused RED reproduced the exact NoSuchMethodException
  • focused GREEN: MigrationStateStoreTest 3/3
  • full :website:test :website:bootJar: 1,879 tests, 0 failures/errors, 75 guarded skips; jar built
  • independent review: APPROVED, no Critical/Important findings

Production remained healthy on the automatically recovered legacy release; no destructive migration step was reached.

@azurras
azurras merged commit ec5b6b1 into main Aug 13, 2026
8 checks passed
@azurras
azurras deleted the codex/migration-state-store-spring-wiring branch August 13, 2026 02:33
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