Skip to content

Conversation

@ioquatix
Copy link
Member

@ioquatix ioquatix commented Oct 15, 2025

In production, we noticed some worker processes would fail to restart correctly. We believe it is due to modifications to @running in wait_for while @running.each_value was invoked during health checks.

Types of Changes

  • Bug fix.

Contribution

@ioquatix
Copy link
Member Author

ioquatix commented Oct 15, 2025

cc @whatisinternet @macournoyer - I think this is the fix. There may be other race conditions, I will do a full review tomorrow. See the tests at the end of group.rb for a synthetic reproduction. The extra logging should reveal if this is happening or not.

@ioquatix ioquatix merged commit 9b08035 into main Oct 16, 2025
34 of 40 checks passed
@ioquatix ioquatix deleted the wait_for-race branch October 16, 2025 00:30
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