typelevel / typelevel/cats-effect

Flakiness in `IOSpec`

Open
#3,985 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
2.2k
Forks
576
Avg merge
2d 11h
Merged PRs (30d)
18

Description

https://github.com/typelevel/cats-effect/actions/runs/7732197317/job/21083847462#step:24:3685

...
[error]     x not lose cedeing threads from the bypass when blocker transitioning
[error]      List(3714008, 3714008, 3714008) == 'List(3714008, 3714008, 3714008)' (IOPlatformSpecification.scala:459)
...
[info] Total for specification IOSpec
[info] Finished in 17 seconds, 346 ms
[info] 346 examples, 13123 expectations, 1 failure, 0 error

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the IOSpec failure from the linked CI run and inspect IOPlatformSpecification.scala:459. Trace the cedeing-thread behavior during blocker transitions, then verify that IOSpec completes without the reported flaky failure across repeated runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.