!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

899 Members
For people hacking on the Nix package manager itself188 Servers

Load older messages


SenderMessageTime
16 Mar 2025
@roberthensing:matrix.orgroberthor variations of that10:35:04
@0xcaff:matrix.orgMartin Charles joined the room.17:58:53
@Ericson2314:matrix.orgJohn Ericson hexa: We would like to no more about the bug that caused the builders to go to Lix 18:59:34
@Ericson2314:matrix.orgJohn Ericsonthat earlier github thread went of the rails, but the original idea of having some more information written down still stands19:00:02
@Ericson2314:matrix.orgJohn Ericson Thanks to infinisil (!) I got a link that works on the element electron app to the prior conversation in infra #infra:nixos.org, the link is: https://matrix.to/#/!RROtHmAaQIkiJzJZZE:nixos.org/$G9MBOn9CfSLkLiPqMhoN7KMnBEl6R4uRkLbFBm_KWBs?via=nixos.org&via=matrix.org&via=nixos.dev 19:37:51
@Ericson2314:matrix.orgJohn Ericsonrereading that, it does look like that no one really knows what the bug is, and other coredumps that e.g. might come from tests suites doing SIGABORT mean we do not have a good paper trail to figure out retroactively19:39:02
@Ericson2314:matrix.orgJohn EricsonDo you agree with that?19:39:06
@hexa:lossy.networkhexaI can roll back to nix in a few days20:25:01
@hexa:lossy.networkhexaI'm currently running with a workaround for nix not cleaning up build dirs in /tmp20:25:26
@hexa:lossy.networkhexathat got fixed in lix recently by pennae20:25:32
@hexa:lossy.networkhexacrucial since we build in a tmpfs20:25:40
17 Mar 2025
@jade_:matrix.orgjade_

yeah, and currently debugging protocol bugs is absolutely maddening. lix nightly currently has a known protocol bug due to concurrency and nar transfers and remote builders and gestures the whole protocol being extremely easy to screw up.

this is the idea we had for improving the experience of debugging protocol misbehaviour; implementation has not yet started: https://git.lix.systems/lix-project/lix/issues/734

00:12:20
@jade_:matrix.orgjade_ *

yeah, and currently debugging protocol bugs is absolutely maddening. lix nightly currently has a known protocol bug due to concurrency and nar transfers and remote builders and gestures the whole protocol being extremely easy to screw up and it is sorta reproducible (unusual for a protocol bug!).

this is the idea we had for improving the experience of debugging protocol misbehaviour; implementation has not yet started: https://git.lix.systems/lix-project/lix/issues/734

00:12:58
@jade_:matrix.orgjade_(we do not know of other protocol bugs in lix, fwiw)00:14:58
@jade_:matrix.orgjade_https://gerrit.lix.systems/c/lix/+/2639 here's the CL that fixed it IIRC, but i think there might be a second somewhere00:16:46
@jade_:matrix.orgjade_https://gerrit.lix.systems/c/lix/+/2666 ah it would be this00:17:08
@Ericson2314:matrix.orgJohn Ericson hexa: (or jade_) can you point me to the tmp cleaning commit? 00:17:28
@jade_:matrix.orgjade_see above00:17:33
@Ericson2314:matrix.orgJohn EricsonOK00:17:37
@Ericson2314:matrix.orgJohn Ericson I am ripping out building from scheduling finally right now 00:17:50
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/issues/678 issue here with discussion00:17:52
@Ericson2314:matrix.orgJohn Ericsonit is very satisifying00:17:56
@hexa:lossy.networkhexaand here https://github.com/NixOS/nix/issues/520700:18:08
@Ericson2314:matrix.orgJohn Ericson I made a OOP inheritence rats nest to wind up the balista, and then twang 00:18:27
@jade_:matrix.orgjade_we have been doing different types of things wrt such fixing: soon getting rid of fork() from the builder00:18:32
@hexa:lossy.networkhexanot sure if the "not empty" part is accurate at this point00:18:40
@hexa:lossy.networkhexa* not sure if the "not empty" part is still accurate at this point00:19:26
@Ericson2314:matrix.orgJohn Ericsonit would be very nice to have some reference C++ that was sufficiently decoupled from the rest that we both could use it00:19:47
@jade_:matrix.orgjade_

another couple changes i would be fairly happy if they got yoinked directly into cppnix:

  • https://gerrit.lix.systems/c/lix/+/2801
  • https://gerrit.lix.systems/c/lix/+/2800
00:19:48
@jade_:matrix.orgjade_that's what deleting the fork() is about00:20:04

Show newer messages


Back to Room ListRoom Version: 6