getsentry / getsentry/sentry-javascript

Investigate Astro middleware on Cloudflare Workers

Open
#19,780 2 comments 0 reactions 0 assignees View on GitHub
Astro Cloudflare Workers Task
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Description

It seems that the Astro middleware is not working properly when running on Cloudflare Workers. This was found when checking against Astro 6 on Cloudflare [a lot of attributes got dropped](https://github.com/getsentry/sentry-javascript/commit/bb891e6cef64c3cbc2adea4a402a69d85ed03963).

We need to investigate and double check if this `addMiddleware` is getting added on Cloudflare Workers: https://github.com/getsentry/sentry-javascript/blob/bb891e6cef64c3cbc2adea4a402a69d85ed03963/packages/astro/src/integration/index.ts#L241-L244

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.