flake-checker icon indicating copy to clipboard operation
flake-checker copied to clipboard

Generally, enable new nixos releases earlier

Open dpc opened this issue 1 year ago • 1 comments

I think it's been a second time, when we've upgraded to the new nixos branch early, and had to endure unnecessary failed github status checks (not required to pass the CI, but still):

image

image

Is there any technical reason these can't be enabled ahead of time? If our project made a decision to try out upcoming NixOS release early (e.g. to make sure everything still works before NixOS release is stabilized, so we have time to report issues), we would prefer for this check to just keep working.

dpc avatar Dec 09 '24 18:12 dpc

I’m kind of in the opposite situation. I’m not really interested in having Nix Flake Checker allow beta branches at the moment, but I am interested in having Nix Flake Checker disallow deprecated branches. I just opened #151 which will hopefully enable both of our use cases.

Jayman2000 avatar Dec 18 '24 17:12 Jayman2000

The supported branches are by definition those returned from this endpoint: https://prometheus.nixos.org/api/v1/query?query=channel_revision. You can see that list using curl and jq:

curl "https://prometheus.nixos.org/api/v1/query?query=channel_revision" | \
  jq -r '.data.result[].metric.channel'

lucperkins avatar Nov 07 '25 21:11 lucperkins