Add an e2e test app that uses the Workers AI integration the way a real user does, and that sends the data to a real Sentry project.
Current state: cloudflare-agent mocks the env.AI binding and makes no real requests. The SDK sends the spans to the local event proxy (tunnel: localhost:3031), so nothing gets to Sentry.
Requirements:
- Use a real Workers AI binding on a real Cloudflare account (see
cloudflare-workers-send-to-sentry for the deploy setup).
- Use a real
E2E_TEST_DSN with no tunnel, so the data goes to Sentry.
- Read the
gen_ai spans back through the Sentry API and check them, the same way the *-send-to-sentry apps do.
Add an e2e test app that uses the Workers AI integration the way a real user does, and that sends the data to a real Sentry project.
Current state:
cloudflare-agentmocks theenv.AIbinding and makes no real requests. The SDK sends the spans to the local event proxy (tunnel: localhost:3031), so nothing gets to Sentry.Requirements:
cloudflare-workers-send-to-sentryfor the deploy setup).E2E_TEST_DSNwith no tunnel, so the data goes to Sentry.gen_aispans back through the Sentry API and check them, the same way the*-send-to-sentryapps do.