Skip to content
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

Disallow hdmf 3.14.4, make organize to not parallelize for a single file, log information about all exceptions while reading metadata for organize #1496

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

yarikoptic
Copy link
Member

Individual commits have more information in their description.

Overall it

I have bundled all the fixes etc so we could return back our CI to green (happen there is more to fix) and release!

joblib does not setup automagically some kind of logging for Parallel.
Filed dedicated to possibly see it implemented

- #1495

For the sake of current use case (e.g. troubleshooting
#1494) it should largely suffice to
return and log information about exception which was raised while loading
metadata.  This is what is done in this PR and while using buggy hdmf we do get
nice logging in the log file at DEBUG level.  No attempts were made to reduce
possibly a flood of duplicate log messages since per file metadata would have
unique values
@yarikoptic yarikoptic added UX patch Increment the patch version when merged cmd-organize labels Sep 5, 2024
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.63%. Comparing base (44e097f) to head (1aa3df8).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1496      +/-   ##
==========================================
+ Coverage   88.55%   88.63%   +0.07%     
==========================================
  Files          77       77              
  Lines       10568    10572       +4     
==========================================
+ Hits         9359     9371      +12     
+ Misses       1209     1201       -8     
Flag Coverage Δ
unittests 88.63% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yarikoptic yarikoptic marked this pull request as ready for review September 5, 2024 20:45
@yarikoptic yarikoptic added the release Create a release when this pr is merged label Sep 5, 2024
dandi/organize.py Outdated Show resolved Hide resolved
dandi/organize.py Outdated Show resolved Hide resolved
@yarikoptic
Copy link
Member Author

well, dev-deps would keep failing until HDMF is fixed up! I think we are ready and should proceed. I will leave it up until tomorrow for a possible review by @asmacdo or @candleindark .

@yarikoptic
Copy link
Member Author

well, 3.12 failed with

=========================== short test summary info ============================
FAILED dandi/tests/test_metadata.py::test_nwb2asset_remote_asset - Failed: Timeout >300.0s

since remote -- may be some connection? but it cannot relate to the changes here

@yarikoptic yarikoptic merged commit 8e0b1c3 into master Sep 9, 2024
25 of 28 checks passed
@yarikoptic yarikoptic deleted the enh-organize-logging branch September 9, 2024 18:14
Copy link

github-actions bot commented Sep 9, 2024

🚀 PR was released in 0.63.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd-organize patch Increment the patch version when merged release Create a release when this pr is merged released UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test suite failure on HDMF 3.14.4
2 participants