!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
16 Mar 2025
@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
@jade_:matrix.orgjade_makes it much easier to riir the sandbox setup00:20:12
@jade_:matrix.orgjade_since it no longer knows what a "store" is00:20:21
@Ericson2314:matrix.orgJohn Ericsonoh you don't mean get rid of the sub process, you mean exec something00:20:34
@jade_:matrix.orgjade_yes, fork() -> posix_spawn() with explicit inputs00:20:49
@Ericson2314:matrix.orgJohn EricsonOK00:21:01
@Ericson2314:matrix.orgJohn EricsonI have been making 0 behavior/algorthimic changes right now00:21:14
@Ericson2314:matrix.orgJohn Ericsonjust moving code around00:21:17
@Ericson2314:matrix.orgJohn Ericsonbut yes no fork sounds good too, of course00:21:28
@Ericson2314:matrix.orgJohn Ericsonin more ways than one ;)00:21:35

Show newer messages


Back to Room ListRoom Version: 6