Skip to content

Conversation

@carlos-gn
Copy link
Contributor

Fixes: #2035
Remote workloads returned incomplete data when queried, missing URL, port, transport type, group, and labels. This caused clients to fail when trying to connect since they need the local proxy URL to reach the remote server.

Load the run config to populate these missing fields. The URL generated is the local proxy URL (not the remote server URL) so clients connect through ToolHive's proxy layer.

Remote workloads returned incomplete data when queried, missing
URL, port, transport type, group, and labels. This caused clients
to fail when trying to connect since they need the local proxy
URL to reach the remote server.

Load the run config to populate these missing fields. The URL
generated is the local proxy URL (not the remote server URL) so
clients connect through ToolHive's proxy layer.

Signed-off-by: carlos <[email protected]>
@carlos-gn carlos-gn marked this pull request as ready for review December 5, 2025 19:38
@github-actions github-actions bot added the size/XS Extra small PR: < 100 lines changed label Dec 8, 2025
@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

❌ Patch coverage is 0% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.30%. Comparing base (55d0cee) to head (c661ea7).
⚠️ Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
pkg/workloads/statuses/file_status.go 0.00% 37 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2929      +/-   ##
==========================================
- Coverage   56.39%   56.30%   -0.10%     
==========================================
  Files         322      323       +1     
  Lines       31622    31799     +177     
==========================================
+ Hits        17834    17904      +70     
- Misses      12257    12366     +109     
+ Partials     1531     1529       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP list commands don't work with remote servers using workload name

1 participant