-
Notifications
You must be signed in to change notification settings - Fork 32
🐛Dask-sidecar: ignore unexpected key-value pairs in outputs json data + unreliable computational runs in on-demand clusters #7724
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
🐛Dask-sidecar: ignore unexpected key-value pairs in outputs json data + unreliable computational runs in on-demand clusters #7724
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7724 +/- ##
===========================================
- Coverage 87.40% 74.59% -12.81%
===========================================
Files 1838 1161 -677
Lines 71063 48589 -22474
Branches 1201 186 -1015
===========================================
- Hits 62110 36247 -25863
- Misses 8625 12298 +3673
+ Partials 328 44 -284
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
bisgaard-itis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix
wvangeit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
6a213b0 to
26649b9
Compare
pcrespov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx!
packages/dask-task-models-library/src/dask_task_models_library/container_tasks/io.py
Show resolved
Hide resolved
26649b9 to
4ed2b2d
Compare
|



What do these changes do?
@wvangeit discovered an issue where unexpected key-values in
outputs.jsonwould fail a run.This PR fixes it and also improves on the error shown in the UI logs.
This PR also should fix the unreliability in on-demande computational clusters.
Schema Validation Improvements:
from_task_outputinio.pyto filter out any entries in the task output data that are not defined in the schema. This ensures only valid keys are retained.test_create_task_output_from_task_ignores_additional_entriesto verify that extra keys in task output files are ignored when creating task output data.Error Handling Enhancements:
get_errorsinerrors.pyto improve error message formatting by directly using the exception's string representation.UnboundPortErrorinparse_output_dataindask.py, ensuring unbound ports are properly reported with detailed error messages.Related issue/s
How to test
Dev-ops