Skip to content

feat(libstore/http-binary-cache-store): narinfo/ls/log compression#14120

Merged
Mic92 merged 3 commits intoNixOS:masterfrom
lovesegfault:http-binary-cache-compression
Sep 30, 2025
Merged

feat(libstore/http-binary-cache-store): narinfo/ls/log compression#14120
Mic92 merged 3 commits intoNixOS:masterfrom
lovesegfault:http-binary-cache-compression

Conversation

@lovesegfault
Copy link
Member

Motivation

#13752 (comment)

Context

I don't know how to write tests for this without the s3 changes in place.


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 Sep 29, 2025
@lovesegfault lovesegfault force-pushed the http-binary-cache-compression branch from 1b7b0d8 to d4beddb Compare September 29, 2025 21:39
@lovesegfault lovesegfault force-pushed the http-binary-cache-compression branch from d4beddb to 689fa81 Compare September 29, 2025 21:53
@Mic92
Copy link
Member

Mic92 commented Sep 30, 2025

@brianmcgee this might be relevant to know for your binary cache proxy.

@brianmcgee
Copy link
Contributor

@Mic92 thanks for the heads up, this will have an impact. I'm currently compressing logs on write through as that's what the s3 endpoint does but not the http.

@Mic92 Mic92 requested a review from edolstra as a code owner September 30, 2025 08:32
@Mic92
Copy link
Member

Mic92 commented Sep 30, 2025

I extended a test that shows how substitution with nginx could be used with this.

@Mic92 Mic92 force-pushed the http-binary-cache-compression branch from 0f5138f to 3fcd330 Compare September 30, 2025 08:37
@Mic92 Mic92 merged commit bc66e13 into NixOS:master Sep 30, 2025
15 checks passed
@Ericson2314
Copy link
Member

Ericson2314 commented Sep 30, 2025

OK cool, doing this separately is actually more useful than I thought, even though I proposed it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants