fix(nixos): avoid redundant deploy closure transfers #51

Merged
alexion merged 1 commits from fix/deploy-to-incremental-closure into main 2026-09-15 21:39:25 -04:00
Owner

Summary

  • query the remote Nix store for missing system-closure paths before exporting
  • export and import only missing paths, skipping archive transfer when the target already has the closure
  • keep activation through the locally built system path

Verification

  • fish -n modules/shell/fish/functions/deploy-to.fish
  • mocked deploy smoke test exported only the path reported missing by the target
  • mocked no-copy smoke test skipped scp/import when the target reported no missing paths
## Summary - query the remote Nix store for missing system-closure paths before exporting - export and import only missing paths, skipping archive transfer when the target already has the closure - keep activation through the locally built system path ## Verification - fish -n modules/shell/fish/functions/deploy-to.fish - mocked deploy smoke test exported only the path reported missing by the target - mocked no-copy smoke test skipped scp/import when the target reported no missing paths
alexion added 1 commit 2026-09-15 21:16:43 -04:00
alexion merged commit 5d40b43dd9 into main 2026-09-15 21:39:25 -04:00
alexion deleted branch fix/deploy-to-incremental-closure 2026-09-15 21:39:25 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#51