Nixpkgs Architecture Team | 227 Members | |
| https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture | 53 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2023 | ||
Yeah, well I'm glad I was able to explain it, it's useful specific to nixpkgs-check-by-name, but a CI retrigger is a decent fix the other general problem :) | 19:49:34 | |
* Yeah, well I'm glad I was able to explain it, it's useful specific to nixpkgs-check-by-name, but a CI retrigger is a decent fix for the other general problem :) | 19:49:44 | |
| Oh and I guess this could also be useful if it's too expensive to re-trigger the CI check for all affected PR's | 19:52:08 | |
(not the case for nixpkgs-check-by-name) | 19:52:22 | |
| Kind of nice how this approach allows a gradual rollout of a new CI check though. And you can kind of control the amount of the rollout based on how quickly you fix the base branch when the new check starts failing on it. | 19:58:30 | |
| * Kind of nice how this approach allows a gradual rollout of a new CI check without using any extra resources though. And you can kind of control the amount of the rollout based on how quickly you fix the base branch when the new check starts failing on it. | 19:58:46 | |
| Nice, the RFC 140 tool prevented the double addition of a package: https://github.com/NixOS/nixpkgs/pull/257565 | 21:12:28 | |
| 28 Sep 2023 | ||
| This is fairly small, kind of neat and self-contained, reviews appreciated: https://github.com/NixOS/nixpkgs/pull/257735 | 00:06:25 | |
| 2 Oct 2023 | ||
| 01:42:33 | ||
| Here's the current plan for the RFC 140 migration, I'd like to talk about that in tomorrows NAT meeting and optionally schedule a longer call if it needs to be discussed further: https://github.com/NixOS/nixpkgs/issues/258650 (cc Robert Hensing (roberth) John Ericson tomberek growpotkin ( Alex Ameen ) DavHau phaer) | 20:30:22 | |
| If anybody has items they want to talk about, please add them to the agenda in the meeting notes here: https://pad.lassul.us/uIi7xeSJTW6LJUEHulZgVQ?edit | 20:32:48 | |
| * If anybody has other items they want to talk about, please add them to the agenda in the meeting notes here: https://pad.lassul.us/uIi7xeSJTW6LJUEHulZgVQ?edit | 20:32:55 | |
| I will be on a plane. ✈️ | 20:55:37 | |
| I'm not sure if I can make it tomorrow | 22:21:15 | |
| 3 Oct 2023 | ||
| Ping John Ericson growpotkin ( Alex Ameen ) phaer DavHau | 13:01:40 | |
| Meeting now in https://meet.jit.si/nixpkgs-architecture, meeting notes: https://pad.lassul.us/uIi7xeSJTW6LJUEHulZgVQ?edit | 13:03:36 | |
Download 2023-10-03-080326_503x673_scrot.png | 13:03:47 | |
| I'm sorry infinisil I slept poorly on and off for a long time and just woke up. I did look at the PRs a bit yesterday and the test both state and compare approach looked rock solid (I kind of want that for all CI checks now!) | 13:47:59 | |
| No problem, glad you approve of it! :D | 13:49:08 | |
| Hopefully next one I am not sick and not jetlagged and can join properly! | 13:59:06 | |
| John Ericson: If you want to discuss it we can also just schedule an ad-hoc call :) | 14:17:19 | |
| I don't think I have to much to add, just sorry about being an AWOL team member! | 14:17:55 | |
| I can go review these things async and slap some approvals on them | 14:18:06 | |
| DavHau: Sorry we didn't have time today, do you have a link to check out what you wanted to show? | 14:54:23 | |
| DISCLAIMER: This is just an experiment I made this fork of nixpkgs, which uses the module system for all mkDerivation based packages. All changes are contained in the latest commit. Done:
Example usage: Overridingoverriding before:
overriding after:
Type Checking
Performance(None of these findings are thoroughly tested or statistically sound)
Other findings:
My main question is: What are the next steps? Is there something useful to make out of this?
| 16:25:19 | |
| DavHau: Nice! This would be great to have in a GitHub issue, in Matrix it's easily lost. I'd like some more detailed benchmarks, including what exactly is being benchmarked (is it the same that ofborg uses? that would be a good indication). Also not just time (I assume that's what you measured), but also memory usage. Just from the numbers you gave though, I think this clearly demonstrates that it's too inefficient and we really need to improve performance of the module system to make this work. | 16:34:20 | |
Possibly overhead can be further reduced by avoiding evalModules ("types.submodule") in favor of something simpler like types.fix (types.record) but also extensible | 16:34:41 | |
| It'd be somewhere between the module system and minimod I guess | 16:35:06 | |
| Yes, I just measured the time. I haven't much experience on how to do proper benchmarks with nix. Any hints or docs regarding this are appreciated. I can look at ofborgs implementation I guess. | 16:38:17 | |
| Here's an example of ofborg's performance report: https://github.com/NixOS/nixpkgs/pull/258804/checks?check_run_id=17356593009 | 16:38:34 | |