Skip to content

Switch to ssh-ng://#1445

Closed
Ericson2314 wants to merge 5 commits intomasterfrom
use-ssh-ng
Closed

Switch to ssh-ng://#1445
Ericson2314 wants to merge 5 commits intomasterfrom
use-ssh-ng

Conversation

@Ericson2314
Copy link
Copy Markdown
Member

Fixes #688.

Tests pass! Yes, the tests are wrong (leaving narMembers unset should definitely fail tests!), but it's a start!

Not until NixOS/nix#10748 lands

Flake lock file updates:

• Updated input 'nix':
    'github:NixOS/nix/970942f45836172fda410a638853382952189eb9?narHash=sha256-jGFuyYKJjJZsBRoi7ZcaVKt1OYxusz/ld1HA7VD2w/0%3D' (2025-02-12)
  → 'github:NixOS/nix/5eade4825221d3284fc6555cb20de2c7aa171d72?narHash=sha256-n5kdS1C24tlJxDV6Wm1iBlyvGk%2Bp0gMXRcWVCAipYLs%3D' (2025-02-14)

• Updated input 'nix-eval-jobs':
    'github:Ericson2314/nix-eval-jobs/5e27c2724a4b07862e7ff1a198aa2ed68dea3e2c?narHash=sha256-7xgSdKnQW11eWd59MnpUNS%2BgwgtOJH2ShzLwByev3rg%3D' (2025-02-14)
  → 'github:Ericson2314/nix-eval-jobs/de345eb4518d952c2d86261b270f2c31edecd3de?narHash=sha256-dNMJY6%2BG3PwE8lIAhwetPJdA2DxCEKRXPY/EtHmdDh4%3D' (2025-02-14)
In NixOS/nix#10748 it is extended with
everything we need.
We need a replacement for the nar member logic, however. And maybe also
a test that fails until this is fixed (this one should not be passing).
Ericson2314 added a commit to NixOS/nix that referenced this pull request Feb 17, 2025
This is not as comprehensive as #10748, but I am also interested in
figuring out whether all those additions are in fact necessary.

This is bare minimum needed for
NixOS/hydra#1445, which has notable gaps but
nevertheless reimplements enough with `ssh-ng://` to past all tests.

I would like to merge this change as definitely necessary, and unclear
whether sufficient. Then I would iterate on the corresponding Hydra PR
until it seems potentially correct, seeing what, if any, further Nix API
changes are necessary.
Ericson2314 added a commit to NixOS/nix that referenced this pull request Mar 17, 2025
This is not as comprehensive as #10748, but I am also interested in
figuring out whether all those additions are in fact necessary.

This is bare minimum needed for
NixOS/hydra#1445, which has notable gaps but
nevertheless reimplements enough with `ssh-ng://` to past all tests.

I would like to merge this change as definitely necessary, and unclear
whether sufficient. Then I would iterate on the corresponding Hydra PR
until it seems potentially correct, seeing what, if any, further Nix API
changes are necessary.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Ericson2314 added a commit to NixOS/nix that referenced this pull request Mar 17, 2025
This is not as comprehensive as #10748, but I am also interested in
figuring out whether all those additions are in fact necessary.

This is bare minimum needed for
NixOS/hydra#1445, which has notable gaps but
nevertheless reimplements enough with `ssh-ng://` to past all tests.

I would like to merge this change as definitely necessary, and unclear
whether sufficient. Then I would iterate on the corresponding Hydra PR
until it seems potentially correct, seeing what, if any, further Nix API
changes are necessary.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
@dasJ dasJ added the queue runner hydra-queue-runner component label Jan 16, 2026
@Ericson2314
Copy link
Copy Markdown
Member Author

I will close this as soon as the new queue runner is merged :)

@Ericson2314
Copy link
Copy Markdown
Member Author

It's merged!

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

Labels

queue runner hydra-queue-runner component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No support for ssh-ng:// protocol

2 participants