Skip to content

feat: adds input and output validation - #778

Open
claymcleod wants to merge 5 commits into
wdl-1.4from
input-validation
Open

feat: adds input and output validation#778
claymcleod wants to merge 5 commits into
wdl-1.4from
input-validation

Conversation

@claymcleod

@claymcleod claymcleod commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Added nested validation blocks to task and workflow input and output sections so authors could express boundary conditions without running a helper task. Input validation aggregated failures before execution, while output validation checked completed values before exposing them. Closes #657.

Restricted input validation dependencies to input declarations to preserve DAG construction, required comma-separated clauses for unambiguous parsing, and reserved validation in WDL 1.4. Input failures were made non-retryable; task output failures followed max_retries because they occur after command execution.

Before submitting this PR, please make sure:

  • You have added a few sentences describing the PR here.
  • You have considered whether the README.md or other documentation needs updating to account for these changes.
  • You have updated the CHANGELOG.md describing the change and linking back to your pull request.
  • You have read and agree to the CONTRIBUTING.md document.
  • You have considered adding or updating relevant example WDL tests to the specification.
    • See the guide for more details.

For OpenWDL team members:

  • Assign the appropriate individual to this PR.
  • Triage the PR and add appropriate labels.

@claymcleod
claymcleod force-pushed the input-validation branch 2 times, most recently from beeb1e4 to 87e45fc Compare July 16, 2026 02:09
@claymcleod
claymcleod marked this pull request as ready for review July 16, 2026 02:16
@claymcleod claymcleod added Z-specification-change (Metadata) An issue or PR related to a specification change. S05-in-progress (State) A task that is in progress. labels Jul 16, 2026
@claymcleod
claymcleod requested a review from a team July 16, 2026 02:16
@claymcleod claymcleod self-assigned this Jul 16, 2026
@claymcleod claymcleod added K-feature (Kind) A new feature request (for issues) or implementation (for PRs).. T-lang (Topic) Issues related to the syntax and semantic of the language itself. labels Jul 16, 2026
@claymcleod claymcleod added this to the 1.4 milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

K-feature (Kind) A new feature request (for issues) or implementation (for PRs).. S05-in-progress (State) A task that is in progress. T-lang (Topic) Issues related to the syntax and semantic of the language itself. Z-specification-change (Metadata) An issue or PR related to a specification change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant