Skip to content

Conversation

@LanderOtto
Copy link
Collaborator

@LanderOtto LanderOtto commented Nov 3, 2025

This commit resolves an issue that occurs when a CommandLineTool is executed directly and its output includes loadContents. Before to this fix, the TokenProcessor in the collector step incorrectly attempted to compute the content loading. However, this loading should only be handled by the CommandOutputProcessor of the ExecuteStep. The redundant computation can lead to errors, particularly when the content exceeds 64KB.

@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.81%. Comparing base (25ebf2d) to head (31d27d7).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #846      +/-   ##
==========================================
+ Coverage   72.79%   72.81%   +0.02%     
==========================================
  Files          90       90              
  Lines       12033    12033              
  Branches     2116     2116              
==========================================
+ Hits         8759     8762       +3     
+ Misses       2790     2787       -3     
  Partials      484      484              

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

@LanderOtto
Copy link
Collaborator Author

Test added in common-workflow-language/cwl-v1.3/pull/77

@LanderOtto LanderOtto force-pushed the fix/collector-content branch 2 times, most recently from 29ccea2 to 4d87434 Compare November 7, 2025 20:43
… executed directly and its output includes `loadContents`. Before to this fix, the `TokenProcessor` in the collector step incorrectly attempted to compute the content loading. However, this loading should only be handled by the `CommandOutputProcessor`. The redundant computation can lead to errors, particularly when the content exceeds 64KB, as specified by the CWL standard.
@LanderOtto LanderOtto force-pushed the fix/collector-content branch from 4d87434 to 31d27d7 Compare November 7, 2025 20:45
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