Repository navigation
fix: an output directory is a Directory literal - #598
Merged
Merged
Conversation
vjaganat90
force-pushed
the
fix/output-dir-literal
branch
from
November 13, 2026 15:32
7cf450e to
b33455f
Compare
darkclad
approved these changes
Nov 13, 2026
darkclad
left a comment
There was a problem hiding this comment.
LGTM. Reviewed the delta over #596. One classifier on the resolved view replaces the CWL rewrite, and the tool now compiles as its author wrote it. I checked the Directory literal at the root and at one and two calls down under cwltool, and all three runs create and fill the directory.
A writable output-target tool compiles as its author wrote it; the job carries an empty Directory literal the runner creates. The string rewrite it replaces failed without InlineJavascriptRequirement and in subworkflows.
vjaganat90
force-pushed
the
fix/output-dir-literal
branch
from
November 13, 2026 17:56
b33455f to
fb13018
Compare
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #596 (
test/suite-shrink).What
InitialWorkDirRequiremententry captured back by a Directory output) compiles as its author wrote it. The job names that directory as an empty Directory literal, which the runner creates.Why
The rewrite this deletes made the input a
stringwith a${…}entry. That failed in every tool withoutInlineJavascriptRequirement. Inside a subworkflow it also retyped the inner input but not the root's, so cwltool rejected the workflow.Before and after, for
write_dirbound toresult.outDir: