Skip to content

libstore S3: fix progress bar and make file transfers interruptible - #12538

Merged
Mic92 merged 3 commits into
NixOS:masterfrom
NaN-git:fix-s3-progress
Apr 11, 2025
Merged

Mic92 merged 3 commits into
NixOS:masterfrom
NaN-git:fix-s3-progress

Conversation

@NaN-git

@NaN-git NaN-git commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

Motivation

At the moment the progress bar is not showing the upload/download progress when uploading to or downloading from S3 buckets. Also uploads are not interruptible.

Context

Fixes #12084 and #11678.

TODO: All files are downloaded and decompressed in memory without any streaming. This should be fixed in the future.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@NaN-git
NaN-git requested a review from Ericson2314 as a code owner February 20, 2025 16:24
@github-actions github-actions Bot added the store Issues and pull requests concerning the Nix store label Feb 20, 2025
@NaN-git
NaN-git force-pushed the fix-s3-progress branch 2 times, most recently from 645b76b to 6b2bc08 Compare March 12, 2025 00:02
@github-project-automation github-project-automation Bot moved this to To triage in Nix team Mar 19, 2025
@edolstra edolstra self-assigned this Mar 19, 2025

@edolstra edolstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM except for some small comments.

Comment thread src/libstore/s3-binary-cache-store.cc Resolved
Comment thread src/libstore/s3-binary-cache-store.cc Resolved
Comment thread src/libstore/s3-binary-cache-store.cc Resolved
Comment thread src/libstore/s3-binary-cache-store.cc Resolved
@Mic92
Mic92 force-pushed the fix-s3-progress branch 3 times, most recently from d5156cb to 27d3da9 Compare April 9, 2025 06:00
@NaN-git
NaN-git force-pushed the fix-s3-progress branch 2 times, most recently from 6b2bc08 to 645626b Compare April 11, 2025 20:39
@Mic92
Mic92 force-pushed the fix-s3-progress branch from 645626b to 49f757c Compare April 11, 2025 20:48
@Mic92
Mic92 merged commit a46ca4f into NixOS:master Apr 11, 2025
@github-project-automation github-project-automation Bot moved this from To triage to Done in Nix team Apr 11, 2025
@Mic92 Mic92 added the backport 2.28-maintenance Automatically creates a PR against the branch label Apr 11, 2025
mergify Bot added a commit that referenced this pull request Apr 11, 2025
…2538

libstore S3: fix progress bar and make file transfers interruptible (backport #12538)
@Mic92 Mic92 mentioned this pull request May 16, 2025
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/nix-2-29-0-released/64609/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch store Issues and pull requests concerning the Nix store

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

nix copy --to s3:// progress bar is incorrect

4 participants