!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

376 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.113 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
26 Nov 2025
@hexa:lossy.networkhexa (signing key rotation when)mail delivery has been restored11:51:24
@ma27:nicht-so.sexyma27Redacted or Malformed Event12:20:06
@somasis:matrix.orgsomasisyay :) thanks y'all16:22:45
@arianvp:matrix.orgArian I was wondering if it would make sense to add a rewrite rule to Fastly for narinfos to drop any information about compression and push this into Content-Encoding instead. It would allow us to transparantly recompress the cache to new compression algorithms and levels . 16:54:52
27 Nov 2025
@flokli:matrix.orgflokliThat's what snix nar-bridge does. The challenge with c.n.o is that it uses `nar/$fileHash.nar[.$compression_suffix]`, instead of `nar/$fileHash.nar[.$compression_suffix]`, so you can't easily find a NAR by it's nar hash without another lookup table somewhere.10:35:44
@arianvp:matrix.orgArian oooh $fileHash is the hash of the compressed file? that’s a choice 10:36:29
@arianvp:matrix.orgArianT_T10:36:34
@flokli:matrix.orgflokli* That's what snix nar-bridge does. The challenge with c.n.o is that it uses `nar/$fileHash.nar[.$compression_suffix]`, instead of `nar/$narHash.nar[.$compression_suffix]`, so you can't easily find a NAR by it's nar hash without another lookup table somewhere.10:36:36
@flokli:matrix.orgflokliYes10:36:39
@flokli:matrix.orgflokliIt's a good way to ensure we don't get too bored and run out of challenges.10:37:37
@flokli:matrix.orgflokliA more sane way would be to have hydra push to some http daemon that does do all the rewriting, and uploads it to the right places. Or patch Nix to use $narHash. The URL in FileHash really doesn't matter.10:39:15
@flokli:matrix.orgflokliIn nar-bridge, we emit a path that encodes the castore root node as the path to the NAR, giving a subtle cue to a more castore-aware substituter, who can then potentially skip downloading most of the file entirely: https://git.snix.dev/snix/snix/src/commit/9c023a073e1b7298d322c26331331ccf5249cf0f/web/content/docs/components/store/snix_flavoured_binary_cache_protocol.md10:42:05
@flokli:matrix.orgflokli(and use content-encoding to emit a zstd-compressed version, if someone wants the entire NAR)10:42:34
@edef1c:matrix.orgedefIt would bump S3 bandwidth a bit, we'd have to do the math10:56:02
@hexa:lossy.networkhexa (signing key rotation when)rebooting mimas/haumea for 25.11 update14:32:25

Show newer messages


Back to Room ListRoom Version: 6