Skip to content

Fix workflow File defaults - #2323

Open
Guflly wants to merge 1 commit into
common-workflow-language:mainfrom
Guflly:fix/workflow-file-default
Open

Fix workflow File defaults#2323
Guflly wants to merge 1 commit into
common-workflow-language:mainfrom
Guflly:fix/workflow-file-default

Conversation

@Guflly

@Guflly Guflly commented Aug 2, 2026

Copy link
Copy Markdown

Fixes #2300.

Workflow step defaults were copied after the initial job-order path normalization, leaving File and Directory objects with path instead of location. This normalizes copied defaults when they are filled, including nested file objects.

Tests:

  • pytest -q tests/test_default_path.py
  • non-container test suite (590 passed, 207 skipped)
  • mypy, Black, flake8, isort, and codespell

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.

default File inputs in the process of a workflow step → "Anonymous file object must have 'contents' and 'basename' fields."

1 participant