Skip to content

fix(netlify): reverse proxy by download type - #1276

Merged
hsjobeki merged 1 commit into
NixOS:masterfrom
sheeeng:feat/deterministic-reverse-proxy-download-by-type
Jul 28, 2026
Merged

fix(netlify): reverse proxy by download type#1276
hsjobeki merged 1 commit into
NixOS:masterfrom
sheeeng:feat/deterministic-reverse-proxy-download-by-type

Conversation

@sheeeng

@sheeeng sheeeng commented Jul 28, 2026

Copy link
Copy Markdown
Member

Hydra no longer keeps build byproducts in a deterministic order, so the numeric download/2 path drifts between download/1 and download/2. This breaks the reverse-proxied Nix manual links whenever the ordering shifts.

Reverse proxy by download type using download-by-type/doc instead of the numeric byproduct identifier. The download type resolves to the doc output regardless of byproduct ordering, which keeps the manual links stable.

Fix NixOS/nix#16202.

Hydra no longer keeps build byproducts in a deterministic order, so the
numeric `download/2` path drifts between `download/1` and `download/2`.
This breaks the reverse-proxied Nix manual links whenever the ordering
shifts.

Reverse proxy by download type using `download-by-type/doc` instead of
the numeric byproduct identifier. The download type resolves to the
`doc` output regardless of byproduct ordering, which keeps the manual
links stable.

Fix NixOS/nix#16202.

Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
@sheeeng
sheeeng requested a review from a team as a code owner July 28, 2026 13:40
@hsjobeki

Copy link
Copy Markdown
Collaborator

Lets give it a try ;)

@hsjobeki
hsjobeki merged commit 752f09b into NixOS:master Jul 28, 2026
4 checks passed
@sheeeng
sheeeng deleted the feat/deterministic-reverse-proxy-download-by-type branch July 28, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup tutorial link not found

2 participants