Commit 12f4e33
test(storage): close exact-ref compatibility gaps
Read every interrupted V2 copy through an isolated strict Head reopen before retry, and make both historical snapshot rejection and Head-v2 pairing prove deterministic data authority across two instances and a fresh Storage reopen.
Constraint: keep exact-ref worktrees, Cargo homes, targets, archive mutations, validation copies, and cleanup authority under the validated Linux temporary root while only terminating runner-recorded processes
Rejected: resume-masked interrupted state, instance-zero-only schema checks, single-key install authority, inherited Cargo wrappers, argv-only process cleanup, and permissive error matching
Confidence: high
Scope-risk: compatibility coverage and disposable runner work increase, while production storage and CI workflow semantics remain unchanged
Directive: Option C Storage Task 7 second specification follow-up
Tested: mutation reds for V2 data, both snapshot instances, cross-instance Hash/ZSet/TTL authority, and cwd/fd-only temp references; Bash, Python, PowerShell, TMPDIR, generated Rust, and workspace-wrapper gates; exact Linux matrix with 11 gates, 30 migration phases, 43 V2 copies, and six Gate10 installs in 878 seconds; cleanup removed three worktrees with zero lingering temp references
Not-tested: full matrix through the PowerShell wrapper; shellcheck unavailable; CI workflow wiring remains deferred
Related: #422
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>1 parent dfc16fa commit 12f4e33
3 files changed
Lines changed: 896 additions & 63 deletions
File tree
- docs/superpowers/plans
- scripts
- tests/compat
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | | - | |
454 | | - | |
455 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
| 461 | + | |
462 | 462 | | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
466 | | - | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
0 commit comments