Skip to content

test(hono): Add E2E test for Hono on Cloudflare, Node and Bun#20406

Merged
s1gr1d merged 5 commits intodevelopfrom
sig/hono-e2e-cf
Apr 21, 2026
Merged

test(hono): Add E2E test for Hono on Cloudflare, Node and Bun#20406
s1gr1d merged 5 commits intodevelopfrom
sig/hono-e2e-cf

Conversation

@s1gr1d
Copy link
Copy Markdown
Member

@s1gr1d s1gr1d commented Apr 20, 2026

Adds a minimal E2E test setup. More tests are added later on - to keep reviewing this easier.

Adds a testing matrix where each test uses a different entry point. This way, only one E2E application needs to be added and we have an easier time keeping the tests and functionality in sync across runtimes.

Closes #20403
Closes #20404
Closes #20405

Closes #20398

@s1gr1d s1gr1d requested a review from JPeer264 April 20, 2026 14:59
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 20, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 25.88 kB - -
@sentry/browser - with treeshaking flags 24.35 kB - -
@sentry/browser (incl. Tracing) 43.81 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 45.5 kB - -
@sentry/browser (incl. Tracing, Profiling) 48.73 kB - -
@sentry/browser (incl. Tracing, Replay) 82.98 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 72.5 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 87.67 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 99.93 kB - -
@sentry/browser (incl. Feedback) 42.7 kB - -
@sentry/browser (incl. sendFeedback) 30.55 kB - -
@sentry/browser (incl. FeedbackAsync) 35.55 kB - -
@sentry/browser (incl. Metrics) 27.16 kB - -
@sentry/browser (incl. Logs) 27.29 kB - -
@sentry/browser (incl. Metrics & Logs) 27.98 kB - -
@sentry/react 27.62 kB - -
@sentry/react (incl. Tracing) 46.05 kB - -
@sentry/vue 30.71 kB - -
@sentry/vue (incl. Tracing) 45.62 kB - -
@sentry/svelte 25.89 kB - -
CDN Bundle 28.55 kB - -
CDN Bundle (incl. Tracing) 44.94 kB - -
CDN Bundle (incl. Logs, Metrics) 29.93 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 46.03 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 68.89 kB - -
CDN Bundle (incl. Tracing, Replay) 81.96 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 83.03 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 87.46 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 88.55 kB - -
CDN Bundle - uncompressed 83.4 kB - -
CDN Bundle (incl. Tracing) - uncompressed 134.3 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 87.55 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 137.72 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 211.12 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 251.75 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 255.14 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 264.66 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 268.05 kB - -
@sentry/nextjs (client) 48.58 kB - -
@sentry/sveltekit (client) 44.22 kB - -
@sentry/node-core 58.02 kB +0.02% +7 B 🔺
@sentry/node 174.89 kB +0.01% +7 B 🔺
@sentry/node - without tracing 97.98 kB +0.02% +13 B 🔺
@sentry/aws-serverless 115.21 kB +0.02% +18 B 🔺

View base workflow run

expect(event.exception?.values?.[0]?.value).toBe('HTTPException 502');
});

// TODO: 401 and 404 HTTPExceptions should not be captured by Sentry by default,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

q: Is this some todo for this PR or another one?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

another one

Copy link
Copy Markdown
Member

@JPeer264 JPeer264 left a comment

Choose a reason for hiding this comment

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

LGTM.

@s1gr1d s1gr1d changed the title test(hono): Add E2E test for Hono on Cloudflare test(hono): Add E2E test for Hono on Cloudflare, Node and Bun Apr 21, 2026
@s1gr1d s1gr1d enabled auto-merge (squash) April 21, 2026 12:58
@s1gr1d s1gr1d merged commit e4e6c01 into develop Apr 21, 2026
135 of 137 checks passed
@s1gr1d s1gr1d deleted the sig/hono-e2e-cf branch April 21, 2026 13:06
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.

E2E test for Hono on Bun E2E test for Hono on Node E2E test for Hono on Cloudflare [Hono] Add E2E tests

2 participants