Skip to content

Fix CWL v1.2 behaviour of listing in InitialWorkDirRequirement - #2379

Merged
mr-c merged 1 commit into
common-workflow-language:mainfrom
LanderOtto:fix/iwd-listing
Nov 5, 2026
Merged

mr-c merged 1 commit into
common-workflow-language:mainfrom
LanderOtto:fix/iwd-listing

Conversation

@LanderOtto

Copy link
Copy Markdown
Contributor

This commit fixes the listing of the InitialWorkDirRequirement following the specification introduced in v1.2. The listing in v1.2 supports expressions which return directly File, Directory, Dirent, null, instead of only list.

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.49%. Comparing base (3addaa4) to head (d9585d8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2379      +/-   ##
==========================================
+ Coverage   85.46%   85.49%   +0.03%     
==========================================
  Files          46       46              
  Lines        8597     8606       +9     
  Branches     2015     2018       +3     
==========================================
+ Hits         7347     7358      +11     
+ Misses        793      792       -1     
+ Partials      457      456       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LanderOtto
LanderOtto force-pushed the fix/iwd-listing branch 4 times, most recently from 7c7a680 to 5cac4ee Compare November 3, 2026 11:18
@mr-c

mr-c commented Nov 4, 2026

Copy link
Copy Markdown
Member

@LanderOtto

Copy link
Copy Markdown
Contributor Author

Sure. I opened the PR: common-workflow-language/cwl-v1.3#105

…llowing the specification introduced in v1.2. The `listing` in v1.2 supports directly `File`, `Directory`, `Dirent`, `null`, instead of only list.
@mr-c
mr-c enabled auto-merge (squash) November 5, 2026 08:35
@mr-c
mr-c merged commit 4a3d201 into common-workflow-language:main Nov 5, 2026
87 of 89 checks passed
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.

2 participants