Skip to content

Add pending tests for syncStep remainder losing uncancelable and onCancel - #4686

Open
tobiajo wants to merge 2 commits into
typelevel:series/3.7.xfrom
tobiajo:syncstep-remainder-finalizers
Open

tobiajo wants to merge 2 commits into
typelevel:series/3.7.xfrom
tobiajo:syncstep-remainder-finalizers

Conversation

@tobiajo

@tobiajo tobiajo commented Sep 18, 2026 •

Copy link
Copy Markdown

Three IOSuite tests split an IO with syncStep and cancel what comes back. Two use a Resource.use, canceled from inside and from another fiber, and assert that the release ran. The third uses IO.uncancelable and asserts that a cancel from another fiber blocks on the mask. None holds today, so all are tagged .fail.pending. Once syncStep is fixed they fail with "expected failure" and the tag can be dropped.

Pins #4687.

Two IOSuite tests take the Left remainder from syncStep, cancel it, and
assert that the Resource release ran. The release does not run today,
so both are tagged .fail.pending until the interpreter is fixed.
Same shape as the onCancel tests: split IO.uncancelable(_ => IO.never)
with syncStep and cancel the remainder from another fiber. The original
blocks the cancel on the mask; the remainder lets it through.
@tobiajo tobiajo changed the title Add pending tests for syncStep remainder losing onCancel Add pending tests for syncStep remainder losing uncancelable and onCancel Sep 18, 2026

This branch has not been deployed

No deployments
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.

1 participant