Skip to content

Conversation

@vincent-dfinity
Copy link
Contributor

@vincent-dfinity vincent-dfinity commented Oct 14, 2025

Description

Improve canister snapshot download/upload:

  • Add progress bars to snapshot download/upload
  • Stream snapshot download/upload directly to/from disk.
  • Snapshot download/upload with resuming.
  • Snapshot download/upload with concurrency, default to 3 tasks in parallel.

progress_bar

Fixes # (issue)

SDK-2382
SDK-2383
SDK-2392

How Has This Been Tested?

  • The concurrency is enabled by default to 3 tasks, so it's covered by the existing e2e test.
  • The progress bar and download with resuming are covered by manual testing.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@vincent-dfinity vincent-dfinity marked this pull request as ready for review October 16, 2025 14:21
@vincent-dfinity vincent-dfinity requested a review from a team as a code owner October 16, 2025 14:21
Copy link
Contributor

@mraszyk mraszyk left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I didn't do a very thorough review so a second pair of eyes is desirable.

Copy link
Contributor

@adamspofford-dfinity adamspofford-dfinity left a comment

Choose a reason for hiding this comment

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

Missing tests. In particular please simulate (a) high latency network conditions and (b) a network drop; toxiproxy can be used for this

@vincent-dfinity vincent-dfinity merged commit 786ca0c into master Oct 29, 2025
313 of 317 checks passed
@vincent-dfinity vincent-dfinity deleted the vincent/SDK-2382 branch October 29, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants