Commit fc97eea
test(cutover): validate the resumed backfill_start anchor content
On resume, backfill.sh read the operator-owned --state-file and reused its
content as backfill_start without checking it. A corrupted or wrong file would
feed a garbage anchor forward to step 2. Validate the content is a well-formed
timestamp and fail fast otherwise. This addresses the spirit of the --state-file
finding by constraining the anchor's value rather than allow-listing its path
(the path is operator-owned; allow-listing would break legitimate absolute
paths and crosses no privilege boundary the operator lacks).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5989e71 commit fc97eea
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
259 | 262 | | |
260 | 263 | | |
261 | 264 | | |
| |||
0 commit comments