Skip to content

Conversation

@pi0
Copy link
Member

@pi0 pi0 commented Jul 2, 2025

This PR adds a freeze on app for adding new routes and config after server start to resolve concerns of #1139 but it is also essential for next steps if we want to support server JIT preotimizations and native runtime (Bun) routes integration to speedup, if not frozen it will be a breaking change for users.

(this is not a security mechanism and can be easily bypassed, only DX to make sure right usage)

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 2, 2025

Deploying h3dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: cbaae51
Status: ✅  Deploy successful!
Preview URL: https://4e316ba5.h3dev.pages.dev
Branch Preview URL: https://feat-freeze-serve.h3dev.pages.dev

View logs

@codecov
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

Attention: Patch coverage is 11.11111% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/_entries/_common.ts 16.66% 5 Missing ⚠️
src/_entries/bun.ts 0.00% 2 Missing ⚠️
src/_entries/cloudflare.ts 0.00% 2 Missing ⚠️
src/_entries/deno.ts 0.00% 2 Missing ⚠️
src/_entries/node.ts 0.00% 2 Missing ⚠️
src/_entries/service-worker.ts 0.00% 2 Missing ⚠️
src/_entries/generic.ts 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@pi0 pi0 merged commit ab09098 into main Jul 2, 2025
4 of 5 checks passed
@pi0 pi0 deleted the feat/freeze-serve branch July 2, 2025 09:13
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.

1 participant