Skip to content

Conversation

@GitHK
Copy link
Contributor

@GitHK GitHK commented Jun 17, 2025

What do these changes do?

Fixed a corner case where the director-v2 could not remove a sidecar due to an unhandled error raised by the long_running_tasks client. Task attempt_pod_removal_and_data_saving is allowed to raise only under certain situations. Added exception handling for unforeseen errors which addresses the below linked issue.

Related issue/s

How to test

Dev-ops

@GitHK GitHK self-assigned this Jun 17, 2025
@GitHK GitHK added this to the Engage milestone Jun 17, 2025
@codecov
Copy link

codecov bot commented Jun 17, 2025

Codecov Report

Attention: Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.91%. Comparing base (0d75a45) to head (e25197f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7914      +/-   ##
==========================================
- Coverage   88.31%   87.91%   -0.40%     
==========================================
  Files        1774     1428     -346     
  Lines       68970    59345    -9625     
  Branches     1090      619     -471     
==========================================
- Hits        60910    52176    -8734     
+ Misses       7740     6960     -780     
+ Partials      320      209     -111     
Flag Coverage Δ
integrationtests 64.25% <25.00%> (+0.04%) ⬆️
unittests 86.23% <93.10%> (-0.64%) ⬇️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library 72.67% <100.00%> (+0.07%) ⬆️
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.10% <ø> (+0.05%) ⬆️
agent 96.29% <ø> (ø)
api_server 92.31% <ø> (ø)
autoscaling 96.03% <ø> (ø)
catalog 92.29% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.79% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 76.73% <ø> (-0.10%) ⬇️
director_v2 91.05% <50.00%> (+0.02%) ⬆️
dynamic_scheduler 96.69% <ø> (ø)
dynamic_sidecar 90.09% <ø> (ø)
efs_guardian 89.65% <ø> (ø)
invitations 93.00% <ø> (ø)
payments 92.57% <ø> (ø)
resource_usage_tracker 89.11% <ø> (+0.10%) ⬆️
storage 87.46% <ø> (-0.08%) ⬇️
webclient ∅ <ø> (∅)
webserver 87.61% <ø> (+<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 0d75a45...e25197f. 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.

@GitHK GitHK added bug buggy, it does not work as expected release Preparation for pre-release/release labels Jun 17, 2025
@GitHK GitHK changed the title 🐛 Fixes issue when 🐛 Fixed director-v2 getting stuck when removing service Jun 17, 2025
@GitHK GitHK marked this pull request as ready for review June 17, 2025 14:18
@GitHK GitHK requested review from pcrespov and sanderegg as code owners June 17, 2025 14:18
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.

Let's not have 3x the same logs please.

@pcrespov pcrespov requested a review from giancarloromeo June 17, 2025 19:05
@GitHK GitHK requested a review from pcrespov June 18, 2025 08:12
@sonarqubecloud
Copy link

Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

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

thx

@GitHK GitHK added the 🤖-automerge marks PR as ready to be merged for Mergify label Jun 18, 2025
@GitHK
Copy link
Contributor Author

GitHK commented Jun 18, 2025

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Jun 18, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at b45e2c2

@mergify mergify bot merged commit b45e2c2 into ITISFoundation:master Jun 18, 2025
95 of 96 checks passed
@GitHK GitHK deleted the pr-osparc-fix-lrt-interface-again branch June 18, 2025 08:41
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jun 20, 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 bug buggy, it does not work as expected release Preparation for pre-release/release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FastAPI long_running_tasks client interface broken

4 participants