Skip to content

GN rules can become out of date with virtually no notice #144069

@matanlurey

Description

@matanlurey

In flutter/engine#50933 @dnfield and I found a BUILD.gn rule where inputs were missing. In practical terms, that means a target was considered cached even when sources have changed. This can effect hermeticness, local development, and potentially CI (depending how much caching is done).

I don't know if its possible to enforce this (looking in https://fuchsia.dev/fuchsia-src/development/build/build_system/best_practices_templates and https://fuchsia.dev/fuchsia-src/development/build/build_system/intro), or if it's worth doing so, but this seems like a general repository health issue.

(/cc @johnmccutchan @zanderso, but happy for this to go through normal triage)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: tech-debtTechnical debt, code quality, testing, etc.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