Skip to content

refactor(cluster): rewrite with layered architecture; add e2e suite#14

Merged
stenh0use merged 14 commits into
mainfrom
refactor-pkg
Jun 8, 2026
Merged

refactor(cluster): rewrite with layered architecture; add e2e suite#14
stenh0use merged 14 commits into
mainfrom
refactor-pkg

Conversation

@stenh0use

Copy link
Copy Markdown
Owner

Summary

  • Replaces the Manager god object in pkg/cluster with a clean domain/orchestration/persistence/runtime layered architecture
  • Adds pkg/naming and pkg/version leaf packages to eliminate naming duplication and version constants
  • Refactors pkg/provider, pkg/build/release, and pkg/build/image to use the new types
  • Wires all CLI commands (list, get, start, stop, rm, build, set) to the new orchestration API with env-var version overrides
  • Removes dead code: releases command, pkg/config, pkg/cmd/hind/format, container_spec.go
  • Adds a no-mock e2e CLI lifecycle integration suite under test/e2e/cli

Test plan

  • make test — all unit tests pass
  • make hind-cli && ./bin/hind --help — CLI builds and responds
  • hind build all then make test-e2e — full lifecycle (start → stop → start → rm) passes against live Docker

@stenh0use stenh0use merged commit a020556 into main Jun 8, 2026
1 check failed
@stenh0use stenh0use deleted the refactor-pkg branch June 8, 2026 00:08
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