Skip to content

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

Merged
s1gr1d merged 5 commits into
developfrom
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 into
developfrom
sig/hono-e2e-cf

Conversation

@s1gr1d

@s1gr1ds1gr1d commented Apr 20, 2026

Copy link
Copy Markdown
Member

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 JPeer264April 20, 2026 14:59
@github-actions

github-actionsBot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser25.88 kB--
@sentry/browser - with treeshaking flags24.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 flags72.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/react27.62 kB--
@sentry/react (incl. Tracing)46.05 kB--
@sentry/vue30.71 kB--
@sentry/vue (incl. Tracing)45.62 kB--
@sentry/svelte25.89 kB--
CDN Bundle28.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 - uncompressed83.4 kB--
CDN Bundle (incl. Tracing) - uncompressed134.3 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed87.55 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed137.72 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed211.12 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed251.75 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed255.14 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed264.66 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed268.05 kB--
@sentry/nextjs (client)48.58 kB--
@sentry/sveltekit (client)44.22 kB--
@sentry/node-core58.02 kB+0.02%+7 B 🔺
@sentry/node174.89 kB+0.01%+7 B 🔺
@sentry/node - without tracing97.98 kB+0.02%+13 B 🔺
@sentry/aws-serverless115.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
MemberAuthor

Choose a reason for hiding this comment

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

another one

@JPeer264JPeer264 left a comment

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.

LGTM.

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

@s1gr1d@JPeer264