Skip to content

Move local_engine builds (or a subset) to post-submit only #195645

Closed

Description

@jmagman

local_engine runs gn/ninja for all et-possible local engine builds. We want to detect local engine development regressions. But it also takes up 11% of all Mac bot-hours (12% of presubmit Mac bot-hours, 8.9% of post-submit Mac bot-hours) which is quite a lot of valuable Mac CI resources for something non-user-facing. Just macos/wasm_debug_unopt and macos/wasm_release together take up 2.5% of all Mac bot-hours since it's no-goma, etc

"name": "macos/wasm_debug_unopt",

This builder was suppressed for a very long time and wasn't running in presubmit. Some options:

  1. Move the whole local_engine builder to post-submit only
  2. Move all the sub-builds to post-submit except the most common variant for each platform (debug unopt).
  3. Build in presubmit with a runIf like engine/src/flutter/tools/**, engine/src/flutter/ci/builders/local_engine.json, **/BUILD.gn, **/*.gni

Additionally, _release versions of the local engine are not often used. Consider building it even less often, say every 5 commits in post-submit?

Activity

  1. added
    engineflutter/engine related. See also e: labels.
    fyi-infraFor the attention of Infrastructure team
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    on Oct 30, 2026
  2. jmagman commented on Oct 30, 2026

    @jmagman
    MemberAuthor

    Preferred solution:

    Move all the sub-builds to post-submit except the most common variant for each platform (debug unopt).

  3. added
    P2Important issues not at the top of the work list
    on Nov 2, 2026
  4. eyebrowsoffire commented on Nov 2, 2026

    @eyebrowsoffire
    Contributor

    Assigning to @jmagman since she has an open PR for this.

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.engineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions