Skip to content

Conversation

@grahamc
Copy link
Member

@grahamc grahamc commented Jul 31, 2025

Motivation

Not intended to be merged directly. This PR is a convenience to show the diff between upstream Nix and Determinate Nix (the main branch).

Continuation of #4.

@grahamc grahamc requested a review from edolstra as a code owner July 31, 2025 17:14
@github-actions github-actions bot temporarily deployed to production July 31, 2025 17:14 Inactive
@DeterminateSystems DeterminateSystems locked as off-topic and limited conversation to collaborators Jul 31, 2025
@github-actions github-actions bot temporarily deployed to pull request July 31, 2025 18:20 Inactive
@github-actions github-actions bot temporarily deployed to production July 31, 2025 18:21 Inactive
@cole-h cole-h marked this pull request as draft August 1, 2025 14:26
@github-actions github-actions bot temporarily deployed to pull request August 4, 2025 22:15 Inactive
@github-actions github-actions bot temporarily deployed to commit August 4, 2025 22:15 Inactive
@github-actions github-actions bot temporarily deployed to production August 4, 2025 22:15 Inactive
@github-actions github-actions bot temporarily deployed to production August 5, 2025 14:25 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 5, 2025 14:25 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 7, 2025 15:58 Inactive
@github-actions github-actions bot temporarily deployed to production August 7, 2025 15:58 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 7, 2025 23:01 Inactive
@github-actions github-actions bot temporarily deployed to production August 7, 2025 23:02 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 10, 2025 16:36 Inactive
@github-actions github-actions bot temporarily deployed to production August 10, 2025 16:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 10, 2025 20:06 Inactive
@github-actions github-actions bot temporarily deployed to production August 10, 2025 20:06 Inactive
@github-actions github-actions bot temporarily deployed to production August 19, 2025 15:04 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 19, 2025 15:04 Inactive
@github-actions github-actions bot temporarily deployed to production August 20, 2025 10:41 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 20, 2025 10:41 Inactive
@github-actions github-actions bot temporarily deployed to commit August 20, 2025 10:41 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 25, 2025 16:07 Inactive
@github-actions github-actions bot temporarily deployed to production August 25, 2025 16:07 Inactive
@github-actions github-actions bot temporarily deployed to production August 25, 2025 16:14 Inactive
@github-actions github-actions bot temporarily deployed to production January 23, 2026 11:24 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 23, 2026 11:24 Inactive
@github-actions github-actions bot temporarily deployed to production January 23, 2026 15:57 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 23, 2026 15:57 Inactive
cole-h and others added 3 commits January 27, 2026 15:02
A queue size of 0 will cause hanging in the file transfer process.
This inadvertently caused file transfers to hang when used in conjunction
with `http-connections = 0`: the worker checks if the in-progress
items and items we've added to the incoming queue are larger than
the max queue size, which was previously defined to be 5x the value of
`http-connections. Well, as you can probably tell, 5*0=0, and unless the
`.size()` of any of these containers became negative, we would always
wait another 100ms instead of processing the incoming queue.

Because `http-connections = 0` is a special value to signal,
roughly, "as much possible" (mostly depends on how cURL handles
it, but this is probably approximately right), we default to
`std::thread::hardware_concurrency()` (as is done in a couple other
places; specifically, this is what the ThreadPool constructor does for
a value of `0`).

There may be a better fix, but this works for now, and is approximately
right.
…s-limit-the-number-of-active-curl-handles-breaks-http

 filetransfer: don't allow the queue size to be 0
@github-actions github-actions bot temporarily deployed to production January 28, 2026 21:04 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 28, 2026 21:04 Inactive
Tagging release 2.33.2
This reverts commit 09884e2. It
breaks `buildPathsWithResults` returning cancelled builds, which is
needed by `nix flake check` and `nix build` to report cancelled
builds.
@github-actions github-actions bot temporarily deployed to pull request February 3, 2026 08:45 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants