Skip to content

Use production leadership timing in Accord test fixtures - #113

Merged
data-angel merged 1 commit into
mainfrom
test/accord-fixture-leadership
Nov 5, 2026
Merged

data-angel merged 1 commit into
mainfrom
test/accord-fixture-leadership

Conversation

@data-angel

Copy link
Copy Markdown
Contributor

The Accord integration fixture used a 500 ms leadership lease. On a busy CI runner, a short scheduling pause could expire that lease and correctly trigger Accord 0.6.1’s fatal-leadership shutdown, making authority reuse and resource registration fail. An 800 ms pause reproduced the installer SERVICE_HOME failure.

Use the production five-second leadership window in the fixture and derive the coordinator crash-recovery wait from it. A regression test pauses only the disposable coordinator and verifies that authority reuse still succeeds without service installation.

Validation: all 20 Accord installation, scheduling, workload CLI and runner tests passed; focused ESLint, Prettier, and diff checks passed. Production timing and vendored source are unchanged.

@data-angel
data-angel merged commit 493f8ff into main Nov 5, 2026
2 checks passed
@data-angel
data-angel deleted the test/accord-fixture-leadership branch November 5, 2026 05:02
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