Commit 7184725
committed
fix: fail closed on malformed source-snapshot-id in incremental cleanup
Java's IncrementalFileCleanup propagates the NumberFormatException when
source-snapshot-id can't be parsed, so cherry-pick protection cannot be
silently bypassed. Mirror that behavior by returning InvalidArgument from
both parse sites instead of skipping the entry.
Addresses wgtmac review feedback on PR #648.1 parent 51d2e12 commit 7184725
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
402 | 403 | | |
403 | 404 | | |
404 | 405 | | |
405 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
406 | 411 | | |
407 | 412 | | |
408 | 413 | | |
| |||
456 | 461 | | |
457 | 462 | | |
458 | 463 | | |
459 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
460 | 469 | | |
461 | 470 | | |
462 | 471 | | |
| |||
0 commit comments