Fix SDK-288 tracing auth and diagnostics - #334
Draft
Stephen Belanger (Qard) wants to merge 9 commits into
Draft
Conversation
Contributor
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
Stephen Belanger (Qard)
force-pushed
the
t3code/sdk-288-bt
branch
from
August 26, 2026 12:28
57fdbd2 to
b70de83
Compare
Stephen Belanger (Qard)
force-pushed
the
t3code/sdk-288-bt
branch
from
August 26, 2026 14:37
7cc23d7 to
88480ee
Compare
Stephen Belanger (Qard)
force-pushed
the
t3code/sdk-288-bt
branch
from
August 26, 2026 15:29
88480ee to
72d201e
Compare
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
Implements the
bt-owned P0 and P1 work from SDK-288 in issue-level commits:trace enable/trace setup,trace run, andtrace importcomplete from the credentials already available to the command. Environment auth remains invocation-local for run/import; persistent setup materializes the API key into a normal saved profile for future hooks; interactive commands collect a missing key, org, or project instead of requiring a separate login step.bt loginsavesBRAINTRUST_API_KEY; the persistent tracing setup command itself is the explicit request to create the durable login it needs.bt statusconcise; expand saved profile and credential-storage details only under--all, and show precedence only for an active CLI/environment override.logout --allflow with per-profile JSON results.bt trace doctor.Dependency
braintrustdata/braintrust-coding-agent-plugins#32 has landed. This PR pins its squash commit on
main(face71d8d758363e881e15310ce79d5fcafa2912).Validation
cargo fmt --checkcargo test --all-targets --locked(757 unit tests, 56 CLI tests, and all dataset, eval, functions, and setup integration suites passed)cargo clippy --all-targets --locked -- -D warnings -A clippy::collapsible_matchgit diff --checkPlain
cargo clippy --all-targets --locked -- -D warningsis currently blocked by pre-existingcollapsible_matchfindings in unrelated dataset, SQL, and trace TUI code under Rust 1.95; allowing that lint leaves the branch clean.