Skip to content

Test real pair rollback supervisors - #166

Merged
myobie merged 1 commit into
mainfrom
test/real-pair-rollback-gates
Sep 5, 2026
Merged

Test real pair rollback supervisors#166
myobie merged 1 commit into
mainfrom
test/real-pair-rollback-gates

Conversation

@myobie

@myobie myobie commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Outcome

The real-host release gates now restore a deliberately broken fabric and fabric-sync pair 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 with SIGBUS. The disk-backed retry passed.

@myobie
myobie force-pushed the test/real-pair-rollback-gates branch from 1ff3303 to 77aa0fc Compare September 5, 2026 03:17
@myobie
myobie merged commit ebfd0ec into main Sep 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant