Skip to content

with build :a :b silently builds only :a #2330

Closed

Description

@ehartford

Repro: src/main build :pcre2-wo-wasm32-build :zlib-wo-wasm32-build :tommyds-wo-wasm32-build ran only pcre2-wo-wasm32-build and printed survey: all targets green.

Cause (exact line): cli_build_target_arg in src/main.w returns the first argument that starts with : and never looks at the rest; the driver runs that one goal.

Expected: every named target is a goal of the one graph run (built once, shared dependencies once), and the survey reports each; or, until that exists, a loud refusal naming the ignored targets. A silently dropped argument is the #2198 class (an unknown flag is refused so a typo stops the run).

Found during the D114 gate work (2026-10-09).

Activity

  1. ehartford commented on Oct 25, 2026

    @ehartford
    ContributorAuthor

    Triage 2026-10-25, with v0.15.3.0 (main a261b65): does not reproduce; 7f81d1e (#2408) made every named target a goal of one graph run.

    $ with build :first :second   # two Command targets echoing their names
    [times] total 0.0s across 2 executed; slowest: first 0.0s second 0.0s
    survey: all targets green
    [build] :first+second wall 0.4s
    
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