Skip to content

Conversation

@GitHK
Copy link
Contributor

@GitHK GitHK commented Jan 16, 2025

What do these changes do?

Paths were not at all escaped. Added escaping via shlex.quote. This should cover all possible cases with all the paths involving 7zip: achieve names, destination folder, source folder

โš ๏ธ Hotfix instructions

Just the dynamic-sidecar image is required for this hot to work. Requires director-v2๏ฟฝ reboot.

Related issue/s

How to test

Dev-ops checklist

@GitHK GitHK self-assigned this Jan 16, 2025
@GitHK GitHK added bug buggy, it does not work as expected High Priority a totally crucial bug/feature to be fixed asap t:maintenance Some planned maintenance work labels Jan 16, 2025
@GitHK GitHK added this to the Singularity milestone Jan 16, 2025
@sonarqubecloud
Copy link

@GitHK GitHK marked this pull request as ready for review January 16, 2025 13:14
@GitHK GitHK requested a review from pcrespov as a code owner January 16, 2025 13:14
@codecov
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests โœ…

Project coverage is 86.74%. Comparing base (eac9d86) to head (d1acae3).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7049      +/-   ##
==========================================
- Coverage   86.94%   86.74%   -0.21%     
==========================================
  Files        1651     1293     -358     
  Lines       64839    54986    -9853     
  Branches     2043     1010    -1033     
==========================================
- Hits        56374    47695    -8679     
+ Misses       8130     7097    -1033     
+ Partials      335      194     -141     
Flag Coverage ฮ”
integrationtests 64.45% <รธ> (+0.64%) โฌ†๏ธ
unittests 85.47% <100.00%> (-0.32%) โฌ‡๏ธ
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 73.89% <100.00%> (+<0.01%) โฌ†๏ธ
pkg_settings_library โˆ… <รธ> (โˆ…)
pkg_simcore_sdk 85.38% <รธ> (รธ)
agent 96.45% <รธ> (รธ)
api_server 90.54% <รธ> (รธ)
autoscaling 96.09% <รธ> (รธ)
catalog 90.66% <รธ> (รธ)
clusters_keeper 99.24% <รธ> (รธ)
dask_sidecar 91.26% <รธ> (รธ)
datcore_adapter 93.18% <รธ> (รธ)
director 76.42% <รธ> (-0.09%) โฌ‡๏ธ
director_v2 91.31% <รธ> (+0.02%) โฌ†๏ธ
dynamic_scheduler 97.20% <รธ> (รธ)
dynamic_sidecar 89.75% <รธ> (รธ)
efs_guardian 90.46% <รธ> (รธ)
invitations 93.44% <รธ> (รธ)
osparc_gateway_server โˆ… <รธ> (โˆ…)
payments 92.66% <รธ> (รธ)
resource_usage_tracker 89.52% <รธ> (+0.17%) โฌ†๏ธ
storage 89.57% <รธ> (รธ)
webclient โˆ… <รธ> (โˆ…)
webserver 84.06% <รธ> (-0.02%) โฌ‡๏ธ

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 eac9d86...d1acae3. Read the comment docs.

@mrnicegyu11 mrnicegyu11 merged commit 2460775 into ITISFoundation:master Jan 16, 2025
91 of 93 checks passed
@GitHK GitHK deleted the pr-osparc-hotfix-zipping branch January 16, 2025 14:16
matusdrobuliak66 pushed a commit that referenced this pull request Jan 16, 2025
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Mar 6, 2025
63 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug buggy, it does not work as expected High Priority a totally crucial bug/feature to be fixed asap t:maintenance Some planned maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants