Skip to content

tests: Add Nix 1.11.16 compatibility test#15164

Open
roberth wants to merge 1 commit intoNixOS:masterfrom
roberth:test-compat-nix-1.16
Open

tests: Add Nix 1.11.16 compatibility test#15164
roberth wants to merge 1 commit intoNixOS:masterfrom
roberth:test-compat-nix-1.16

Conversation

@roberth
Copy link
Member

@roberth roberth commented Feb 6, 2026

Motivation

Helps catch protocol compatibility issues with very old daemons.

I've used this to verify something about the worker protocol.

It's not perfect but works and catches a possible mistake; see #15168.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@roberth roberth requested a review from edolstra as a code owner February 6, 2026 18:29
@roberth roberth added the store Issues and pull requests concerning the Nix store label Feb 6, 2026
@roberth roberth requested review from Ericson2314 and removed request for edolstra February 6, 2026 18:29
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Feb 6, 2026
@roberth roberth requested a review from edolstra February 6, 2026 18:29
@xokdvium
Copy link
Contributor

xokdvium commented Feb 6, 2026

Helps catch protocol compatibility issues with very old daemons.

Hm, didn't compat with pre 2.0 protocols get yeeted a while back?

@roberth
Copy link
Member Author

roberth commented Feb 6, 2026

Apparently not, and if anything, this shows that it's quite easy to extend the range of tested versions.

Helps catch protocol compatibility issues with very old daemons.
@roberth roberth force-pushed the test-compat-nix-1.16 branch from f7c9ba7 to 7dd43d0 Compare February 6, 2026 22:17
@Ericson2314
Copy link
Member

Huh wow, I'm surprised this worked so easily!

@edolstra
Copy link
Member

Hm, didn't compat with pre 2.0 protocols get yeeted a while back?

It is pretty surprising that this works, since we dropped support for protocol versions < 18 (137a551) and 1.11.* is on version 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants