Repository navigation
test(service): Reopen isolated Redis after process exit - #452
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
The ephemeral Redis fixture removes its data on shutdown, so a process-crash test cannot recover against the original files. Add a Unix-socket-only fixture with a private AOF directory beneath caller-supplied scratch space. It disables snapshots and uses
appendfsync alwaysso tests can use the write reply as the durability barrier.reopenwaits for Redis readiness;stopwaits for child exit without removing data;disposeremoves only fixture-owned paths. The Linux CI test verifies SIGKILL, recovery on the same directory inode, graceful stop and reopen, and final cleanup. Existing ephemeral callers retain their API. This is test-only and independent of #451.Verification
git diff --checkpassed.