Skip to content

Stabilize scheduled fault campaigns - #27

Merged
jeregrine merged 1 commit into
mainfrom
fix-fault-campaign-regressions
Sep 15, 2026
Merged

jeregrine merged 1 commit into
mainfrom
fix-fault-campaign-regressions

Conversation

@jeregrine

Copy link
Copy Markdown
Member

Problem

The scheduled fault campaign has failed on every run since it was enabled. Two protocol mutants consistently survive because they are assigned to nearby regressions that do not exercise the faulty behavior. The repeated distributed suite also observes three valid lifecycle windows as failures: recovery can begin before a killed owner commits its leave, exact authority can overtake an incremental cluster-close message, and the test TCP route table is briefly absent while its manager restarts.

These failures keep the qualification job red and prevent the downstream Jepsen matrix from running, despite not demonstrating violations of the intended protocol invariants.

Fix

Associate the generation-hint and journal-repair mutants with the existing regressions that directly exercise those faults. Make reconnect recovery wait for the authoritative owner removal, and verify lane-restart repair from the durable state that matters rather than one possible queued control-message shape.

Treat a missing test TCP route table during supervised manager replacement as disconnected. This matches the adapter's existing outgoing-send behavior and lets eventual reconnection polling span the table replacement window.

Supporting information

This changes qualification and test synchronization only; Group's production protocol behavior is unchanged. The affected scheduled run is https://github.com/phoenixframework/group/actions/runs/34949094333.

@jeregrine
jeregrine merged commit 589ab2e into main Sep 15, 2026
7 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