Skip to content

fix: keep dev services in the user home - #293

Merged
version-1 merged 2 commits into
mainfrom
fix/dev-service-home
Jul 28, 2026
Merged

fix: keep dev services in the user home#293
version-1 merged 2 commits into
mainfrom
fix/dev-service-home

Conversation

@version-1

Copy link
Copy Markdown
Owner

Keep the development service runtime in the user home

Summary

Make build-tq-dev place the managed services in the same ~/.tasq-dev home resolved by the dev build profile.

主な変更点:

  • Build the three development services into ~/.tasq-dev/system/bin.
  • Keep the dev profile so tqdev update remains disabled.
  • Remove the unnecessary workspace-specific default-home override.

やったこと

  • Simplified the home-resolution implementation back to its profile-based behavior.
  • Quoted development runtime paths so HOME values containing spaces work correctly.

動作確認

  • go test ./internal/config ./internal/cli/tq
  • make -n build-tq-dev
  • make -n HOME='/tmp/review home' build-tq-dev
  • git diff --check

レビュー & 動作確認 チェックリスト

  • Home consistency - tqdev config resolves ~/.tasq-dev and services are built below the same home.
  • Update guard - the embedded dev profile keeps tqdev update unavailable.
  • Shell-safe paths - build-tq-dev works when HOME has spaces.

推奨テスト計画:

  1. Run make build-tq-dev.
  2. Confirm service binaries exist in ~/.tasq-dev/system/bin.
  3. Run ./tqdev service start after freeing the local ports.

その他気になることや相談ごと

None.

Build the dev runtime under ~/.tasq-dev so tqdev and its managed service binaries resolve the same home.
Preserve build-tq-dev output paths when HOME contains spaces.
@version-1
version-1 enabled auto-merge July 28, 2026 23:13
@version-1
version-1 merged commit 0c212d0 into main Jul 28, 2026
5 checks passed
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