!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

416 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.140 Servers

Load older messages


SenderMessageTime
14 Aug 2025
@emilazy:matrix.orgemilydoes anyone have any tricks that they use to make it not be useless at that17:20:13
@emilazy:matrix.orgemily I tried merge.directoryRenames 17:20:31
@charles:computer.surgeryCharlesi wonder if a similar trick for cherry-picking across formatting changes would help?17:21:10
@emilazy:matrix.orgemily yeah, but it would require jj run rather than jj fix sadly 17:21:43
@emilazy:matrix.orgemilymaybe a Git mergetool could do it but I don't feel like writing one of those17:21:51
@emilazy:matrix.orgemilyI guess I can just duplicate, move, rebase, but ugh17:22:01
@charles:computer.surgeryCharles🪦17:22:48
@jade_:matrix.orgjade_ yeah. idk. i find so many bugs in code review of stuff that got accepted by cppnix that i think that most code has to be rewritten anyway. i think it's possible to rename the directory in a commit that you can base the cherry-picked one on, or something like that. 17:25:50
@jade_:matrix.orgjade_for example, i found straight up wrong code in here (in addition to error messages that refer to concepts that only exist in C++ and not in user facing places) i am still happy to port the fix, but it's going to experience some rewrites17:27:16
@emilazy:matrix.orgemilyI don't think your review is right17:28:07
@emilazy:matrix.orgemilybecause that is a float17:28:12
@emilazy:matrix.orgemilythe whole problem is that it is going via floats, so it has float limits17:28:26
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @emilazy:matrix.org
you can't --accept-tests a change from an eval failure to success or vice versa
You should be able to iirc, if that actually doesnt work, create an issue and ill make it work
17:28:43
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingOh wsit17:28:58
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingYeah no17:29:01
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingNvm is a different runner not just different output17:29:14
@jade_:matrix.orgjade_oh yes, you're right. i hate implicit conversions (code style issue in this code imo)17:30:55
@emilazy:matrix.orgemilyI'm just saying, missing things in code review is a general phenomena :p17:31:54
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @jade_:matrix.org
for example, i found straight up wrong code in here (in addition to error messages that refer to concepts that only exist in C++ and not in user facing places) i am still happy to port the fix, but it's going to experience some rewrites
FWIW we are running UBSAN in CI for some time now, so signed overflow should be caught (modulo compiler quirks)
17:51:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Test coverage is another matter though17:52:56
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Does Lix track code coverage in CI?17:54:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)(Not a panacea but quite useful)17:55:05
@jade_:matrix.orgjade_ I don't think we have tracking of it per se because our tests run in nix, but we probably could, in principle. 18:13:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I've recently added clang-based source coverage to CI for nix.18:13:54
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)(And the tests run in nix as well)18:14:08
@jade_:matrix.orgjade_it probably needs to consider coverage of the functional tests as well, so that's a little bit fun18:14:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yup, functional tests are included as well. The only thing that's missing is the nixos tests18:14:45
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)It's a bit undercooked at the moment with some rough edges, but at least it works and enough to track the metrics and push html to hydra18:15:44
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)https://github.com/NixOS/nix/blob/58eabe7479177dc63cf3c704230a45b9260b3fec/ci/gha/tests/default.nix#L17218:16:22
@jade_:matrix.orgjade_so umm. they seem to have defined this as "throws .. sometimes .. if certain int to float conversions fail .. sometimes"18:17:01

Show newer messages


Back to Room ListRoom Version: 10