Skip to content

feat: Publish @braintrust/bt on npm - #378

Open
Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/dum-e/beirut-47ee066713
Open

Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/dum-e/beirut-47ee066713

Conversation

@lforst

Copy link
Copy Markdown
Member

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 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-24T17:58:00.860857Z a20f6f3 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: a20f6f35d9

ℹ️ 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 .github/workflows/release.yml Outdated
fi
echo "Publishing $name@$version"
(cd "$dir" && npm publish --access public)
(cd "$dir" && npm publish --access public --tag latest)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid moving latest during older-tag replays

When the documented manual-release path is used with an older existing tag (CONTRIBUTING.md:113), this command publishes the newly added wrapper with --tag latest, replacing the current latest dist-tag with that older version. The npm 11 documentation confirms that unversioned installs resolve the latest tag, so subsequent npm install @braintrust/bt calls are downgraded until the tag is repaired; only assign latest after verifying this release version is the newest, or publish replays under a non-latest tag.

Useful? React with 👍 / 👎.

Comment thread npm/bt/scripts/install.js Outdated
Comment on lines +69 to +70
https
.get(url, (response) => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Bound the fallback registry request with a timeout

When optional dependencies are omitted and the registry accepts the connection but stops responding, this postinstall request has no request or socket timeout, so npm install can hang indefinitely rather than reaching the documented download-failure path. Add a finite timeout that destroys the request and rejects with an actionable error.

Useful? React with 👍 / 👎.

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 not use the release action for this?

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 3a9404e0c34a:

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

@Qard Stephen Belanger (Qard) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally LGTM, but unclear which slack channel that is routing to. Might benefit from a comment mapping the internal ID to the actually recognizable one.

on_release_branch: ${{ needs.plan.outputs.on-release-branch }}
commit_message: ${{ needs.plan.outputs.commit-message }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: C0ABHT0SWA2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Which channel is this?

This branch has not been deployed

No deployments
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.

3 participants