Skip to content

connection: expose remote client config - #169

Merged
Xuanwo merged 11 commits into
mainfrom
xuanwo/add-client-config-slice
Nov 23, 2026
Merged

Xuanwo merged 11 commits into
mainfrom
xuanwo/add-client-config-slice

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 22, 2026

Copy link
Copy Markdown
Member

Implements the ClientConfig slice of #124.

Adds LanceDBClientConfig and lancedb_connect_builder_client_config as one additive representation of the SDK's plain-data ClientConfig fields: user agent, HTTP timeouts, retry budgets/backoff/status list, blob concurrency, insert byte/time budgets, static extra headers, TLS paths/hostname assertion, id_delimiter, and user_id. Omitted fields keep the SDK ClientConfig::default() and environment fallbacks; set_fields keeps explicit zero/false distinct. TLS remains None unless configured, so default hostname verification stays enabled. SDK validation and file reads still happen when lancedb_connect_builder_execute() runs. Callback header providers are intentionally not represented.

The existing URI builder ABI, consumption convention and remote feature 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.

@Xuanwo
Xuanwo merged commit 4aa8d85 into main Nov 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant