getsentry / getsentry/sentry-javascript

bun: CI pins a single Bun version

Open Beginner friendly
#23,890 1 comment 0 reactions 0 assignees View on GitHub
Bun javascript Tests
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.