getsentry / getsentry/sentry-javascript

bun: CI pins a single Bun version

未关闭 适合新手
#23,890 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bun javascript Tests
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
bun, typescript
领域
ci-cd
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
88/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。