!UNVBThoJtlIiVwiDjU:nixos.org

Staging

312 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/108 Servers

Load older messages


SenderMessageTime
28 Oct 2025
@emilazy:matrix.orgemilyhas anyone ever looked at if evaluating all the NixOS tests has some specific hot spot?17:04:03
@emilazy:matrix.orgemilyis it instantiating a billion Nixpkgs? just the module system being slow?17:04:13
@k900:0upti.meK900It is both17:04:18
@k900:0upti.meK900 I tried https://github.com/K900/nixpkgs/tree/less-nixpkgses and somehow in our testing on forkos hydra it made things worse 17:04:38
@vcunat:matrix.orgVladimír Čunát Wolfgang Walther is also looking at it, apparently. 17:04:39
@vcunat:matrix.orgVladimír ČunátLet's see who's faster 😅17:04:52
@k900:0upti.meK900Which makes no fucking sense17:04:57
@emilazy:matrix.orgemily Hydra eval is parallelized with nix-eval-jobs, right? 17:05:51
@emilazy:matrix.orgemilyis anything shared between the evaluations of multiple NixOS tests?17:05:58
@vcunat:matrix.orgVladimír ČunátI'm more worried about the expenses to run all the tests.17:06:29
@vcunat:matrix.orgVladimír ČunátBecause I can see the huge difference between e.g. trunk and trunk-combined.17:06:42
@vcunat:matrix.orgVladimír ČunátWe're spending a surprising amount of Hydra's "real time" on the added tests.17:07:04
@vcunat:matrix.orgVladimír ČunátHydra's eval itself tends not to be a real bottleneck. (though in CI it would be bad)17:08:03
@vcunat:matrix.orgVladimír Čunát* Hydra's eval itself tends not to be a real bottleneck. (though in CI it would be very bad)17:08:14
@pyrox:pyrox.devdish [Fox/It/She] is there no way to parallelize the transaction by splitting it? 17:35:27
@vcunat:matrix.orgVladimír ČunátIt would certainly help with the deadlocks and blocking other updates to the DB.17:36:33
@vcunat:matrix.orgVladimír ČunátIt often happens that Hydra stalls for several minutes because of such huge write transaction just happening.17:37:14
@k900:0upti.meK900There definitely is17:39:53
@k900:0upti.meK900Hydra is just an ancient Perl monstrosity17:40:00
@hexa:lossy.networkhexalol, I remember getting yelled at for nuking old aliases a while ago17:40:36
@hexa:lossy.networkhexathe tl;dr is … just do it quietly?17:40:56
@hexa:lossy.networkhexaor wait until we have a nixpkgs core team that can make that call?17:41:25
@vcunat:matrix.orgVladimír Čunát runCommandNoCC will surely have some usage outside nixpkgs, too. 17:41:50
@hexa:lossy.networkhexait was about e.g. pkgconfig = pkg-config back then17:42:07
@emilazy:matrix.orgemilyit wasn't very quiet IMO… it's only ones that were already in 25.0517:45:19
@emilazy:matrix.orgemilythere was discussion about whether to go through a warning cycle for the ones without them or throw immediately17:45:41
@emilazy:matrix.orgemilywe could still backtrack and attach warnings to those ones17:45:56
@wolfgangwalther:matrix.orgWolfgang WaltherYeah, I'd say we could do that on a case-by-case basis, if there is reason for a specific case.17:46:27
@wolfgangwalther:matrix.orgWolfgang WaltherWas the argument that this should actually persist forever? If so, we'll just need to mark the alias as such instead.17:46:53
@emilazy:matrix.orgemilyin practice unstable changes in ways that produce throws all the time I think, in this case it's at least a way that you can handle downstream without breaking compat with any supported release17:46:55

Show newer messages


Back to Room ListRoom Version: 6