-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin/JS: Browser locks up while ResponseAdapter and BufferedSourceJsonReader processes data #4590
Comments
@ToxicBakery keeping you in the loop on this |
Hi 👋 Thanks a lot for opening this, and with a reproducer 🙏. I noticed that the issue disappears when using the kotlin {
- js {
+ js(IR) {
binaries.executable()
//... I must admit I am not sure why it hangs with the default ( |
IIRC, |
Thanks! I'm seeing it work on my end as well using the IR compiler backend. Appreciate your help! |
For the record, I didn't remember correctly,
I'd still vote to stop supporting |
Starting with v3.7.3, the Legacy version is no longer published, and trying to configure it will fail with a message saying that only IR is supported. Closing this one for now. |
Version
3.7.2
Summary
We are experiencing browser lockups while using Apollo Kotlin via Kotlin/JS.
When executing a query, the actual network call appears to succeed, but when the response is processed, it locks the browser up, usually during the
selectName()
function of BufferedSourceJsonReader.Lockups are occurring on both Chrome 108.0.5359.124 and Firefox 102.6.0esr on Ubuntu 22.10.
Apollo Kotlin version is 3.7.2 using Kotlin 1.7.21.
I am able to reproduce the lockups across multiple schemas, including the
rocketreserver
example schema hosted athttps://apollo-fullstack-tutorial.herokuapp.com/graphql
.Example project + logs are included below. Thanks!
Steps to reproduce the behavior
Logs
The text was updated successfully, but these errors were encountered: