Skip to content

Fix PostgreSQL cutover evidence parsing - #1385

Open
azurras wants to merge 1 commit into
mainfrom
codex/fix-postgresql-cutover-evidence
Open

Fix PostgreSQL cutover evidence parsing#1385
azurras wants to merge 1 commit into
mainfrom
codex/fix-postgresql-cutover-evidence

Conversation

@azurras

@azurras azurras commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • extract exactly one command-specific PostgreSQL cutover evidence record from Java stdout
  • ignore unrelated MongoDB/Java log lines without weakening evidence validation
  • fail closed for missing, malformed, or duplicated evidence

Root cause

The standalone MongoDB Java client writes informational log lines to stdout. The cutover wrapper previously required the entire stdout stream to equal the machine-evidence record, so valid production snapshot evidence was rejected before authority publication.

Validation

  • TDD RED: six focused cases reproduced logged, missing, malformed, and duplicate output failures
  • focused Pester: 26 passed, 0 failed
  • full Windows production operations: 787 passed, 0 failed, 28 skipped
  • independent review: no findings; ready to merge

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