Skip to content

feat(libstore/s3-binary-cache-store): implement createMultipartUpload()#14374

Merged
10 commits merged intoNixOS:masterfrom
lovesegfault:nix-s3-create-multipart
Oct 27, 2025
Merged

feat(libstore/s3-binary-cache-store): implement createMultipartUpload()#14374
10 commits merged intoNixOS:masterfrom
lovesegfault:nix-s3-create-multipart

Conversation

@lovesegfault
Copy link
Member

@lovesegfault lovesegfault commented Oct 27, 2025

Motivation

POST to key with ?uploads query parameter, optionally set
Content-Encoding header, parse uploadId from XML response using
regex

Context

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


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Oct 27, 2025
@lovesegfault lovesegfault force-pushed the nix-s3-create-multipart branch from 4cbc41c to 1b5680e Compare October 27, 2025 17:34
@lovesegfault lovesegfault force-pushed the nix-s3-create-multipart branch 2 times, most recently from 7ad05c5 to 777e420 Compare October 27, 2025 18:47
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
@dpulls
Copy link

dpulls bot commented Oct 27, 2025

🎉 All dependencies have been resolved !

@lovesegfault lovesegfault force-pushed the nix-s3-create-multipart branch from 777e420 to 71f8011 Compare October 27, 2025 18:56
Implement `abortMultipartUpload()` for cleaning up incomplete multipart
uploads on error:

- Constructs URL with `?uploadId=ID` query parameter
- Issues `DELETE` request to abort the multipart upload
@Ericson2314 Ericson2314 enabled auto-merge October 27, 2025 18:58
lovesegfault and others added 6 commits October 27, 2025 19:14
…king

Introduces `scanForReferencesDeep` to provide per-file granularity when
scanning for store path references, enabling better diagnostics for
cycle detection and `nix why-depends --precise`.
Replaces manual tree-walking and reference scanning with the new
scanForReferencesDeep function.
…nt-address

` nlohmann::json` instance and JSON Schema for `ContentAddress`
feat(libstore/s3-binary-cache-store): implement `abortMultipartUpload()`
…detailed

feat(libstore): add scanForReferencesDeep and use it for why-depends
libexpr: store ExprList data in Exprs::alloc
@Ericson2314 Ericson2314 added this pull request to the merge queue Oct 27, 2025
@Mic92 Mic92 removed this pull request from the merge queue due to a manual request Oct 27, 2025
…d()`

POST to key with `?uploads` query parameter, optionally set
`Content-Encoding` header, parse `uploadId` from XML response using
regex
@lovesegfault lovesegfault force-pushed the nix-s3-create-multipart branch from 71f8011 to 4b6d07d Compare October 27, 2025 21:07
@Mic92 Mic92 enabled auto-merge October 27, 2025 21:07
@github-actions github-actions bot added documentation new-cli Relating to the "nix" command labels Oct 27, 2025
@Mic92 Mic92 added this pull request to the merge queue Oct 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to it being already merged Oct 27, 2025
@github-merge-queue github-merge-queue bot closed this pull request by merging all changes into NixOS:master in dd0d006 Oct 27, 2025
@lovesegfault lovesegfault deleted the nix-s3-create-multipart branch October 27, 2025 23:59
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants