Run plugin tests against the debug engine
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
Right now plugin tests run against the release version of the flutter engine. The release version of the engine has less verification for correctness. For example, in https://github.com/flutter/packages/pull/6069 it was found that a platform channel in the `google_maps_flutter` plugin was being used from a background thread which is a [violation](https://docs.flutter.dev/platform-integration/platform-channels?tab=type-mappings-swift-tab#channels-and-platform-threading) that can introduce race conditions. It is silently ignored in release engines, but if plugin tests were run against the debug engine we'd catch those failures and potentially others.
It is my understanding that we save debug builds but they may not be readily served by the flutter tool.
This will solve the issue for our plugins, ideally this feature would be available to external plugin developers.
Contributor guide
Assessment
This issue has not been assessed yet.