Skip to content

Collect HCPP adoption analytics for flutter run/build apk/build appbundle#184225

Merged
auto-submit[bot] merged 19 commits into
flutter:masterfrom
gmackall:add_hcpp_analytics
Apr 7, 2026
Merged

Collect HCPP adoption analytics for flutter run/build apk/build appbundle#184225
auto-submit[bot] merged 19 commits into
flutter:masterfrom
gmackall:add_hcpp_analytics

Conversation

@gmackall

@gmackall gmackall commented Mar 26, 2026

Copy link
Copy Markdown
Member

Fixes #184127

Leaves the add-to-app case unresolved for now, tracked in #184541

@github-actions github-actions Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 26, 2026
@gmackall gmackall added the CICD Run CI/CD label Mar 26, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 2, 2026
@flutter-dashboard

Copy link
Copy Markdown

This pull request is not mergeable in its current state, likely because of a merge conflict. Pre-submit CI jobs were not triggered. Pushing a new commit to this branch that resolves the issue will result in pre-submit jobs being scheduled.

@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 2, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 2, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 2, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall changed the title Add hcpp analytics Collect HCPP adoption analytics for flutter run/build apk/build appbundle Apr 2, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 2, 2026
@gmackall gmackall marked this pull request as ready for review April 2, 2026 22:39
@gmackall gmackall requested a review from a team April 2, 2026 22:39

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds HCPP analytics collection to build and run commands, refactors manifest metadata parsing, and updates project dependencies. The review identifies a compilation error from an undefined variable, missing record type updates for analytics, and inconsistent field naming. Additionally, the manifest metadata helper requires logic fixes to correctly process explicit "false" values.

Comment thread packages/flutter_tools/lib/src/commands/run.dart
Comment thread packages/flutter_tools/lib/src/commands/build_apk.dart
Comment thread packages/flutter_tools/lib/src/commands/build_appbundle.dart
Comment thread packages/flutter_tools/lib/src/project.dart
Comment thread packages/flutter_tools/lib/src/project.dart
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 3, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 6, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 7, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 7, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 7, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 7, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 7, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 7, 2026
@flutter-dashboard

Copy link
Copy Markdown

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #184225 at sha 40fb349

@flutter-dashboard flutter-dashboard Bot added the will affect goldens Changes to golden files label Apr 7, 2026
@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 7, 2026
@auto-submit

auto-submit Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/184225, because This PR has not met approval requirements for merging. Changes were requested by {reidbaker}, please make the needed changes and resubmit this PR.
The PR author is a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.

  • Merge guidelines: A PR needs at least one approved review if the author is already part of flutter-hackers or two member reviews if the author is not a member of flutter-hackers before re-applying the autosubmit label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 7, 2026
@gmackall gmackall added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Apr 7, 2026
@auto-submit auto-submit Bot added this pull request to the merge queue Apr 7, 2026
Merged via the queue into flutter:master with commit 354f42f Apr 7, 2026
155 of 156 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 8, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 8, 2026
auto-submit Bot pushed a commit to flutter/packages that referenced this pull request Apr 8, 2026
flutter/flutter@a0924c7...05e0ae0

2026-04-08 [email protected] Fix Android engine flags defaulting to true for malformed values (flutter/flutter#184631)
2026-04-08 [email protected] Try one more again (flutter/flutter#184767)
2026-04-08 [email protected] Remove custom `analysis_options.yaml` from `imitation_game_flutter` (flutter/flutter#184717)
2026-04-08 [email protected] Add more error handling to unawaited callsites (flutter/flutter#184526)
2026-04-08 [email protected] Refactor: remove material from absorb_ponter_test, container_test,  lookup_boundary_test, page_view_test, router_test, semantics_clipping_test, semantics_merge_test, shadow_test, text_test (flutter/flutter#183309)
2026-04-08 [email protected] Remove editable_text_utils cross-imports from material and cupertino … (flutter/flutter#184519)
2026-04-08 [email protected] Replace hard coded max path length with system defined one. (flutter/flutter#184697)
2026-04-08 [email protected] [Re-land] Add Support For Built-in Kotlin (flutter/flutter#184745)
2026-04-08 [email protected] Manually stop and continue LLDB breakpoints on Xcode 26.4+ (flutter/flutter#184690)
2026-04-08 [email protected] Code freeze workflow (flutter/flutter#184246)
2026-04-08 [email protected] [Dot shorthands] Migrate examples/api/lib/widgets (flutter/flutter#183965)
2026-04-08 [email protected] [cupertino.dart] Implement CupertinoMenuAnchor and CupertinoMenuItem using RawMenuAnchor (flutter/flutter#182036)
2026-04-08 [email protected] [Semantics] clarify Android header docs (flutter/flutter#183573)
2026-04-08 [email protected] [ci] mac build_test bringup false (flutter/flutter#184738)
2026-04-08 [email protected] Reland "Apply rect clipping to surface views" (flutter/flutter#184732)
2026-04-08 [email protected] Remove bringup label for resharded Windows tool_integration_tests shards (flutter/flutter#184721)
2026-04-08 [email protected] Tool: Add search and filtering to widget preview scaffold (flutter/flutter#184023)
2026-04-08 [email protected] Update localization from translation console (flutter/flutter#184742)
2026-04-07 [email protected] Revert "Add Support For Built-in Kotlin (#184227)" (flutter/flutter#184739)
2026-04-07 [email protected] Collect HCPP adoption analytics for flutter run/build apk/build appbundle (flutter/flutter#184225)
2026-04-07 [email protected] Add a github workflow for reverting PRs. (flutter/flutter#184593)
2026-04-07 [email protected] Add Support For Built-in Kotlin (flutter/flutter#184227)
2026-04-07 [email protected] Revert "Apply rect clipping to surface views (#184471)" (flutter/flutter#184728)
2026-04-07 [email protected] [Fix-forward] Added Compose plugin to Add-to-app Integration Test (flutter/flutter#184681)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mbcorona pushed a commit to mbcorona/flutter that referenced this pull request Apr 15, 2026
…ndle (flutter#184225)

Fixes flutter#184127

Leaves the add-to-app case unresolved for now, tracked in
flutter#184541

---------

Co-authored-by: Gray Mackall <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD tool Affects the "flutter" command-line tool. See also t: labels. will affect goldens Changes to golden files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gather HCPP adoption analytics

3 participants