You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements the bt-owned P0 and P1 work from SDK-288 in issue-level commits:
SDK-272: make trace enable / trace setup, trace run, and trace import complete 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.
SDK-274: require explicit consent before ordinary bt login saves BRAINTRUST_API_KEY; the persistent tracing setup command itself is the explicit request to create the durable login it needs.
SDK-270 / SDK-275: keep bare bt status concise; expand saved profile and credential-storage details only under --all, and show precedence only for an active CLI/environment override.
SDK-276: clarify that logout is local-only and add a one-confirmation logout --all flow with per-profile JSON results.
SDK-273: pin the landed daemon revision and provide side-effect-free, credential-redacted auth provenance to bt trace doctor.
cargo 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_match
git diff --check
focused regressions prove environment-key persistent setup and explicit-key managed run both complete with saved-profile routes, while environment-key managed run remains invocation-local
Plain cargo clippy --all-targets --locked -- -D warnings is currently blocked by pre-existing collapsible_match findings in unrelated dataset, SQL, and trace TUI code under Rust 1.95; allowing that lint leaves the branch clean.
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
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.