Repository navigation
Commit b7f10d4
chore(bugbot): Flag new Cloudflare tests that wrap the worker by hand (#25619)
This adds a Bugbot rule that flags new Cloudflare tests that wrap the
worker by hand with `withSentry`, `instrumentDurableObjectWithSentry`,
`instrumentAgentWithSentry` or `instrumentWorkflowWithSentry`. It covers
new integration test suites, new E2E apps and new Cloudflare variants of
existing E2E apps, and recommends the Sentry Cloudflare Vite plugin with
an `instrument.server.ts` instead.
## Why
The Vite plugin is the recommended Cloudflare setup, so new tests should
use it.
## Rule decisions
Bugbot does not flag tests of the manual wrappers, apps that do not
build with Vite (for example Next.js on OpenNext), or existing apps that
wrap by hand. It flags only new tests.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 81b5056 commit b7f10d4
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments