!etBYPdyCKgnXJSXexD:matrix.org

NixOS GSoC

247 Members
24 Servers

Load older messages


SenderMessageTime
12 Apr 2026
@cinerealkiara:matrix.org@cinerealkiara:matrix.org* this seems hard to automate since a nixos service module doesn't in a straight-forward manner map to a (systemd) service - they can span heterogeneous services (e.g. need a db) or spin up [a set of similar services](https://github.com/NixOS/nixpkgs/pull/506645)08:21:36
@cinerealkiara:matrix.org@cinerealkiara:matrix.org* this seems hard to automate since a nixos service module doesn't in a straight-forward manner map to a (systemd) service - they can span heterogeneous services (e.g. need a db, example test at [contracts PR] (https://github.com/NixOS/nixpkgs/pull/506343)) or spin up [a set of similar services](https://github.com/NixOS/nixpkgs/pull/506645)08:24:14
@cinerealkiara:matrix.org@cinerealkiara:matrix.org* this seems hard to automate since a nixos service module doesn't in a straight-forward manner map to a (systemd) service - they can span heterogeneous services (e.g. need a db, example test at [contracts PR](https://github.com/NixOS/nixpkgs/pull/506343)) or spin up [a set of similar services](https://github.com/NixOS/nixpkgs/pull/506645)08:24:38
@gaurav_aditya:matrix.org@gaurav_aditya:matrix.org left the room.10:42:34
@scrumplex:duckhub.io@scrumplex:duckhub.io joined the room.18:43:59
13 Apr 2026
@othiagomm:matrix.org@othiagomm:matrix.org left the room.05:16:49
18 Apr 2026
@sboukiou:matrix.org@sboukiou:matrix.org left the room.18:39:10
@scrumplex:duckhub.io@scrumplex:duckhub.io left the room.20:32:23
19 Apr 2026
@definfo:matrix.orgcomonad joined the room.09:23:26
20 Apr 2026
@ninio_artillero:kde.org@ninio_artillero:kde.org left the room.22:05:26
23 Apr 2026
@misaka13514:matrix.org天川理音 joined the room.07:41:40
@not-jack:matrix.org@not-jack:matrix.org left the room.12:27:31
24 Apr 2026
@hytero:r4.fo@hytero:r4.fo joined the room.05:42:01
@hytero:r4.fo@hytero:r4.fo left the room.05:49:59
25 Apr 2026
@kekser:matrix.orgkekser joined the room.23:12:39
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:57:14
29 Apr 2026
@sanskar-0day:matrix.orgSanskar

kiara: Reading through the easyturn (#506645) and contracts (#506343) PRs more carefully, I think I get now why a generic wrapper doesn't work.

They're actually two different failure modes: easyturn breaks because a flat legacy option space can't map to named instances without knowing the cardinality upfront, while contracts breaks because the module spans a runtime dependency graph that has no single modular equivalent.

One thing I'm still not clear on: if the contracts PR lands, does migration for a dependent service become two separate steps? First map it to its modular shape, then manually audit and add the contract declarations? Or is there a way the contract requirements get derived from the existing config references?

11:01:22
@cinerealkiara:matrix.org@cinerealkiara:matrix.org
In reply to @sanskar-0day:matrix.org

kiara: Reading through the easyturn (#506645) and contracts (#506343) PRs more carefully, I think I get now why a generic wrapper doesn't work.

They're actually two different failure modes: easyturn breaks because a flat legacy option space can't map to named instances without knowing the cardinality upfront, while contracts breaks because the module spans a runtime dependency graph that has no single modular equivalent.

One thing I'm still not clear on: if the contracts PR lands, does migration for a dependent service become two separate steps? First map it to its modular shape, then manually audit and add the contract declarations? Or is there a way the contract requirements get derived from the existing config references?

one could imagine taking an submodule option shape as a request shape, tho the question might be what to take as the result if we wanna infer things: none? same submodule tree?
like the honest answer here is i haven't actually tried to do this yet.
11:13:04
@deckard_24:matrix.orgSwaraj set a profile picture.14:47:53
@kypkk:matrix.orgKangYu Peng joined the room.17:28:41
@cinerealkiara:matrix.org@cinerealkiara:matrix.org i tried to further explore the idea of identity contracts generated from a modular service's submodule option shape for the case of our existing modular service snid, but didn't so much get to something particularly more useful than just a custom snid contract aimed at this boundary (in which case... maybe a more generic contract for such a use-case might do as well) 18:51:38
30 Apr 2026
@sanskar-0day:matrix.orgSanskarThat's interesting, if the identity contract ends up being roughly equivalent to just writing a custom snid contract, it kind of suggests the inference step doesn't actually save much. Maybe the real value of automation isn't generating the contract itself, but just helping figure out which boundaries actually need one?05:58:21
@cinerealkiara:matrix.org@cinerealkiara:matrix.org
In reply to @sanskar-0day:matrix.org

That's interesting, if the identity contract ends up being roughly equivalent to just writing a custom snid contract, it kind of suggests the inference step doesn't actually save much.

Maybe the real value of automation isn't generating the contract itself, but just helping figure out which boundaries actually need one?

if we're talking inter-service boundaries, I think grepping service modules for `services\.\w+.* =` should go a long way in finding what else they set
07:57:54
@sanskar-0day:matrix.orgSanskarAgreed. Grepping gets us the obvious write boundaries for cheap, leaving a much smaller surface area to manually audit. Certainly better than overengineering it.09:18:58
@yyovil:matrix.orgYyovil Thanks Tristan Ross and Robert Hensing (roberth). Forever grateful to yall for this opportunity. 18:15:23
@roberthensing:matrix.orgRobert Hensing (roberth) Just posted the announcement on community Discourse 19:55:50
1 May 2026
@prescientmoon:moonythm.devprescientmoon joined the room.12:59:49
4 May 2026
@avali:avali.zoneAnnoyingRains changed their profile picture.02:36:05
3 May 2026
@avali:avali.zoneAnnoyingRains changed their profile picture.13:02:40
@elloutro:matrix.org@elloutro:matrix.org changed their display name from LaLoutre to Bastien.20:17:42

Show newer messages


Back to Room ListRoom Version: 10