Fix qdrant/hdbscan healthchecks failing on missing curl/wget#49
Merged
elliottregan merged 1 commit intomainfrom Apr 21, 2026
Merged
Fix qdrant/hdbscan healthchecks failing on missing curl/wget#49elliottregan merged 1 commit intomainfrom
elliottregan merged 1 commit intomainfrom
Conversation
The qdrant/qdrant image ships without curl and cspace-hdbscan-api ships without wget, so both healthchecks failed every interval. cspace-search-mcp (depends_on qdrant: service_healthy) then never started, blocking `cspace up` until the retry window expired. Swap qdrant to a bash /dev/tcp probe and hdbscan to the python urllib probe already used by reduce-api. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for cspace-cli canceled.
|
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.
Summary
qdrant/qdrantships withoutcurlandcspace-hdbscan-apiships withoutwget, so the healthchecks indocker-compose.core.ymlfail every interval (/bin/sh: 1: curl: not found, 76-deep failing streak observed).cspace-search-mcpdeclaresdepends_on: qdrant: service_healthy, so it never starts andcspace uphangs until compose's retry window expires, then fails withdependency failed to start: container <inst>.qdrant is unhealthy./dev/tcpfor qdrant, pythonurllib.requestfor hdbscan (matches the already-healthyreduce-apiprobe one service above).Test plan
bash -c 'exec 3<>/dev/tcp/127.0.0.1/6333'succeeds inside a liveqdrant/qdrantcontainer.python -c 'import urllib.request; urllib.request.urlopen("http://localhost:8090/health")'returns 200 inside a livecspace-hdbscan-apicontainer.cspace up <planet>reaches[15/15]without a healthcheck-blockedsearch-mcp.🤖 Generated with Claude Code