Skip to content

v0.3.9 — Deploy modes, shared orchestrator, UX improvements

Choose a tag to compare

@ewega ewega released this 26 Feb 09:22
· 64 commits to main since this release

What's new in v0.3.9

New features

  • Interactive deploy target prompt — gh devlake deploy without a subcommand now prompts you to pick local or Azure, matching the init wizard UX
  • Fork / custom image source modes — deploy local and deploy azure now offer an interactive source prompt: official (Apache release), fork (clone + build from source), or custom (user supplies own compose/images). New --source and --repo-url flags for scripting.
  • internal/gitclone package — shallow-clone helper (--depth 1) used by both local and Azure fork workflows, with DefaultForkURL pointing to DevExpGBB/incubator-devlake
  • Multiple connections per plugin — when a connection with the same name already exists, the wizard now asks whether to reuse it or create a new one under a different name, enabling e.g. two GitHub org connections in one session
  • --keep-data flag for cleanup — preserves Docker data volumes (database + Grafana dashboards) while still removing containers and compose files

Improvements

  • suggestDedicatedDir replaces the old vague homeDirTip: cross-platform mkdir+cd copy-paste commands (PowerShell and Bash/Zsh) are printed, and the user can choose to exit or continue
  • Shared configureAllPhases orchestrator — both init (phases 2-4) and configure full now use a single implementation; eliminates ~200 lines of duplicated logic
  • deduplicateResults helper + unit tests prevent duplicate connection entries from appearing in scope/project setup
  • waitForMigration helper polls the DevLake /ping endpoint until DB migration completes (428 → 200) before continuing
  • Cleanup: partial deployment detection — docker-compose.yml present without a state file is now correctly detected as a local deployment, so cleanup after a failed deploy works
  • Cleanup removes .devlake.env so no secrets are left behind after teardown
  • CLI architecture skill added to .github/skills/cli-architecture/ for future contributors