!9IQChSjwSHXPPWTa:lix.systems

Lix

1079 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-rooms291 Servers

Load older messages


SenderMessageTime
13 Oct 2025
@raitobezarius:matrix.orgraitobezariusthat's kinda a semi bug and a semi accepted thing19:39:51
@raitobezarius:matrix.orgraitobezariuswhy would that lead to destroyed UX?19:39:59
@yuka:yuka.devYureka (she/her)Because when there is still an entry in the narinfo cache, Lix will explode upon trying to fetch the Nar19:40:08
@hexa:lossy.networkhexayeah, that is bad ux19:40:16
@raitobezarius:matrix.orgraitobezariusThat's Bad™19:40:17
@raitobezarius:matrix.orgraitobezariusnarinfo cache should be cache19:40:27
@hexa:lossy.networkhexawith gcing caches you should set a shorter negative lifetime for the cache19:40:37
@raitobezarius:matrix.orgraitobezarius cc ma27 — I remember you did stuff on the narinfo cache or am I misremembering? 19:40:41
@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

Show newer messages


Back to Room ListRoom Version: 10