Skip to content

Conversation

guybedford
Copy link
Contributor

This fixes a bug found by @harmony7 in https://github.com/harmony7/compute-react19-readablestream-repro where a specific setup in async tasks with immediate timers would lead to a panic.

The panic in this case turns out to be in the Fastly event loop layer, where I previously implemented a bug in the optimized immediate handle checking case in not properly looking up the immediate index. The logic fix is self-explanatory for the most part.

Confirmed that with this change the linked repo no longer panics.

@guybedford
Copy link
Contributor Author

CI is currently failing because the fastly config-store create command doesn't seem to be working currently.

Since this is critical fix I'm going ahead with the release based on local & viceroy tests passing and the changes for this release being fully isolated to this subsystem.

@guybedford guybedford merged commit 8cfad4f into main Feb 26, 2025
22 of 28 checks passed
@guybedford guybedford deleted the readablestream-bug branch February 26, 2025 03:01
@harmony7
Copy link
Member

Thanks for this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants