Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: feat(cloudflare): Add basic cloudflare package and tests #12861

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

AbhiPrasad
Copy link
Member

resolves #12685

Initial attempt: #12733

This PR introduces @sentry/cloudflare, our package for cloudflare pages and cloudflare workers. It also adds a basic test with miniflare , the local simulator for cloudflare workers.

In the next step, I'll add basic SDK initialization + error monitoring for the cloudflare pages use case.

@AbhiPrasad AbhiPrasad requested a review from a team July 10, 2024 21:32
@AbhiPrasad AbhiPrasad self-assigned this Jul 10, 2024
@AbhiPrasad AbhiPrasad requested review from stephanie-anderson and Lms24 and removed request for a team July 10, 2024 21:32
@AbhiPrasad AbhiPrasad force-pushed the abhi-cloudflare-init branch from 6d87b6c to b29a562 Compare July 11, 2024 01:33
@AbhiPrasad AbhiPrasad requested a review from mydea July 11, 2024 13:06
@AbhiPrasad AbhiPrasad force-pushed the abhi-cloudflare-init branch from b29a562 to 8fb1759 Compare July 11, 2024 13:49
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀


describe('index', () => {
test('simple test', async () => {
const mf = new Miniflare({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great idea with the local simulation!

@AbhiPrasad AbhiPrasad merged commit 17bf308 into develop Jul 11, 2024
121 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-cloudflare-init branch July 11, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cloudflare-workers basic package
2 participants