apollo-kotlin
apollo-kotlin copied to clipboard
remove IllegalStateException from IDLE / TERMINATED state in terminate and responseCallback
@WilliamsDHI: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
Deploy request for apollo-android-docs pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | 4b0c44b648786f4581cb0a2e9ef2ab152f6d1010 |
Hi 👋 thanks for opening this. As this more of a workaround than an actual fix for the root cause, I'm a bit reluctant to merging this as-is, even if 2.x is in maintainance mode. What I can offer is to publish a 2.5.13-absent-callback version with the fix to an alternate repsy.io repository. This way you can test it and let us know how that works for you before we decide what to do with the release-2.x branch? How does that sound?
That sounds great and I think would serve our purposes. We are really just looking for a work-around until we have bandwidth to update and refactor our app to Apollo 3.
Sounds good. It's getting a bit late here but I'll do that first thing tomorrow.
Hi 👋 The 2.5.14-absent-callback version should be available now at https://repsy.io/mvn/mbonnin/default/com/apollographql/apollo/apollo-runtime/2.5.14-absent-callback/.
Add the repsy repo:
repositories {
maven("https://repo.repsy.io/mvn/mbonnin/default")
}
and use in dependencies:
dependencies {
implementation("com.apollographql.apollo:apollo-runtime:2.5.14-absent-callback")
}
As expected, no issues with this absent-callback version. We're using in develop now and will be pushing a hotfix soon to production with this version. Thanks again.
Nice! Thanks for the update!
@WilliamsDHI any news from production? Is everything looking good?
@martinbonnin Because the crash has stabilized, we are not putting out a hot fix. This update will now go in production in a few more weeks with a different release. But so far things are working well in our test environment.
@martinbonnin The 2.5.14-absent-callback version has been in production for a week now and is looking very good. Please keep it up and we'll continue to use it. If the merge or another fix is made in the future to Apollo 2 then we'll update our version again.
Thanks for the update :). I'll merge this PR and it'll be part of the next 2.x release. Thanks again for all the investigations!
This is fixed in https://github.com/apollographql/apollo-kotlin/pull/4383 and will be released in 2.5.14
This is fixed in #4383 and will be released in 2.5.14
Awesome! Any timeline for a 2.5.14 release?
Not much activity these days in the release-2.x branch. I guess we could do one this week unless something comes up. I'll double check internally if we have anything else planned for 2.x