Skip to content

Conversation

@lovesegfault
Copy link
Member

@lovesegfault lovesegfault commented Oct 25, 2025

Motivation

This stops us from just delegating to HttpBinaryCacheStore::upsertFile,
handling compression in our upsertFile override, which will be necessary for
multipart uploads.

Context

Part-Of: #14330
Depends-On: #14377, #14421


Add 👍 to pull requests you find important.

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

@lovesegfault lovesegfault requested a review from xokdvium October 25, 2025 03:12
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Oct 25, 2025
@lovesegfault lovesegfault force-pushed the s3-upload branch 9 times, most recently from 151d0e4 to 3695f0d Compare October 27, 2025 17:33
@dpulls
Copy link

dpulls bot commented Oct 27, 2025

🎉 All dependencies have been resolved !

@lovesegfault lovesegfault force-pushed the s3-upload branch 2 times, most recently from 66a777d to 51bf53b Compare October 28, 2025 00:06
@Mic92 Mic92 added this pull request to the merge queue Oct 29, 2025
@Ericson2314 Ericson2314 removed this pull request from the merge queue due to a manual request Oct 29, 2025
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

Just talked about sticking a protected method in HttpBinaryCacheStore so we have less duplication.

@lovesegfault lovesegfault force-pushed the s3-upload branch 4 times, most recently from bd4751b to 69e907a Compare October 29, 2025 22:59
@github-actions github-actions bot added the fetching Networking with the outside (non-Nix) world, input locking label Oct 29, 2025
@lovesegfault lovesegfault force-pushed the s3-upload branch 5 times, most recently from d8c8e79 to 8560807 Compare October 30, 2025 18:21
Stop delegating to `HttpBinaryCacheStore::upsertFile` and instead
handle compression in the S3 store's `upsertFile` override, then call
our own `upload()` method. This separation is necessary for future
multipart upload support.
@xokdvium xokdvium enabled auto-merge October 30, 2025 19:20
@xokdvium xokdvium added this pull request to the merge queue Oct 30, 2025
Merged via the queue into NixOS:master with commit e776a10 Oct 30, 2025
17 checks passed
@lovesegfault lovesegfault deleted the s3-upload branch October 30, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants