-
Notifications
You must be signed in to change notification settings - Fork 26
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰Bugfix/644/listing makes pennsieve client fail #3464
馃悰Bugfix/644/listing makes pennsieve client fail #3464
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3464 +/- ##
========================================
+ Coverage 83.3% 85.4% +2.0%
========================================
Files 829 645 -184
Lines 35162 30044 -5118
Branches 739 552 -187
========================================
- Hits 29321 25665 -3656
+ Misses 5654 4231 -1423
+ Partials 187 148 -39
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8b91fff
to
a3fed0e
Compare
setup correctly logging level
increase timeout on reading dataset contents
a3fed0e
to
7c33f22
Compare
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.
馃憤
You already did some useful upgrades on this service. Can I persuade you to do one extra "maintenance" PR follow this one and
- Add
typecheck
step (seeunit-test-postgres-database
for referece) - Do full update of reqs. (some constraints were added due to pennsieve lib)
I suggest them in a separate PR for clarity
services/datcore-adapter/src/simcore_service_datcore_adapter/api/routes/datasets.py
Show resolved
Hide resolved
status_code=status.HTTP_202_ACCEPTED, | ||
) | ||
@cancellable_request | ||
async def upload_file_in_collection( |
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.
so these handlers are not anymore used? I do not see a replacement
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.
no they are removed. and as a matter of fact they were never used.
services/datcore-adapter/src/simcore_service_datcore_adapter/core/application.py
Outdated
Show resolved
Hide resolved
services/datcore-adapter/src/simcore_service_datcore_adapter/core/application.py
Show resolved
Hide resolved
services/datcore-adapter/src/simcore_service_datcore_adapter/core/application.py
Show resolved
Hide resolved
services/datcore-adapter/src/simcore_service_datcore_adapter/modules/pennsieve.py
Outdated
Show resolved
Hide resolved
@pcrespov 馃憤
|
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.
Nice.
Please find some questions below.
services/datcore-adapter/src/simcore_service_datcore_adapter/api/routes/datasets.py
Show resolved
Hide resolved
services/datcore-adapter/src/simcore_service_datcore_adapter/modules/pennsieve.py
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!聽 聽 0 Bugs No Coverage information |
What do these changes do?
The connection with Pennsieve tends to fail after several calls to large datasets fail. This is an attempt to fix the problem.
Bonus:
Related issue/s
related to ITISFoundation/osparc-issues#644
related to ITISFoundation/dockerfiles#72
How to test
Checklist