Skip to content

ID @Fetch*.load events to fix cancel race - #536

Merged
stephencelis merged 4 commits into
mainfrom
cancel-race
Nov 3, 2026
Merged

stephencelis merged 4 commits into
mainfrom
cancel-race

Conversation

@stephencelis

Copy link
Copy Markdown
Member

It's possible for a @Fetch*.load to race an existing one such that a FetchSubscription cancellation is applied to the wrong load event. This PR identifies each load event to determine whether or not the current one should be cancelled or not.

@stephencelis
stephencelis requested a review from mbrandonw August 25, 2026 21:06
@stephencelis
stephencelis merged commit 1c0fea6 into main Nov 3, 2026
5 checks passed
@stephencelis
stephencelis deleted the cancel-race branch November 3, 2026 20:28
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