Problem
ThreePhaseRestore::validate_phase1_headers currently returns a placeholder success response:
- has_offset_headers: true
- has_timestamp_headers: true
- sample_records_checked: 0
- no warnings
It does not read the backup. A caller can therefore receive a positive validation result for a backup that lacks the required x-original-offset/x-original-timestamp metadata.
The method currently has no production call sites, which also means the promised preflight is not protecting the CLI workflow.
Acceptance criteria
Problem
ThreePhaseRestore::validate_phase1_headers currently returns a placeholder success response:
It does not read the backup. A caller can therefore receive a positive validation result for a backup that lacks the required x-original-offset/x-original-timestamp metadata.
The method currently has no production call sites, which also means the promised preflight is not protecting the CLI workflow.
Acceptance criteria