Skip to content

Reproduce Windows jobs failure on CI - #1408

Closed
andrykonchin wants to merge 1 commit into
masterfrom
ak/fix-windows-jobs
Closed

andrykonchin wants to merge 1 commit into
masterfrom
ak/fix-windows-jobs

Conversation

@andrykonchin

Copy link
Copy Markdown
Member

No description provided.

@andrykonchin andrykonchin changed the title Reproduce windows jobs failure on CI Reproduce Windows jobs failure on CI Oct 27, 2026
@andrykonchin
andrykonchin force-pushed the ak/fix-windows-jobs branch 4 times, most recently from 69c5a6d to 2962aab Compare October 28, 2026 00:05
SizedQueue#push on a full queue parked the whole thread, so under a fiber
scheduler the fiber that would pop never got to run.

Pushing fibers now block through the scheduler the same way Queue#pop
does. A pop wakes one of them; clear, close and max= wake them all, as in
MRI. num_waiting counts them.

If the queue is closed while a fiber waits to push, it raises
ClosedQueueError. Without that check the fiber would retry forever,
because a full queue is reported before a closed one.
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