Skip to content

Conversation

@sanderegg
Copy link
Member

@sanderegg sanderegg commented May 26, 2025

What do these changes do?

Related issue/s

How to test

Dev-ops

@sanderegg sanderegg added this to the Bazinga! milestone May 26, 2025
@sanderegg sanderegg self-assigned this May 26, 2025
@codecov
Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.48%. Comparing base (6647cd8) to head (60704c6).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7753      +/-   ##
==========================================
- Coverage   86.78%   86.48%   -0.31%     
==========================================
  Files        1841     1433     -408     
  Lines       71499    59874   -11625     
  Branches     1214      616     -598     
==========================================
- Hits        62050    51780   -10270     
+ Misses       9107     7894    -1213     
+ Partials      342      200     -142     
Flag Coverage Δ
integrationtests 64.38% <100.00%> (+0.02%) ⬆️
unittests 86.18% <75.00%> (-0.37%) ⬇️
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 71.87% <100.00%> (+<0.01%) ⬆️
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.13% <100.00%> (+0.05%) ⬆️
agent 96.29% <ø> (ø)
api_server 91.77% <ø> (ø)
autoscaling 96.03% <ø> (ø)
catalog 92.25% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.67% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 76.73% <ø> (ø)
director_v2 90.99% <ø> (-0.02%) ⬇️
dynamic_scheduler 96.69% <ø> (ø)
dynamic_sidecar 90.14% <ø> (ø)
efs_guardian 89.65% <ø> (ø)
invitations 93.00% <ø> (ø)
payments 92.57% <ø> (ø)
resource_usage_tracker 88.98% <ø> (-0.06%) ⬇️
storage 87.46% <ø> (ø)
webclient ∅ <ø> (∅)
webserver 83.95% <ø> (+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 6647cd8...60704c6. 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.

@sanderegg sanderegg changed the title 🐛Issue when uploading files 🎨 Maintenance: change default chunk size to compute checksums to 8MiB instead of 5KB May 26, 2025
@sanderegg sanderegg requested a review from bisgaard-itis May 26, 2025 13:33
@sanderegg sanderegg marked this pull request as ready for review May 26, 2025 13:33
@sanderegg sanderegg requested a review from pcrespov as a code owner May 26, 2025 13:33
@sanderegg sanderegg force-pushed the bugfix/issue-with-upload branch from 22b638e to 51ad5bd Compare May 26, 2025 13:34
Copy link
Contributor

@bisgaard-itis bisgaard-itis 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
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR increases the default chunk size used for computing SHA256 checksums from 4KB to 8MiB to enhance performance when processing large files. It updates related test fixtures to use asynchronous factory functions and removes an unnecessary conversion in the checksum generation.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/simcore-sdk/tests/integration/test_node_ports_common_filemanager.py Updated optional_sync_settings to use async factories for settings retrieval.
packages/simcore-sdk/tests/integration/conftest.py Modified factory fixtures to return async factory functions and adjusted their invocations.
packages/simcore-sdk/src/simcore_sdk/node_ports_common/filemanager.py Removed unnecessary SHA256Str conversion when generating file checksums.
packages/service-library/src/servicelib/file_utils.py Increased default chunk_size from CHUNK_4KB to CHUNK_8MB and adjusted corresponding comments.

@sanderegg sanderegg force-pushed the bugfix/issue-with-upload branch from 51ad5bd to 6a93cfa Compare May 26, 2025 16:27
@sanderegg sanderegg added the 🤖-automerge marks PR as ready to be merged for Mergify label May 26, 2025
@sanderegg
Copy link
Member Author

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented May 26, 2025

queue

🟠 Waiting for conditions to match

  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • any of: [🛡 GitHub branch protection]
        • check-neutral = deploy to dockerhub
        • check-skipped = deploy to dockerhub
        • check-success = deploy to dockerhub
      • any of: [🛡 GitHub branch protection]
        • check-neutral = system-tests
        • check-skipped = system-tests
        • check-success = system-tests
      • any of: [🛡 GitHub branch protection]
        • check-neutral = unit-tests
        • check-skipped = unit-tests
        • check-success = unit-tests
      • any of: [🛡 GitHub branch protection]
        • check-neutral = integration-tests
        • check-skipped = integration-tests
        • check-success = integration-tests
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved=0
      • -conflict
      • -draft
      • base=master
      • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
      • label!=🤖-do-not-merge
      • label=🤖-automerge
      • any of: [🛡 GitHub branch protection]
        • check-success = check OAS' are up to date
        • check-neutral = check OAS' are up to date
        • check-skipped = check OAS' are up to date
      • any of: [🛡 GitHub branch protection]
        • check-success = build-test-images (frontend) / build-test-images
        • check-neutral = build-test-images (frontend) / build-test-images
        • check-skipped = build-test-images (frontend) / build-test-images
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

@sanderegg sanderegg force-pushed the bugfix/issue-with-upload branch from 6a93cfa to 6df8555 Compare May 26, 2025 16:34
@sanderegg
Copy link
Member Author

@mergify queue

@sanderegg sanderegg force-pushed the bugfix/issue-with-upload branch from f96ea31 to 60704c6 Compare May 27, 2025 06:45
@mergify
Copy link
Contributor

mergify bot commented May 27, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at da1e85f

@sonarqubecloud
Copy link

@mergify mergify bot merged commit da1e85f into ITISFoundation:master May 27, 2025
95 of 96 checks passed
@sanderegg sanderegg added the t:maintenance Some planned maintenance work label May 28, 2025
@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:simcore-sdk t:maintenance Some planned maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants