!UNVBThoJtlIiVwiDjU:nixos.org

Staging

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

Load older messages


SenderMessageTime
15 Feb 2026
@k900:0upti.meK900I mean18:16:19
@k900:0upti.meK900This is what Yarn upstream does18:16:22
@k900:0upti.meK900The only other option is regenerate all lockfiles18:16:28
@k900:0upti.meK900But sigh18:16:32
@vcunat:matrix.orgVladimír ČunátAt that point we just mark these fetches as insecure? 😅18:17:37
@vcunat:matrix.orgVladimír Čunát* At that point we just mark these fetches as vulnerable? 😅18:17:45
@grimmauld:m.grimmauld.deGrimmauld (any/all)can we just delete JS? /hj18:18:12
@vcunat:matrix.orgVladimír Čunát(the "vulnerable" mechanism isn't able to differentiate substituted builds, unfortunately)18:18:30
@emilazy:matrix.orgemilythey'd be the same to write18:19:22
@emilazy:matrix.orgemily staging and staging-next would always have the tree after cleanups for the relevant epoch 18:19:52
@emilazy:matrix.orgemilyso you just work on that branch and run the script to produce the form that goes to master as a commit on top18:20:26
@vcunat:matrix.orgVladimír ČunátI missed the script. See it now.18:20:38
@emilazy:matrix.orgemilyessentially a merge of staging/-next back into master18:20:38
@emilazy:matrix.orgemily it'd suck to touch stuff being staged on master, but that's the thing that sucks now and the suck gets externalized to people doing manual merge :) 18:21:16
@lt1379:matrix.orgLunnixpkgs, now with federated suck processing technology™18:22:12
@emilazy:matrix.orgemily

there's a lower-tech variant where you have no conditionals in the code but every staging/-next PR has a HEAD that merges it back into master to undo the changes, and merge queue just validates no conflicts/eval errors across the branches. that makes merging -next into master weird from a Git POV though (it would produce a nop by default because "all the changes are already merged in").

or the reverse is that if you have to do something to resolve conflicts between master and staging/-next you keep your commit based on master but add a merge commit merging it into staging/-next and the master portion of it just gets automatically backported.

those avoid any eval time machinery but abandon the property that there's one canonical tree that lets you see when stuff is in flight before you touch it. they would also interact a bit weird with the way GitHub displays merge commits and require CI to have more smarts around them

18:27:30
@emilazy:matrix.orgemilythe latter option does have the perk that it's exactly the same merge structure we have now and just distributes the work of doing the conflicting ones to the authors of the PRs that cause the conflicts18:29:07
@emilazy:matrix.orgemily(but it punts on helping with the conditionalization dance except insofar as it makes it easier to land the conditional and the clean-up in the same PR without one getting forgotten)18:31:01
@emilazy:matrix.orgemilyalso with the feature flags variant we could still have the "controbutor didn't realize this needs staging, let's retarget with a couple clicks" convenience by having CI detect PRs targeting a staging branch, automatically push the generated staging commit, and retarget back to master18:33:34
@emilazy:matrix.orgemilywhich also means that if you're doing a simple non-conflicting staging change you don't need to run any script locally at all and can just send a PR to staging as you do now18:34:02
@emilazy:matrix.orgemilythe script doesn't have to be perfect because it's just a convenience and doesn't have to be in the trusted code base, it can get away with just handling the common cases18:35:18
28 Jun 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".15:07:04
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".15:07:04
@grahamc:nixos.org@grahamc:nixos.org changed the room topic to "" from "".15:07:04
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgmjolnir.15:07:15
@grahamc:nixos.org@grahamc:nixos.org invited @hexa:lossy.networkhexa.15:07:16
@mjolnir:nixos.orgmjolnir joined the room.15:07:16
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.15:07:20
@hexa:lossy.networkhexa joined the room.15:07:20
@jonringer:matrix.orgjonringer joined the room.15:10:02

Show newer messages


Back to Room ListRoom Version: 6