Repository navigation
docs(deployments): add Cloudflare Workers deployment guide - #988
Closed
KiritoXDone wants to merge 1 commit into
Closed
KiritoXDone wants to merge 1 commit into
KiritoXDone wants to merge 1 commit into
Conversation
KiritoXDone
force-pushed
the
examples/cloudflare-workers-d1
branch
from
October 20, 2026 09:55
433ff3d to
455f104
Compare
Deploy the Burr counter application in Cloudflare Python Workers, with local setup and cloud deployment instructions. Generated-by: OpenAI Codex (GPT-6)
KiritoXDone
force-pushed
the
examples/cloudflare-workers-d1
branch
from
October 20, 2026 10:42
455f104 to
ea6eaa5
Compare
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.
Add a Cloudflare Python Workers deployment guide using the counter application from the merged Vercel example (#605).
Closes #987. Related to #390.
Changes
POST /api/counter, accepting{"number": 5}and returning the serialized Burr State.examples/deployment/cloudflare/with the Python Workers entrypoint, dependency/configuration files, and local/cloud deployment instructions.How I tested this
Installed from a clean directory with no existing dependencies or lock files. Ran the same 15 HTTP smoke checks locally and on Cloudflare, covering successful counts, invalid input, unsupported methods and unknown routes. These checks were run for this submission; no automated test files are included in the PR.
Hosted example:
Response:
{"counter": 5, "counter_limit": 5, "__SEQUENCE_ID": 5, "__PRIOR_STEP": "result"}Existing checks run locally:
tests/integrations/persistersandtests/integrations/test_bip0042_bedrock.py.Notes
@andreahlert, could you review this deployment example?
Checklist
counteraction has no docstring.)