flutter/dev/devicelab/lib/framework
Ben Konyi 2c84e63ba7
[ Cocoon ] Wait for task results to be received by the task runner before shutting down the task process (#156002)
Prior to this fix, `_TaskRunner.run` would immediately cleanup the
keep-alive port once the task completed, which would result in the
isolate shutting down as soon as the task result was returned from
`ext.cocoonRunTask` callback in the form of a
`ServiceExtensionResponse`. Since the service extension response is
processed by the service isolate, it was possible for the VM to start
shutting down before the service isolate could send the task result data
back to the task runner.

This change introduces a new service extension,
`ext.cocoonTaskResultReceived`, that the task runner invokes after it
receives the task result from `ext.cocoonRunTask`, notifying the task
process that it can close the keep-alive port and shutdown.

Fixes https://github.com/flutter/flutter/issues/155475
2024-10-02 17:01:24 -04:00
..
ab.dart switch statement cleanup (#148382) 2024-05-16 17:16:06 -07:00
apk_utils.dart Stop recommending android sdk root (#136296) 2023-10-11 21:04:59 +00:00
browser.dart Add info strings to code blocks. (#146085) 2024-04-01 14:05:16 -07:00
cocoon.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
dependency_smoke_test_task_definition.dart Reland "Update template/test compileSdk, targetSdk, ndk versions" (#153795) 2024-08-21 18:27:00 +00:00
devices.dart [devicelan] opt android devices into fixed performance mode. (#154016) 2024-08-23 18:11:25 +00:00
framework.dart [ Cocoon ] Wait for task results to be received by the task runner before shutting down the task process (#156002) 2024-10-02 17:01:24 -04:00
host_agent.dart migrate host agent (#84755) 2021-06-22 12:21:03 -07:00
ios.dart Fix some tests that fail with Swift Package Manager enabled (#152267) 2024-07-26 21:08:32 +00:00
metrics_center.dart Use separate metric file names for same tests running on different platforms (#101317) 2022-04-05 09:16:04 -07:00
runner.dart [ Cocoon ] Wait for task results to be received by the task runner before shutting down the task process (#156002) 2024-10-02 17:01:24 -04:00
running_processes.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
talkback.dart Migrates android semanitcs integration to integration test (#127128) 2023-05-23 22:33:19 +00:00
task_result.dart Migrate devicelab framework code to null safety. (#86325) 2021-07-13 12:14:50 -07:00
utils.dart Remove --disable-dart-dev across flutter/flutter. (#154280) 2024-08-29 22:50:04 +00:00