Skip to content

Report config values and missing config fields in workflow describe - #13

Merged
kriben merged 2 commits into
mainfrom
issue-12-config-values
Sep 30, 2026
Merged

kriben merged 2 commits into
mainfrom
issue-12-config-values

Conversation

@kriben

@kriben kriben commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

taskmaestro workflow describe --input now reports, per task:

  • config_values: the raw values from input.yaml for the provided fields, before Pydantic validation, so opaque markers pass through unchanged. Dates/datetimes become ISO 8601 strings, paths strings, sets sorted lists and non-string mapping keys JSON key strings. Bytes, NaN/infinity and keys colliding after conversion are rejected.
  • missing_config_fields: declared config_fields the input does not set. An incomplete input (e.g. a template with runtime-picker fields) is now described instead of rejected; the remaining Job validation (map sources, root inputs) still runs. validate and run stay strict.

Both are null without --input.

Closes #12

`taskmaestro workflow describe --input` now reports, per task:

- `config_values`: the raw values from input.yaml for the provided fields,
  before Pydantic validation, so opaque markers pass through unchanged.
  Dates/datetimes become ISO 8601 strings, paths strings, sets sorted
  lists and non-string mapping keys JSON key strings. Bytes, NaN/infinity
  and keys colliding after conversion are rejected.
- `missing_config_fields`: declared config_fields the input does not set.
  An incomplete input (e.g. a template with runtime-picker fields) is now
  described instead of rejected; the remaining Job validation (map
  sources, root inputs) still runs. `validate` and `run` stay strict.

Both are null without --input.

Closes #12
@kriben
kriben merged commit 482ccd4 into main Sep 30, 2026
3 checks passed
@kriben
kriben deleted the issue-12-config-values branch October 2, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: include input.yaml config values in workflow describe output

1 participant