Skip to content

fix(cli): fail fast when k3d is missing (CLEAN-43) - #38

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-43-k3d-preflight
Aug 19, 2026
Merged

fix(cli): fail fast when k3d is missing (CLEAN-43)#38
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-43-k3d-preflight

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

Summary

  • ranch dev now requires k3d before any image pull (compose needs the external k3d-ranch network).
  • Install hint is OS-specific: winget/choco/scoop on Windows, brew on macOS, k3d install script on Linux.
  • docker-up.sh inspects k3d-ranch before compose up, so postgres/minio are not downloaded first.
  • ranch dev --no-k3d creates a dummy k3d-ranch network so compose can still start without a cluster.

Test plan

  • cd cli && bun test src/utils/k3d.test.ts
  • Without k3d: ranch dev exits immediately with the Windows install hint (no image pull)
  • With k3d: existing ranch dev still creates the cluster then compose

Fixes CLEAN-43

Co-authored-by: Cursor <cursoragent@cursor.com>
@maksymhryzodub-prog
maksymhryzodub-prog merged commit c77e4a0 into main Aug 19, 2026
1 check passed
@maksymhryzodub-prog
maksymhryzodub-prog deleted the fix/CLEAN-43-k3d-preflight branch August 19, 2026 20:58
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