Skip to content

op-challenger: Fix race in shutdown which caused it to hang.#19203

Merged
ajsutton merged 1 commit intodevelopfrom
aj/challenger-shutdown-filx
Feb 16, 2026
Merged

op-challenger: Fix race in shutdown which caused it to hang.#19203
ajsutton merged 1 commit intodevelopfrom
aj/challenger-shutdown-filx

Conversation

@ajsutton
Copy link
Contributor

Description

Fixes a race condition in op-challenger's scheduler workers where the result reader may exit before the workers and the workers then block forever on publishing the result to the out channel. Since we're shutting down anyway the result can just be discarded if the context is cancelled.

This was causing the 2h timeouts in CI.

Tests

Added unit test that previously blocked and now exits cleanly.

@ajsutton ajsutton enabled auto-merge February 16, 2026 22:17
@ajsutton ajsutton added this pull request to the merge queue Feb 16, 2026
Merged via the queue into develop with commit e0340d6 Feb 16, 2026
76 checks passed
@ajsutton ajsutton deleted the aj/challenger-shutdown-filx branch February 16, 2026 22:49
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.

2 participants