!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
14 Aug 2025
@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
@jade_:matrix.orgjade_surely these should just passthrough integers entirely unmodified18:17:12
@jade_:matrix.orgjade_right?18:17:18
@emilazy:matrix.orgemily I assume the conservative throw is for the same reason you did one in fromJSON 18:17:40
@emilazy:matrix.orgemilykeeps options open18:17:47
@jade_:matrix.orgjade_I also rewrote the float to int conversion to use the correct function18:17:51
@emilazy:matrix.orgemilybut yeah it's hard to imagine a different sensible behaviour to use here18:17:56
@emilazy:matrix.orgemilybut I think if you pass through integers the practical value you get is different to what it was historically18:18:18
@jade_:matrix.orgjade_yeah idk, i think converting it to a float first is just .. weird and hard to ensure it behaves consistently, comparatively18:18:19
@emilazy:matrix.orgemilybecause of how the UB would be compiled in practice18:18:21
@jade_:matrix.orgjade_oh18:18:24
@jade_:matrix.orgjade_ugh18:18:26
@jade_:matrix.orgjade_yeah18:18:27
@jade_:matrix.orgjade_okay18:18:28
@emilazy:matrix.orgemilyso having a deprecation period where it errors seems sensible18:18:34
@emilazy:matrix.orgemily put up a whole bunch of changes for the TOML stuff (both the port of the Nix change for stable branches and the dropping of the experimental feature for main), NUL bytes in JSON/TOML, and overflowing JSON literals 19:11:24
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://gerrit.lix.systems/c/lix/+/3333/47 can someone punch besadii?19:39:52
@jade_:matrix.orgjade_hm, waiting for agent looks like something is busted ya19:50:52
@emilazy:matrix.orgemily jade_: do you want to take a look at the current state of https://github.com/NixOS/nixpkgs/pull/433729 as Lix is an out-of-tree consumer? 20:26:19
15 Aug 2025
@emilazy:matrix.orgemilyis there anything that can be done to kick flaky CI builds for my own CLs?01:02:31
@emilazy:matrix.orgemilyI guess I can just do a nop rebase to bump the commit timestamp01:06:25
@emilazy:matrix.orgemilyor not, because it tries too hard to be clever: "Verified-1 has been copied to patch set 4 (copy condition: "changekind:NO_CODE_CHANGE")."01:13:50
@emilazy:matrix.orgemily(…and doing and then undoing a trivial code change breaks the +2. oh well)01:47:00
@aloisw:julia0815.dealoiswYou should be able to click on the buildkite link and then there is a button to retry failed builds.06:00:09

Show newer messages


Back to Room ListRoom Version: 10