fix(postgresql): fail PITR WAL inspection errors - #3397
Draft
weicao wants to merge 2 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## easton/pg-pitr-restore-commit-time-failfast #3397 +/- ##
===========================================================================
Coverage 0.00% 0.00%
===========================================================================
Files 195 195
Lines 28329 28338 +9
===========================================================================
- Misses 28329 28338 +9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
weicao
marked this pull request as draft
August 17, 2026 03:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pg_waldumpbefore extracting a commit timestamp during PITR restoreContract anchors
docs/addon-continuous-backup-pitr-chain-integrity-guide.md, pit 4: continuous/PITR chains fail closed rather than silently crossing uncertain segmentsdocs/addon-api/09b-backup-extensions.md: restore must clearly fail when required repository artifacts cannot be validateddocs/addon-api/09c-restore-and-rebuild.md: PITR validation includes the actual continuous chain and restored resultTDD evidence
RED commit
294968c5a(Bash 3.2): 12 examples, 1 failure / 3 failed assertions. A simulatedpg_waldumprc46 on required WAL002 was treated as an empty-transaction WAL; restore returned success, pulled WAL003, and reported the target reached.GREEN commit
15b4f7338374d178b51a3344842c4d764ea4de4a:Scope
Source/static product change only. Runtime package, environment, execution, cleanup, and formal repeated-full acceptance remain tester-owned and are not claimed here.