Test real pair rollback supervisors - #166
Merged
Merged
Conversation
myobie
force-pushed
the
test/real-pair-rollback-gates
branch
from
September 5, 2026 03:17
1ff3303 to
77aa0fc
Compare
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.
Outcome
The real-host release gates now restore a deliberately broken
fabricandfabric-syncpair through the pair-aware rollback reader.The macOS gate uses a real launchd job. The new Linux gate uses a real systemd transient timer and service. Each test requires both members to match their known-good copies and requires every transient job to disappear.
The release gate now states the exact proof beside each test. It also says that isolated tests do not prove the production paths and services.
Local proof
cargo test --lib update::supervisor_tests -- --test-threads=1: 11 passed, 1 ignored.cargo test --lib a_real_launchd_supervisor_rolls_back_and_removes_its_job -- --ignored --nocapture: passed on Silber in 0.66 seconds.cargo test --lib a_real_systemd_supervisor_rolls_back_and_removes_its_jobs -- --ignored --nocapture: passed on hetz in 1.08 seconds.The first hetz link attempt used
/tmp, which is a RAM disk. It failed withSIGBUS. The disk-backed retry passed.