flutter/packages/flutter_tools/test
Andrew Kolos 4a03b76c68
Handle "Service connection disposed" error from VmService disconnecting while requests are outstanding (#153714)
Fixes umbrella issue https://github.com/flutter/flutter/issues/153471, including its children: https://github.com/flutter/flutter/issues/153472, https://github.com/flutter/flutter/issues/153473, and https://github.com/flutter/flutter/issues/153474.

The VM service can be disposed at any time during requests (e.g. the user closes the app or stops debugging in VSCode)[^1]. a479f91e80 and a7d8707a59 updated package:vm_service to throw new `RPCError`s when the service disconnects while requests are inflight. Therefore, we need to handle these exceptions in the tool. See umbrella issue for more details.

I plan on cherry-picking this change to the stable channel.

[^1]: https://github.com/flutter/flutter/issues/153471#issuecomment-2296294221
2024-08-20 16:39:19 +00:00
..
android_java11_integration.shard Set up tests that verify we can build a fresh counter app across our Gradle/AGP/Kotlin support range (#151568) 2024-07-31 19:14:46 +00:00
android_preview_integration.shard Reland "Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests"... but no longer upgrade module AGP version (#151433) 2024-07-10 21:37:26 +00:00
commands.shard Handle "Service connection disposed" error from VmService disconnecting while requests are outstanding (#153714) 2024-08-20 16:39:19 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
general.shard Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
host_cross_arch.shard Fix some tests that fail with Swift Package Manager enabled (#152267) 2024-07-26 21:08:32 +00:00
integration.shard Do not cancel the VmService's subscription to the isolate event stream in FlutterVmService.findExtensionIsolate (#153607) 2024-08-19 17:40:07 +00:00
src Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
web.shard Handle a WebSocketException that may be thrown when closing the WebKit inspection protocol connection to Chrome (#151997) 2024-07-19 17:58:26 +00:00