test: add crash recovery coverage and nightly storage stability checks - #760
Draft
egolearner wants to merge 1 commit into
Draft
egolearner wants to merge 1 commit into
egolearner wants to merge 1 commit into
Conversation
egolearner
force-pushed
the
test/nightly-storage-stability
branch
from
September 20, 2026 05:56
2b5f4da to
64fb62f
Compare
egolearner
marked this pull request as ready for review
September 20, 2026 05:56
egolearner
force-pushed
the
test/nightly-storage-stability
branch
3 times, most recently
from
September 20, 2026 06:34
bb51f0f to
015a1ab
Compare
egolearner
force-pushed
the
test/nightly-storage-stability
branch
from
September 20, 2026 06:42
015a1ab to
72f63e4
Compare
egolearner
marked this pull request as draft
September 20, 2026 07:07
| self.args, self.folder / "db", "flush", False, self.folder | ||
| ) as process: | ||
| raise RuntimeError("parent failure") | ||
| self.assertIsNotNone(process) |
| self.fail("A missing checkpoint acknowledgement must fail") | ||
|
|
||
| def test_exception_kills_and_reaps_stopped_worker(self): | ||
| process = None |
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
Add recovery coverage that checks data remains queryable and writable after crashes and storage faults, including later flush, optimize, and reopen operations. The branch includes the merged FTS recovery fix #759.
Validation
On macOS ARM64:
Linux validation uses the default GitHub Actions Ubuntu runner in the fork: https://github.com/egolearner/zvec/actions/runs/35495029003. This run is pending; no full Linux fault-injection pass is claimed yet. The fork-only validation commit copies this workflow to an already registered workflow path, without changing either repository's main branch. The PR does not add a pull_request trigger.
The workflow runs daily at 01:30 Asia/Shanghai after merging into the default branch and supports manual dispatch. Storage faults require sudo and loop mounts; block replay additionally requires dm_log_writes. Missing prerequisites and test failures are reported normally, without skips or expected-failure suppression. Block replay samples persistence states, not physical power cycling. No production storage behavior changes.