Skip to content

feat(fleet): add bootstrap and down verbs#109

Merged
hari (harivansh-afk) merged 1 commit into
mainfrom
eng-1605-fleet-verbs
May 22, 2026
Merged

feat(fleet): add bootstrap and down verbs#109
hari (harivansh-afk) merged 1 commit into
mainfrom
eng-1605-fleet-verbs

Conversation

@harivansh-afk
Copy link
Copy Markdown
Contributor

@harivansh-afk hari (harivansh-afk) commented May 22, 2026

feat(fleet): add bootstrap and down verbs

ENG-1605 needs deploy-test to reuse the generic fleet create and cleanup path without invoking replacement-image pushes or switches. This adds ix-fleet bootstrap, which creates selected nodes from their bootstrap image, waits for node readiness, and preserves dependency ordering while allowing independent nodes in a batch to run concurrently.

This also adds ix-fleet down, which removes selected nodes in reverse plan order, treats already-missing nodes as absent, and continues cleanup across nodes before returning one failure if any removal failed.

Validation:

  • nix shell --impure --expr 'with import {}; python313.withPackages (ps: [ ps.pydantic ])' -c env PYTHONPATH=packages/ix-fleet/src python -m unittest packages/ix-fleet/tests/test_ix_fleet.py
  • nix eval .#checks.x86_64-linux.eval.name

Note: nix build .#checks.x86_64-linux.eval cannot run on this aarch64 host because Nix refuses to build the x86_64 cargo vendor derivation locally.

@harivansh-afk hari (harivansh-afk) merged commit 924b28c into main May 22, 2026
8 of 9 checks passed
@harivansh-afk hari (harivansh-afk) deleted the eng-1605-fleet-verbs branch May 22, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant