-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Discovered while working on #151518 (details).
Repro
- Enable analytics/telemetry with
flutter --enable-analytics
- Clear/delete your local analytics log file, this is usually stored in
<home directory>/.dart-tool/dart-flutter-telemetry.log
. We'll use this file later to see what analytics events were sent. - Run a devicelab test locally. See dev/devicelab/README.md for full instructions, though I will provide steps here
- In a terminal navigate to dev/devicelab.
- Run a devicelab test that invokes
flutter
(probably all of them). On my macOS machine that's iOS-development ready, I ran../../bin/cache/dart-sdk/bin/dart bin/test_runner.dart test -t native_assets_ios_simulator
.
Expected behavior
Since this is a devicelab test, we should not send any analytics events regardless of whether analytics is enabled on the host machine.
Observed behavior
Open your dart-flutter-telemetry.log
and search for "tool":{"value":"flutter-tool"}
. This will be contained in flutter
tool analytics events that will be sent off. Notice that there will be several events logged.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team