typelevel / typelevel/cats-effect

Enable fiber dumps on Scala Native

Open
#3,837 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:mushroom: enhancement 🥺 help wanted
Dominant language
Scala
Stars
2.2k
Forks
576
Avg merge
2d 11h
Merged PRs (30d)
18

Description

Everything is already implemented and they are working correctly AFAIK.

I made an attempt to re-enable them in https://github.com/typelevel/cats-effect/pull/3809 but we were hit by out-of-memory problems in CI.

I'm not sure if we are just stressing CI and/or Scala Native GC too much in our test suite ... or if there is still a legitimate bug with WeakReferences that prevents them from being collected in a timely manner.

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

Review the attempted implementation in pull request 3809 and the Scala Native fiber-dump changes it tried to re-enable. Reproduce or inspect the CI out-of-memory behavior, then determine whether CI pressure or delayed WeakReference collection is responsible. Done means fiber dumps work again without exhausting CI resources.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.