bun: CI pins a single Bun version

Open Beginner friendly
#23,890 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
bun, typescript
Domain
ci-cd

Research direction

Start at .github/workflows/build.yml:522 and compare the Bun job with the existing Node version matrix. Add the pinned Bun version and latest as the two matrix entries, with latest allowed to fail without blocking. Confirm the workflow reports both Bun versions and that failures on latest do not fail the required CI run.

Written by the indexing model from the issue text.

Description

Bun javascript Tests

.github/workflows/build.yml:522 pins bun-version: '1.3.14' with no matrix, while Node runs a [20.19, 22, 24, 26] matrix. Bun ships breaking runtime changes often, and several of the findings above turn on Bun internals (Module.registerHooks presence, diagnostics-channel support, Bun.serve option shape).

Work item. Add a two-entry matrix: the pinned version plus latest, with continue-on-error on latest so it reports drift without blocking.

**Prior art **(related history only). getsentry/sentry-javascript#20890 (merged) is the PR that pinned Bun to 1.3.14. The drift it hides is already visible: getsentry/sentry-javascript#23521 (merged) "test(bun): Fix integration test on Bun 1.4.0" fixed a break found outside CI. No issue tracks adding a matrix.

Dominant language
TypeScript
Stars
8.7k
Forks
1.9k
Avg merge
1d 17h
Merged PRs (30d)
521

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-javascript

All issues in getsentry/sentry-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.