You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracing static init fails on the Scala.js WebAssembly backend #4608
I'm adding WASM support to Kyo and there's at least one blocker to support it in modules that integrate with cats-effect. On the Scala.js WebAssembly backend, constructing any IO throws java.lang.ClassCastException: undefined cannot be cast to java.lang.String. This blocks all cats-effect usage on the experimental Scala.js WASM backend.
before: constructing a cats-effect IO
caught org.scalajs.linker.runtime.UndefinedBehaviorError: java.lang.ClassCastException: undefined cannot be cast to java.lang.String
JS:
before: constructing a cats-effect IO
after: constructed IO(...)
The issue title mentions tracing, but then the description doesn't. Is there any indication this is a tracing issue? E.g., does it work with tracing turned off?
@fwbrasil Quick warning: as a policy, we do not allow LLM generated issues, comments, or PR descriptions on any Typelevel repository. You may not be aware of this, and this does look like a legitimate bug to me, so I'm going to leave it alone this time.
In the future, please do not have claude open issues on your behalf. We accept generated code, but not prose.
@fwbrasil Quick warning: as a policy, we do not allow LLM generated issues, comments, or PR descriptions on any Typelevel repository. You may not be aware of this, and this does look like a legitimate bug to me, so I'm going to leave it alone this time.
Lol good luck then! I for sure won't collaborate with a project with such dated policy and arbitrary inferences about people's contributions. It'd be much more valuable to critique the content than the form, and this is a validated issue indeed blocking use of cats-effect with wasm.
I wonder if this could end up becoming a blocker to keep integrations with Typelevel projects in Kyo but let's see how it goes. At least this time I wasn't offended as "sewage" for correctly reporting an issue like in the past so it's some progress 😉
Reacted by Paweł Kaczor, Sean Parsons, Igal Tabachnik, Lev, Ferdinand Svehla, Jules Ivanic and Orlando Vargas
Reacted by Denis Pyshev, Jamie Willis and Antonio Gelameris
Just to document since my comment on typelevel/tsc#194 got deleted. I hadn't noticed that there was a previous attempt at adding wasm support that got blocked exactly on the issue I reported here. It demonstrates the accuracy of the report despite @djspiewak's bogus accusation with a made up org-wide AI policy: #4308 (comment)#4386 (comment)
My allusion to an org wide policy was erroneous, yes. We had been having internal discussions about such a thing for a while and I forgot that we hadn't proceeded publicly yet. Regardless of any org wide policy though, I as a project owner will moderate the communications on the projects I steward in a manner I believe to be in the best interest of myself and the community. That was why I chose to leave this issue open despite believing what I said about an AI policy: it's a valid issue and I appreciate that you found and filed it!
We do have an org wide policy about civility though, and I am gently warning you that you are stepping over that line right now. Do not pick fights, and do not circumvent moderation. I'm choosing to leave this comment up, but if it happens again I will take action rather than issuing further warnings.
Hi just an FYI that as a CE maintainer I've deleted a comment and taken the liberty, afforded to me by being a maintainer, of banning the user after multiple warnings about how they engage with the community.
Stay purrin' friends <3
Reacted by Antonio Gelameris
Reacted by Ferdinand Svehla, heli0dus, juan pablo romero, 金雄镕, Kimmo Eklund and Ben Hutchison
Reacted by Antonio Gelameris
Reacted by Antonio Gelameris
Reacted by Antonio Gelameris
Reacted by Antonio Gelameris and Brandon Elam Barker
What's the purpose of deleting such a comment? I feel like for the sake of transparency, it would be in the community's best interest to be able to see what the user was banned for...
Reacted by Olivier NOUGUIER, Kimmo Eklund, Orlando Vargas and Ben Hutchison
Activity
durban commentedon Jun 5, 2026
The issue title mentions tracing, but then the description doesn't. Is there any indication this is a tracing issue? E.g., does it work with tracing turned off?
djspiewak commentedon Jun 21, 2026
@fwbrasil Quick warning: as a policy, we do not allow LLM generated issues, comments, or PR descriptions on any Typelevel repository. You may not be aware of this, and this does look like a legitimate bug to me, so I'm going to leave it alone this time.
In the future, please do not have claude open issues on your behalf. We accept generated code, but not prose.
djspiewak commentedon Jun 21, 2026
For folks following breadcrumbs… here's a minimizer which doesn't involve Cats Effect:
Tldr the value of
getOwnPropertyNamesforFunction0differs between default scala-js and wasm.fwbrasil commentedon Jul 18, 2026
Lol good luck then! I for sure won't collaborate with a project with such dated policy and arbitrary inferences about people's contributions. It'd be much more valuable to critique the content than the form, and this is a validated issue indeed blocking use of cats-effect with wasm.
I wonder if this could end up becoming a blocker to keep integrations with Typelevel projects in Kyo but let's see how it goes. At least this time I wasn't offended as "sewage" for correctly reporting an issue like in the past so it's some progress 😉
fwbrasil commentedon Jul 24, 2026
Just to document since my comment on typelevel/tsc#194 got deleted. I hadn't noticed that there was a previous attempt at adding wasm support that got blocked exactly on the issue I reported here. It demonstrates the accuracy of the report despite @djspiewak's bogus accusation with a made up org-wide AI policy: #4308 (comment) #4386 (comment)
djspiewak commentedon Jul 24, 2026
My allusion to an org wide policy was erroneous, yes. We had been having internal discussions about such a thing for a while and I forgot that we hadn't proceeded publicly yet. Regardless of any org wide policy though, I as a project owner will moderate the communications on the projects I steward in a manner I believe to be in the best interest of myself and the community. That was why I chose to leave this issue open despite believing what I said about an AI policy: it's a valid issue and I appreciate that you found and filed it!
We do have an org wide policy about civility though, and I am gently warning you that you are stepping over that line right now. Do not pick fights, and do not circumvent moderation. I'm choosing to leave this comment up, but if it happens again I will take action rather than issuing further warnings.
samspills commentedon Jul 24, 2026
Hi just an FYI that as a CE maintainer I've deleted a comment and taken the liberty, afforded to me by being a maintainer, of banning the user after multiple warnings about how they engage with the community.
Stay purrin' friends <3
kubukoz commentedon Jul 24, 2026
What's the purpose of deleting such a comment? I feel like for the sake of transparency, it would be in the community's best interest to be able to see what the user was banned for...
djspiewak commentedon Jul 24, 2026
Fair point and acknowledged. Let's move this discussion to the appropriate channel in discord though rather than taking this issue further off topic.