Skip to content

Conversation

@pcrespov
Copy link
Member

@pcrespov pcrespov commented May 22, 2025

What do these changes do?

Front-end is not respecting OAS that requires thumbnail in the body leading to

{
    "error": {
        "status": 422,
        "errors": [
            {
                "code": "missing",
                "message": "Field required",
                "resource": "/v0/wallets/8",
                "field": "thumbnail"
            }
        ]
    }
}

Fixes the issue by dropping the requirement on thumbnail

Suggestions to follow up

  • Replace PATCH instead of PUT

Related issue/s

How to test

cd services/web/server
make install-dev
pytest -vv tests/unit -k test_update_wallet_without_thumbnail

Dev-ops

@pcrespov pcrespov changed the title Is7680/fix rename wallet web-api: Fixes wallet update operation May 22, 2025
@codecov
Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.91%. Comparing base (78abf4b) to head (d88e478).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7736      +/-   ##
==========================================
+ Coverage   87.38%   88.91%   +1.53%     
==========================================
  Files        1838     1458     -380     
  Lines       71336    60494   -10842     
  Branches     1202      474     -728     
==========================================
- Hits        62335    53790    -8545     
+ Misses       8671     6584    -2087     
+ Partials      330      120     -210     
Flag Coverage Δ
integrationtests 64.27% <ø> (-0.01%) ⬇️
unittests 88.02% <100.00%> (+1.42%) ⬆️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library 93.11% <100.00%> (ø)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration 69.92% <ø> (ø)
pkg_service_library ∅ <ø> (∅)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.07% <ø> (ø)
agent 96.46% <ø> (ø)
api_server 91.58% <ø> (ø)
autoscaling 96.07% <ø> (ø)
catalog 92.29% <ø> (ø)
clusters_keeper 99.25% <ø> (ø)
dask_sidecar 91.67% <ø> (ø)
datcore_adapter 98.12% <ø> (ø)
director 76.87% <ø> (ø)
director_v2 90.99% <ø> (-0.02%) ⬇️
dynamic_scheduler 96.76% <ø> (ø)
dynamic_sidecar 90.18% <ø> (ø)
efs_guardian 89.79% <ø> (ø)
invitations 93.28% <ø> (ø)
payments 92.63% <ø> (ø)
resource_usage_tracker 89.13% <ø> (+0.05%) ⬆️
storage 87.56% <ø> (-0.25%) ⬇️
webclient ∅ <ø> (∅)
webserver 85.70% <ø> (-0.01%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78abf4b...d88e478. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pcrespov pcrespov changed the title web-api: Fixes wallet update operation 🐛 web-api: wallet update operation has now optional thumbnail May 22, 2025
@pcrespov pcrespov self-assigned this May 22, 2025
@pcrespov pcrespov added the a:webserver webserver's codebase. Assigning the area is particularly useful for bugs label May 22, 2025
@pcrespov pcrespov added this to the Bazinga! milestone May 22, 2025
@pcrespov pcrespov requested a review from odeimaiz May 22, 2025 20:04
@pcrespov pcrespov enabled auto-merge (squash) May 22, 2025 20:05
@pcrespov
Copy link
Member Author

@mergify queue

@pcrespov pcrespov added the 🤖-automerge marks PR as ready to be merged for Mergify label May 22, 2025
@mergify
Copy link
Contributor

mergify bot commented May 22, 2025

queue

🛑 The pull request could not be merged

This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 3 of 6 required status checks are expected.)

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Copy link
Collaborator

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sonarqubecloud
Copy link

@mergify
Copy link
Contributor

mergify bot commented May 23, 2025

This pull request has been removed from the queue for the following reason: pull request dequeued.

Pull request #7736 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 3 of 6 required status checks are expected.).

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@pcrespov
Copy link
Member Author

@Mergifyio requeue

@mergify
Copy link
Contributor

mergify bot commented May 23, 2025

requeue

✅ This pull request will be re-embarked automatically

The followup queue command will be automatically executed to re-embark the pull request.

@mergify
Copy link
Contributor

mergify bot commented May 23, 2025

queue

🛑 The pull request could not be merged

This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 2 of 6 required status checks are expected.)

@mergify
Copy link
Contributor

mergify bot commented May 23, 2025

This pull request has been removed from the queue for the following reason: pull request dequeued.

Pull request #7736 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 2 of 6 required status checks are expected.).

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@pcrespov pcrespov merged commit fa9d3a0 into ITISFoundation:master May 23, 2025
106 of 107 checks passed
@pcrespov pcrespov deleted the is7680/fix-rename-wallet branch May 26, 2025 16:37
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jun 6, 2025
92 tasks
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify a:webserver webserver's codebase. Assigning the area is particularly useful for bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename wallet

4 participants