fix(worker): route application paths through gateway - #661
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
life-ustc | 9bee8ea | Jul 26 2026, 07:13 PM |
|
E2E HTML report is ready: https://life-ustc.github.io/e2e-snapshot-artifacts/reports/30216347689/index.html |
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
## [1.77.20](v1.77.19...v1.77.20) (2026-07-26) ### Bug Fixes * **worker:** route application paths through gateway ([#661](#661)) ([06f45a1](06f45a1))
|
🎉 This PR is included in version 1.77.20 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Cloudflare production metadata showed
raw_run_worker_first: false, and live unmatched requests bypassed the outer gateway even though the direct 404 branch was deployed. Selectiveassets.run_worker_firstguarantees the gateway runs for app routes without charging Worker CPU for static bundles and images.Verification
bunx vitest run(254 files, 1568 tests)bun run buildbunx wrangler deploy --dry-run --config wrangler.jsonc/_app/version.jsonand/images/icon.pngremain static responsesbunx biome check .(passes with one pre-existing unused-parameter warning)