feat: Add commands for pushing and previewing custom views - #375
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99b2ee0fda
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
Retain relative-path versions required by the custom-view bundler and updated daemon. Update tracing test fixtures for the daemon's authentication and package changes.
|
|
||
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | ||
| with: | ||
| node-version: "22.15.0" |
There was a problem hiding this comment.
should we match w/ mise?
bt custom-viewspush [PATH]...— publish custom views; paths default to the current directory.--file <PATH>— repeatable; accepts comma-separated paths.--if-exists <error|replace|ignore>— default:error.-y,--yes— skip confirmation.tracebootstrap <NAME>— create a starter trace view andtsconfig.json.--file <PATH>— output file/directory; default:braintrust-custom-views/<slug>.trace-view.tsx.-f,--force— overwrite the view and adjacenttsconfig.json.preview <PATH>— preview a trace view locally.--view <VIEW>— select by slug or name.--port <PORT>— default:0(automatically selected).--no-open— skip opening the browser.--url <URL>— select a trace using a Braintrust URL.--project-id <PROJECT_ID>— specify the project.--trace-id <TRACE_ID>— select by root span ID.--root-span-id <TRACE_ID>— alias for--trace-id.--span-id <SPAN_ID>— select a span by span ID or row ID.--lookup-window <DURATION>— URL span lookup window; default:30d.datasetbootstrap <NAME>— create a starter dataset view andtsconfig.json.--file <PATH>— output file/directory; default:braintrust-custom-views/<slug>.dataset-view.tsx.-f,--force— overwrite the view and adjacenttsconfig.json.--dataset <NAME>— embed a dataset name.--dataset-id <ID>— embed a dataset ID; mutually exclusive with--dataset.preview <PATH>— preview a dataset view locally.--view <VIEW>— select by slug or name.--port <PORT>— default:0(automatically selected).--no-open— skip opening the browser.--dataset <DATASET>— select a dataset by name or ID.--row-id <ROW_ID>— select a row by ID; takes precedence over--row-index.--row-index <ROW_INDEX>— zero-based row index; default:0.