typelevel / typelevel/cats-effect

`cats.effect.std.SupervisorSuite.async - restart / cancel race` timeout

Open
#4,293 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

2e053480c0ec4c45af78186cbd1f2b5b5cab22a3

windows-latest, 2.13.16, temurin@17, ciJVM

[error] ==> X cats.effect.std.SupervisorSuite.async - restart / cancel race  20.058s cats.effect.TestTimeoutException: null
[error]     at cats.effect.Runners.$anonfun$timeout$1(Runners.scala:147)
[error]     at cats.effect.unsafe.WorkStealingThreadPool$$anon$1.apply(WorkStealingThreadPool.scala:680)
[error]     at cats.effect.unsafe.WorkStealingThreadPool$$anon$1.apply(WorkStealingThreadPool.scala:677)
[error]     at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:842)

https://github.com/typelevel/cats-effect/actions/runs/13668886341/job/38215280845?pr=4290#step:22:2991

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 with cats.effect.std.SupervisorSuite.async, specifically the “restart / cancel race” test, and inspect the linked Windows CI log for the timeout. Trace the test and the reported stack frames in Runners.scala, WorkStealingThreadPool.scala, and WorkerThread.scala; done means the test no longer times out on the reported environment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.