Repository navigation
fix(tray): remove Docker dependency and always launch core - #128
Merged
Merged
Conversation
Remove Docker availability checking from tray application to fix architectural separation of concerns issue. The tray was blocking core launch when Docker was unavailable, preventing users from using non-Docker upstream servers. Changes: - Remove ensureDockerAvailable() function that checked Docker before core launch - Remove handleDockerUnavailable() and Docker retry logic - Remove Docker error variables (errDockerPaused, errDockerUnavailable) - Remove Docker state management (dockerRetryMu, dockerRetryCancel, dockerReconnectPending) - Keep monitorDockerStatus() for user notifications via core API - Tray now always launches core regardless of Docker status Architecture: - Tray: Launches core, monitors status, shows notifications - Core: Checks Docker, uses isolation if available, falls back gracefully - Core already has proper fallback logic (internal/upstream/core/connection.go:533) Benefits: - Separation of concerns: Tray manages UI, core manages Docker - No blocking: Users can use HTTP/SSE servers without Docker - Graceful degradation: Core handles Docker unavailability internally - PATH issue irrelevant: Tray no longer needs Docker in PATH Fixes the issue where tray launched from GUI couldn't find docker in PATH and blocked core launch, even though core handles Docker gracefully.
Contributor
📦 Build Artifacts for PR #128Version: Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 19060883361 --repo smart-mcp-proxy/mcpproxy-go
# Or download a specific artifact:
gh run download 19060883361 --name dmg-darwin-arm64
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove Docker availability checking from tray application to fix architectural separation of concerns issue. The tray was blocking core launch when Docker was unavailable, preventing users from using non-Docker upstream servers.
Changes:
Architecture:
Benefits:
Fixes the issue where tray launched from GUI couldn't find docker in PATH and blocked core launch, even though core handles Docker gracefully.
Pull Request
Description
Brief description of the changes in this PR.
Testing