Skip to content

[flutter_tools] Bump unified_analytics to record root_tool and leaf_tool #194983

Closed

Description

@keertip

Depends on the unified_analytics release from dart-lang/tools#2703.

Bump unified_analytics so flutter_tools events record root_tool and leaf_tool. leaf_tool (and the deprecated tool) stays flutter-tool.

Activity

  1. added
    in triagePresently being triaged by the triage team
    toolAffects the "flutter" command-line tool. See also t: labels.
    team-toolOwned by Flutter Tool team
    and removed
    in triagePresently being triaged by the triage team
    on Oct 22, 2026
  2. added
    P2Important issues not at the top of the work list
    triaged-toolTriaged by Flutter Tool team
    on Oct 27, 2026
  3. changed the title [-][flutter_tools] Bump unified_analytics to record rootTool[/-] [+][flutter_tools] Bump unified_analytics to record root_tool and leaf_tool[/+] on Nov 3, 2026
  4. keertip commented on Nov 9, 2026

    @keertip
    ContributorAuthor

    The unified_analytics bump landed with the pub roll in #195950, which moved flutter_tools to unified_analytics: 8.4.0. flutter_tools events now record leaf_tool = flutter-tool and root_tool resolved from DASH__TOOL (falling back to flutter-tool). The deprecated tool property stays flutter-tool.

    I'm keeping this open for one small follow-up. When flutter_tools starts a child process, it passes the parent's DASH__TOOL through unchanged, even if the value is invalid or names a shared component that can't be a root tool. flutter_tools itself ignores such a value, but its children would still receive it. I'll send a PR so that only a valid root tool is passed on, falling back to flutter-tool otherwise.

  5. added a commit that references this issue on Nov 12, 2026
    525435b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions