Skip to content

Conversation

@xokdvium
Copy link
Contributor

@xokdvium xokdvium commented Dec 1, 2025

Motivation

There are a lot of cases where we don't care about having
the temporary file linked anywhere at all -- just a descriptor is more
than enough.

Also get rid of restartableSourceFromFactory. Instead we can just seek back in the file - duh (my brain fart). Also this makes use of the anonymous temp file facility, since that is much safer (no window where the we don't have an open file descriptor for it).

Context

Tested that 307 redirects on uploads still work.


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 Dec 1, 2025
There are a lot of cases where we don't care about having
the temporary file linked anywhere at all -- just a descriptor is more
than enough.
Instead we can just seek back in the file - duh. Also this makes use
of the anonymous temp file facility, since that is much safer (no need
window where the we don't have an open file descriptor for it).
@xokdvium xokdvium force-pushed the restartable-source-no-path branch from db47120 to 4b3536e Compare December 1, 2025 01:49
@Ericson2314 Ericson2314 enabled auto-merge December 1, 2025 02:12
@Ericson2314 Ericson2314 added this pull request to the merge queue Dec 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 1, 2025
@Ericson2314 Ericson2314 added this pull request to the merge queue Dec 1, 2025
Merged via the queue into master with commit 890a4e9 Dec 1, 2025
20 checks passed
@Ericson2314 Ericson2314 deleted the restartable-source-no-path branch December 1, 2025 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants