-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit loadContents/File literal contents length. #1048
Limit loadContents/File literal contents length. #1048
Conversation
23ce7c8
to
d81cf05
Compare
Codecov Report
@@ Coverage Diff @@
## master #1048 +/- ##
==========================================
- Coverage 78.82% 74.68% -4.15%
==========================================
Files 30 30
Lines 6060 6071 +11
Branches 1506 1509 +3
==========================================
- Hits 4777 4534 -243
- Misses 896 1097 +201
- Partials 387 440 +53
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1048 +/- ##
==========================================
- Coverage 79.92% 79.74% -0.18%
==========================================
Files 30 30
Lines 6096 6108 +12
Branches 1522 1525 +3
==========================================
- Hits 4872 4871 -1
- Misses 848 858 +10
- Partials 376 379 +3
Continue to review full report at Codecov.
|
This actually seemed to work first try modulo type linting issues (happy for advice on this if the Travis tells me it is still wrong). Easy to test against this branch of CWL conformance v1.0 conformance tests common-workflow-language/common-workflow-language#822.
The controls pass with cwltool from pip but the active tests only pass with the changes in this PR. |
We decided to limit these and cause a hard error if these buffer sizes were exceeded. We decided this would retro-actively apply to v1.0 - since silently failing seems to be the worst of all behavior.
d81cf05
to
d659442
Compare
Thank you @jmchilton ! |
We decided to limit these and cause a hard error if these buffer sizes were exceeded. We decided this would retro-actively apply to v1.0 - since silently failing (the unspecified but actual behavior of cwltool) seems to be the worst of all behaviors.
Corresponding PR to conformance tests at common-workflow-language/common-workflow-language#822.