Skip to content

[Bug] acq kit validate reports OK for commands the translator will skip or run empty #563

Open

Description

@basiliskus

kit_validate accepts a spec that kit_spec_commands then drops or empties at apply time, so validation gives no signal for the most common authoring slips:

Fixture: the spec in #558 plus command: [echo, four]. Observed at v4.0.1: kit: validate: OK.

Expected: kit validate runs the same kit_spec_commands parse and fails when a declared command is skipped, has an empty argv, or (until comments are stripped) carries a # in phase:, user:, or an argv item.

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