Skip to content

Conversation

@emily-shen
Copy link
Contributor

@emily-shen emily-shen commented Jun 18, 2025

for #9360

Centralizing some of these pieces will make it easier to add free tier
limiting
Provided via a new optional param binding. When provided, it contains
info about free tier limiting for this account.
Returns an html page (included as direct module, via esbuild) with a 429
status code, mirroring the current free tier limiting behavior. It also
sets a new field in our analytics so we can observe free tier invocation
denials.

This page can evolve as we need it to, this is just my first pass at the
response.
There's no loader configured for html files by default in wrangler it
seems. So rather than mess with loaders or a custom build, inlining this
page is easy enough
@changeset-bot
Copy link

changeset-bot bot commented Jun 18, 2025

🦋 Changeset detected

Latest commit: 4c257b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/workers-shared Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 18, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@9646

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@9646

miniflare

npm i https://pkg.pr.new/miniflare@9646

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@9646

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@9646

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@9646

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@9646

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@9646

wrangler

npm i https://pkg.pr.new/wrangler@9646

commit: 4c257b0

@emily-shen emily-shen closed this Jun 20, 2025
@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants