Open
Description
DWDS error when running DevTools integration tests.
One of our integration tests recently failed in CI (run link) with the following error:
result {"result":"false","failureDetails":["{\"methodName\":\"end to end extensions flow\",\"details\":\"══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════\\nThe following RPCError was thrown running a test:\\next.flutter.inspector.structuredErrors: (-32603) Unexpected DWDS\\nerror for callServiceExtension: WipError -32000 Promise was\\ncollected\\n\\nWhen the exception was thrown, this was the stack:\\ndart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 748:28 get current\\npackages/vm_service/src/snapshot_graph.dart.js 1870:41 new\\npackages/vm_service/src/snapshot_graph.dart.js 2530:23 <fn>\\npackages/vm_service/src/snapshot_graph.dart.js 2538:76 [_call]\\npackages/vm_service/src/snapshot_graph.dart.js 2476:27 callServiceExtension\\npackages/devtools_app_shared/src/service/service_extension_manager.dart.js 1042:91 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 541:3 _asyncStartSync\\npackages/devtools_app_shared/src/service/service_extension_manager.dart.js 1049:40 call\\npackages/devtools_app_shared/src/service/service_extension_manager.dart.js 1084:62 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 541:3 _asyncStartSync\\npackages/devtools_app_shared/src/service/service_extension_manager.dart.js 1157:30 callExtension\\npackages/devtools_app_shared/src/service/service_extension_manager.dart.js 1186:51 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 593:31 <fn>\\ndart-sdk/lib/async/zone.dart 1538:47 _rootRunUnary\\ndart-sdk/lib/async/zone.dart 1429:19 runUnary\\ndart-sdk/lib/async/future_impl.dart 208:18 handleValue\\ndart-sdk/lib/async/future_impl.dart 932:44 handleValueCallback\\ndart-sdk/lib/async/future_impl.dart 961:13 _propagateToListeners\\ndart-sdk/lib/async/future_impl.dart 535:9 <fn>\\ndart-sdk/lib/async/zone.dart 1525:13 _rootRun\\ndart-sdk/lib/async/zone.dart 1422:19 run\\ndart-sdk/lib/async/zone.dart 1321:7 runGuarded\\ndart-sdk/lib/async/zone.dart 1362:23 callback\\ndart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop\\ndart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 186:7 <fn>\\n\\nThe test description was:\\n end to end extensions flow\\n═════════════════════════════════════════════════════════════════\\n\"}"]}
Failure Details:
Failure in method: end to end extensions flow
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following RPCError was thrown running a test:
ext.flutter.inspector.structuredErrors: (-32603) Unexpected DWDS
error for callServiceExtension: WipError -32000 Promise was
collected
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 748:28 get current
packages/vm_service/src/snapshot_graph.dart.js 1870:41 new
packages/vm_service/src/snapshot_graph.dart.js 2530:23 <fn>
packages/vm_service/src/snapshot_graph.dart.js 2538:76 [_call]
packages/vm_service/src/snapshot_graph.dart.js 2476:27 callServiceExtension
packages/devtools_app_shared/src/service/service_extension_manager.dart.js 1042:91 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 541:3 _asyncStartSync
packages/devtools_app_shared/src/service/service_extension_manager.dart.js 1049:40 call
packages/devtools_app_shared/src/service/service_extension_manager.dart.js 1084:62 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 541:3 _asyncStartSync
packages/devtools_app_shared/src/service/service_extension_manager.dart.js 1157:30 callExtension
packages/devtools_app_shared/src/service/service_extension_manager.dart.js 1186:51 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 593:31 <fn>
dart-sdk/lib/async/zone.dart 1538:47 _rootRunUnary
dart-sdk/lib/async/zone.dart 1429:19 runUnary
dart-sdk/lib/async/future_impl.dart 208:18 handleValue
dart-sdk/lib/async/future_impl.dart 932:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 961:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 535:9 <fn>
dart-sdk/lib/async/zone.dart 1525:13 _rootRun
dart-sdk/lib/async/zone.dart 1422:19 run
dart-sdk/lib/async/zone.dart [1321](https://github.com/flutter/devtools/actions/runs/12798927680/job/35683997493#step:4:1322):7 runGuarded
dart-sdk/lib/async/zone.dart 1362:23 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 186:7 <fn>
The test description was:
end to end extensions flow