Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential bug in input validation #275

Open
a-frantz opened this issue Dec 19, 2024 · 0 comments
Open

potential bug in input validation #275

a-frantz opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@a-frantz
Copy link
Member

I was working on a new sprocket validate-inputs subcommand (WIP here) modeled after this code: https://github.com/stjude-rust-labs/wdl/blob/main/wdl-engine/tests/inputs.rs

The bug could be on my end, but I don't think so.

$ cargo run -- validate-inputs -i ../workflows/workflows/reference/inputs/qc-reference-inputs.json ../workflows/workflows/reference/qc-reference.wdl
   Compiling sprocket v0.9.0 (/Users/afrantz/sprocket)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s
     Running `target/debug/sprocket validate-inputs -i ../workflows/workflows/reference/inputs/qc-reference-inputs.json ../workflows/workflows/reference/qc-reference.wdl`
error: failed to validate inputs:
failed to validate inputs for workflow `qc_reference`

Caused by:
    missing required input `tarballs`

the referenced files are on main of the workflows repo here and here

Notably, tarballs is not a workflow input. It is an input to a call, but that is explicitly provided by the call here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant