| 16 Oct 2025 |
manveru | @Mic92 that looks really nice, we just had an incident where someone turned on object expiration on our bucket to save space... The fallout of narinfos pointing to nothing and Nix crashing because of it took weeks to clean up | 15:13:17 |
manveru | But does this prevent crashes because of locally cached narinfos that point to removed NARs? | 15:15:41 |
Mic92 | In reply to @manveru:matrix.org But does this prevent crashes because of locally cached narinfos that point to removed NARs? I think missing nars for a given narinfo should only produce a warning? At least my experience from with harmonia. Broken references however might be a problem. However niks3 shouldn't let this happen. | 15:18:00 |
Mic92 | If you don't have gc the second best thing is rotating s3 buckets and have a cdn/load-balancer checking both | 15:19:19 |
manveru | i'm not 100% certain anymore, but afaict if the NAR goes missing within the narinfo-cache-positive-ttl while there's an entry in the e.g. ~/.cache/nix/binary-cache-v7.sqlite Nix may take it personally | 15:26:50 |
manveru | but it's possible that's only true for references | 15:27:47 |
John Ericson | Robert Hensing (roberth): do you know a command to convert yaml to json? | 15:35:34 |
John Ericson | kinda want the JSON schema to be yaml | 15:35:39 |
John Ericson | for nicer git diffs | 15:35:42 |
Robert Hensing (roberth) | yq I guess? You can call me a freak, but I'm a happy JSON editor | 15:39:54 |
Robert Hensing (roberth) | * John Ericson: yq I guess? You can call me a freak, but I'm a happy JSON editor | 15:40:19 |