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

feat: requirements and hints #595

Merged
merged 20 commits into from
Feb 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix workflow hints
jdidion committed Feb 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 78a560f6106ad73c32b6315c8d628dfd35215fa1
14 changes: 11 additions & 3 deletions SPEC.md
Original file line number Diff line number Diff line change
@@ -5827,7 +5827,7 @@ If the `output {...}` section is omitted from a workflow that is called as a sub

### Workflow Hints

The `hints` section is optional and may contain any number of attributes (key/value pairs) that provide hints to the execution engine. Some workflow hint keys are reserved and have well-defined values. The value of a `hint` must be a [meta value](#meta-values).
The `hints` section is optional and may contain any number of attributes (key/value pairs) that provide hints to the execution engine. Some workflow hint keys are reserved and have well-defined values.

The runtime implementation may ignore any unsupported hint. A workflow execution never fails due to the inability of the execution engine to recognize or satisfy a hint.

@@ -5874,8 +5874,7 @@ workflow test_allow_nested_inputs {
}

hints {
allow_nested_inputs: true,
test_config: "optional:hints:allow_nested_inputs"
allow_nested_inputs: true
}
}
```
@@ -5895,6 +5894,15 @@ Example output:
{
"test_allow_nested_inputs.greeting": "Hello John"
}

```

Test config:

```json
{
"dependencies": "allow_nested_inputs"
}
```
</p>
</details>