getsentry / getsentry/sentry-javascript
bun: CI pins a single Bun version
- Langage dominant
- TypeScript
- Étoiles
- 8.7k
- Forks
- 1.8k
- Merge moyen
- 1 j 17 h
- PR mergées (30 j)
- 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- bun, typescript
- Domaine
- ci-cd
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Active
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 88/100