Skip to content

Preflight compiles the registry without the build's identity inputs — can pass what the build rejects #472

Description

@MaxGhenis

Audit finding 8 of #468, split out because it is a correctness defect, not just recompute waste: release_gate_preflight omits CD-inclusion/crosswalk, allow_unaged_dollar_targets, and extra support exclusions when compiling the registry, so standalone preflight and the build can disagree on the target surface — preflight green, build red (or worse, the reverse under future flags). Fix: preflight consumes the build's exact compilation configuration (same flags, same exclusions), or both consume one content-addressed compiled-registry artifact keyed by feed hash + every flag/resource hash. The caching half also removes the duplicate compilation (2× per workflow today).

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions