Skip to content

Run Linux analyze in GitHub actions, to be run without CICD #187817

Closed

Description

@jmagman

CICD label is required to run tests on PRs in presubmit #183554. However, we don't have this requirement for GitHub actions that do not run on LUCI bots. Move Linux analyze to a GitHub action to give checks for analyzer, linter, and format (once #187204 is resolved) issues without requiring CICD.

  • Run this in the merge queue Run Linux analyze in the Merge Queue #162329
  • Run this on engine PRs (the matching version of Dart needs to be available), or skip them.
  • Remove from .ci.yaml so it doesn't run multiple times (or, at least remove it from presubmit).

Execution details:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8679417017547606033/+/u/run_test.dart_for_analyze_shard_and_subshard_None/l_execution_details

stdout:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8679417017547606033/+/u/run_test.dart_for_analyze_shard_and_subshard_None/stdout

Related issues:
#170491

Activity

  1. jtmcdole commented on Jun 10, 2026

    @jtmcdole
    Member

    We can certainly tod this with the experimental action we built to run tool testing. The gotchas are:

    1. Engine / Android / iOS PRs would need to wait for engine artifacts to run before running the test.
    2. We need to ensure this isn't flakey as it will bog down the merge queue.
    3. Handle no secrets - only run the tests.
  2. jtmcdole commented on Jun 10, 2026

    @jtmcdole
    Member

    This workflow runs in 4 minutes. I suspect we can make the action run faster for analyze.

  3. added
    P2Important issues not at the top of the work list
    on Jun 10, 2026
  4. self-assigned this
    on Jun 11, 2026
  5. added a commit that references this issue on Jun 15, 2026
    69410eb
  6. jtmcdole commented on Jun 18, 2026

    @jtmcdole
    Member

    "not fixed" because it needs to work for engine changes. Waiting on linux_host_engine was not enough

  7. added a commit that references this issue on Jun 26, 2026
    34409ea
  8. jtmcdole commented on Jun 26, 2026

    @jtmcdole
    Member

    Once #188650 merges, I'll re-enable the check.

  9. github-actions commented on Jul 14, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  10. locked as resolved and limited conversation to collaborators on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.team-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions