!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
30 Jun 2026
@emilazy:matrix.orgemilythe per-test 300s timeout was what I ran into13:11:52
@emilazy:matrix.orgemilyI'd imagine users on slower hardware might get hit by it more often13:12:02
@rootile:flausch.socialRutileadding a pass-throgh flag for per-test timeout would fix this tho (aka having a setting in nixpkgs which defaults to 300)13:12:47
@rootile:flausch.socialRutileunless that breaks caching13:13:06
@grimmauld:m.grimmauld.deGrimmauld (any/all) if that changes the drv being built, yes that breaks caching 13:13:36
@raitobezarius:matrix.orgraitobezariusThat breaks caching because the values change in the drv?13:13:49
@grimmauld:m.grimmauld.deGrimmauld (any/all)you could do it as impure env var, but please don't13:13:54
@grimmauld:m.grimmauld.deGrimmauld (any/all) yes 13:14:01
@raitobezarius:matrix.orgraitobezariusThe best thing is what emilazy said which is to let Nix deal with the timeout13:14:03
@rootile:flausch.socialRutileyay, even more env vars :D13:14:04
@raitobezarius:matrix.orgraitobezariusAnyway, what I will do is I will try to make issues out of this discussion, I think this is mostly Nixpkgs problems so that should be doable to fix in reasonable amount of time13:14:53
@raitobezarius:matrix.orgraitobezarius
In reply to @grimmauld:m.grimmauld.de
certain year range of hardware

And apparently 2024 is too old? ... wtf?
I understand curl is being weird. But forcing people to run downstream patches to make your software work, patches they attempted to upstream but got told "your hardware is too old, we'd rather keep the flaky tests", that is certainly a take...
Please less of this tone, I apologize if I trigger you or something, but I am not trying to be unreasonable
13:16:31
@emilazy:matrix.orgemilyon the Nixpkgs side the policy is already set, the Meson hooks deliberately set the timeout to 013:17:25
@emilazy:matrix.orgemilythe Lix package is just structured in a way that doesn't pick that up, "accidentally"13:17:46
@emilazy:matrix.orgemily(as in, the way its check phase is written happens to not get these defaults applied, but I don't think that was an intentional decision when it was originally written but just a structural accident)13:18:52
@qyriad:katesiria.orgQyriad Specifically Nixpkgs adds --timeout-multiplier=0 to the Meson check flags 13:19:13
@qyriad:katesiria.orgQyriad Most of Lix's tests run in installCheckPhase though, which isn't mesonCheckPhase where that timeout multiplier is added, yep 13:20:25
@raitobezarius:matrix.orgraitobezarius @qyriad:katesiria.org: can I let you take care of @emilazy:matrix.org: remarks on macOS wrt timeouts? 13:26:32
@qyriad:katesiria.orgQyriadWhich ones?13:26:51
@grimmauld:m.grimmauld.deGrimmauld (any/all) fair, sorry. I am of the strong opinion upstream should make building as painless as possible, but i went a little far. 13:27:44
@emilazy:matrix.orgemilyfwiw I think potentially the single biggest UX improvement anyone could make to the ecosystem would be narinfo cache entries for failed builds. (I realize this isn't something Lix has the ability to make happen on the cache where it'd matter most though)13:30:26
@emilazy:matrix.orgemily(but even running into the question of whether timeouts help users running redundant builds that will certainly deterministically fail is a silly state of affairs to end up in)13:31:10
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
I agree slow tests are bad but punishing users for the tests being slow for a year+ when "we should just fix it instead" was the response then too doesn't seem to be actually helping the thing get fixed
^
13:32:15
@raitobezarius:matrix.orgraitobezariusI think we concur on the outcome we want to provide to everyone, it's just that we come from different PoVs on how to achieve that13:36:00
@raitobezarius:matrix.orgraitobezarius(not saying my PoV is universally right neither)13:36:12
@grimmauld:m.grimmauld.deGrimmauld (any/all)Imo the important question is what role tests are supposed to fulfil13:37:07
@grimmauld:m.grimmauld.deGrimmauld (any/all)From a user pov, tests are a sort of "stability guarantee". I want to run tests so i can be reasonably certain i don't run into unexpected regressions or other problems13:37:42
@grimmauld:m.grimmauld.deGrimmauld (any/all)From a dev pov, tests are more like, a mechanism to catch stupid mistakes early13:37:58
@raitobezarius:matrix.orgraitobezariusMore than once in a time, any tool is destined to be used in unexpected ways, I won't mind using a tool that was not intended for a certain usecase for a new usecase if it seems to provide good value in a given period of time13:38:31
@raitobezarius:matrix.orgraitobezariusRight now, I care mostly about people knowing that Lix is not usable with some curl variants out there13:38:56

Show newer messages


Back to Room ListRoom Version: 10