Skip to content

feat: Add commands for pushing and previewing custom views - #375

Merged
Luca Forstner (lforst) merged 4 commits into
mainfrom
lforst/dum-e/istanbul-9d5dadcff3
Sep 24, 2026
Merged

Luca Forstner (lforst) merged 4 commits into
mainfrom
lforst/dum-e/istanbul-9d5dadcff3

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Sep 23, 2026 •

Copy link
Copy Markdown
Member
  • bt custom-views
    • push [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.
    • trace
      • bootstrap <NAME> — create a starter trace view and tsconfig.json.
        • --file <PATH> — output file/directory; default: braintrust-custom-views/<slug>.trace-view.tsx.
        • -f, --force — overwrite the view and adjacent tsconfig.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.
    • dataset
      • bootstrap <NAME> — create a starter dataset view and tsconfig.json.
        • --file <PATH> — output file/directory; default: braintrust-custom-views/<slug>.dataset-view.tsx.
        • -f, --force — overwrite the view and adjacent tsconfig.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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-23T18:22:47.583458Z 99b2ee0 PR opened
ℹ️ About Codex in GitHub

Your 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/custom_views.rs
Comment thread src/custom_views.rs Outdated
Comment thread src/custom_views.rs Outdated
Comment thread src/custom_views.rs Outdated
Comment thread src/custom_views.rs Outdated
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 56f1e07b399e:

Available artifact names
  • artifacts-build-local-x86_64-pc-windows-msvc
  • artifacts-build-local-aarch64-apple-darwin
  • artifacts-build-local-x86_64-unknown-linux-musl
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-build-global
  • cargo-dist-cache
  • artifacts-plan-dist-manifest

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"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we match w/ mise?

@lforst
Luca Forstner (lforst) merged commit 8d00e19 into main Sep 24, 2026
25 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.

2 participants