Repository navigation
connection: expose remote client config - #169
Merged
Merged
Conversation
…fig-slice # Conflicts: # src/connection.rs
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.
Implements the
ClientConfigslice of #124.Adds
LanceDBClientConfigandlancedb_connect_builder_client_configas one additive representation of the SDK's plain-dataClientConfigfields: user agent, HTTP timeouts, retry budgets/backoff/status list, blob concurrency, insert byte/time budgets, static extra headers, TLS paths/hostname assertion,id_delimiter, anduser_id. Omitted fields keep the SDKClientConfig::default()and environment fallbacks;set_fieldskeeps explicit zero/false distinct. TLS remainsNoneunless configured, so default hostname verification stays enabled. SDK validation and file reads still happen whenlancedb_connect_builder_execute()runs. Callback header providers are intentionally not represented.The existing URI builder ABI, consumption convention and
remotefeature gate are preserved. The C17 consumer and connection suite cover the new struct, an actual loopback request with forwarded user-agent/static headers, and an execute-time retry-status validation error. Local verification passed locked default/no-default all-target checks, lib tests in both feature sets, strict Clippy, a shared CMake build, the focused connection CTest under Valgrind with no errors or leaks, the C17 consumer, and both ABI models. Hosted CI covers untouched suites.