Repository navigation
fix(rag): name the Qdrant server by host and port - #2733
Merged
Merged
Conversation
… in the cache key
Owner
Author
|
Targeted tests: 265 passed (tests/test_rag_qdrant_server_label.py, test_exceptions, test_rag_indexer_retriever, test_rag_retriever_filters, test_rag_qdrant, test_rag_qdrant_span, test_rag_investigator, test_validation, test_http, test_pydantic_ai_ollama, test_ai_client_security, test_http_broker, test_qdrant_cluster_addressing). Fail-to-pass ( |
dan-petty
marked this pull request as ready for review
October 30, 2026 01:41
dan-petty
pushed a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.21.4](v0.21.3...v0.21.4) (2026-10-30) ### Bug Fixes * **ai:** name each prewarm server by host and port ([#2737](#2737)) ([2e2e4fa](2e2e4fa)), closes [#2676](#2676) * **ai:** the mcp benchmark tool takes no file path ([#2738](#2738)) ([5d5da15](5d5da15)), closes [#2704](#2704) * **config:** redact a removed credential in the config copies ([#2734](#2734)) ([f663344](f663344)), closes [#2645](#2645) * **rag:** name the Qdrant server by host and port ([#2733](#2733)) ([39aca9d](39aca9d)), closes [#2709](#2709) * **roadmap:** tick turn and kept diff for implement steps ([#2744](#2744)) ([890d2a6](890d2a6)), closes [#2721](#2721) * **security:** refuse the gh and kubectl keys that run a program ([#2732](#2732)) ([ad0bdf1](ad0bdf1)), closes [#2672](#2672) * **security:** refuse the keys that make a child write a file ([#2746](#2746)) ([1cd187e](1cd187e)), closes [#2674](#2674) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
The configured Qdrant URL can hold userinfo, which the client sends as Basic authentication, and a path. Four places and one error class wrote the whole URL. Each now names the server by
host[:port], as the AI client does.qdrant_server_label(url)andQdrantClient.server_labelgivehost[:port]for anhttporhttpsURL (server_labelof fix(ai): the benchmarks name each server by host and port, never by a configured URL with its password #2481). Ak8s://address gives<service>.<namespace>, plus:<port>when the port is a number. A text with no origin givesunknown.list_collectionsdebug line and the investigator "unreachable" debug line use the label.InvalidURLErrornever holds the URL. Its message isInvalid URL for server <label>: <reason>, orInvalid URL: <reason>when the URL has no origin, so the kind of problem stays. The Qdrant reason namesqdrant.url. Two reason texts ofvalidate_urlno longer repeat the URL.(label, sha256 of the base URL, collection). Servers that differ only in scheme or path prefix keep two keys. The key holds no URL.Change: openspec/changes/archive/2026-10-30-2709-qdrant-log-host-label/
Closes #2709