Add custom CA bundle support to BraintrustClientBuilder#26
Merged
Alex Jean-Baptiste (justcodebruh) merged 1 commit intomainfrom Mar 23, 2026
Merged
Add custom CA bundle support to BraintrustClientBuilder#26Alex Jean-Baptiste (justcodebruh) merged 1 commit intomainfrom
Alex Jean-Baptiste (justcodebruh) merged 1 commit intomainfrom
Conversation
Stephen Belanger (Qard)
approved these changes
Mar 18, 2026
Alex Jean-Baptiste (justcodebruh)
added a commit
to braintrustdata/bt
that referenced
this pull request
Mar 24, 2026
## Summary Add custom CA bundle support across bt HTTP flows. ## Changes - add global `--ca-bundle` / `BRAINTRUST_CA_BUNDLE` - apply custom CA handling to auth and OAuth flows, docs fetches, eval dev-server requests, self-update checks, and API client requests - keep CA-aware reqwest client construction local to `bt` - consume the upstream SDK change needed for the CLI flow ## Dependency Depends on braintrustdata/braintrust-sdk-rust#26
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
Add custom CA bundle support to the Rust SDK so a downstream
btCLI change can use enterprise/custom CAs.Changes
Context
This is needed for downstream branch
braintrustdata/bt:ajb-cli-ca-fix, which adds--ca-bundlesupport across CLI HTTP flows.