Track analytics for architecture on Flutter tool calls
Open
P2
team-tool
tool
triaged-tool
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
We can get macOS arm/x86_64 architecutre from the OS version, which may contain for example `macOS 26.5.2 25F84 darwin-arm64`:
https://github.com/dart-lang/tools/blob/8108a7c21beed22298b4588cd72cd16e6f4b3c18/pkgs/unified_analytics/lib/src/analytics.dart#L424-L427
There also seems to be some inconsistent arch for Ubuntu, for example `Ubuntu 24.04.4 LTS 5.10.0-blahblah.x86_64`.
However the `io.Platform.operatingSystemVersion` doesn't include the architecture for Windows or Linux (when not Ubuntu).
Explicitly track analytics for the architecture from Flutter tool command invocations.
Contributor guide
Assessment
This issue has not been assessed yet.