!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms294 Servers

Load older messages


SenderMessageTime
13 Oct 2025
@yuka:yuka.devYureka (she/her)How?19:40:47
@hexa:lossy.networkhexa
  narinfo-cache-positive-ttl = 3600;
19:40:59
@yuka:yuka.devYureka (she/her)on the client?19:41:13
@hexa:lossy.networkhexayeah19:41:16
@hexa:lossy.networkhexaRedacted or Malformed Event19:41:20
@hexa:lossy.networkhexa* with gcing caches you should set a shorter positive lifetime for the cache19:41:44
@yuka:yuka.devYureka (she/her)yes yes I know the option, but I don't like that there is no way to fix this from the server (like remotely advertising a ttl)19:41:58
@raitobezarius:matrix.orgraitobezariuseither way, lix shouldn't crash on actually 404s NARs19:42:18
@yuka:yuka.devYureka (she/her)but even with a low TTL, it's not "safe" to gc19:42:22
@hexa:lossy.networkhexayep19:42:30
@raitobezarius:matrix.orgraitobezariusit should gracefully consider that nar nonexistent19:42:31
@raitobezarius:matrix.orgraitobezariusthen you can also evict it from the narinfo cache as well19:42:42
@raitobezarius:matrix.orgraitobezariusthis should be at most inefficient19:42:49
@yuka:yuka.devYureka (she/her)I thought I fucked up the integrity of my cache, so I entirely recreated the cache and re-populated it with contents from the old cache, but it kept crashing19:42:58
@yuka:yuka.devYureka (she/her)so now I know this is just normal(TM)19:43:17
@yuka:yuka.devYureka (she/her)after some hours of debugging19:43:19
@raitobezarius:matrix.orgraitobezariusi think we don't need to keep up the act and we can say it out loud19:43:21
@raitobezarius:matrix.orgraitobezariusany cache19:43:22
@raitobezarius:matrix.orgraitobezariusin19:43:23
@raitobezarius:matrix.orgraitobezariusthis codebase19:43:26
@raitobezarius:matrix.orgraitobezariusshould be considered your enemy19:43:30
@raitobezarius:matrix.orgraitobezarius(this is almost not even a joke, i cannot count how many unsound caches we have in the codebase, some known, some we stumble on like "wait what?")19:43:54
@yuka:yuka.devYureka (she/her)enemy nr. 1 - the eval cache enemy nr. 2 - the narinfo cache enemy nr. 3 - cache.nixos.org19:43:55
@marie:marie.cologneMariewith my recent hydra shenanigans, i agree19:43:59
@raitobezarius:matrix.orgraitobezariusenemy nr. 4 — https://gerrit.lix.systems/c/lix/+/4071/319:44:11
@raitobezarius:matrix.orgraitobezarius enemy nr. 5 — /nix/var/nix/db/db.sqlite 19:44:29
@raitobezarius:matrix.orgraitobezarius(ok 4 & 5 are almost the same)19:44:49
@ma27:nicht-so.sexyma27

what did I miss?

anyways, yes I did, but my patch actually caches less in it (because the NAR url isn't necessarily what lix expects, e.g. with snix-castorè).
but if this is something I should take a look at, I'll have to defer to tomorrow anyways.

19:55:41
@raitobezarius:matrix.orgraitobezariusnp19:56:14
@kfears:matrix.orgKFears (burnt out)I wonder if Nix channels can be considered number 6 (I have today stumbled upon the cursed immutable tarballs protocol and I'm very unhappy)19:57:38

Show newer messages


Back to Room ListRoom Version: 10