Add opt-in Alchemy deployment for the Cloudflare host - #1510
Open
magoz wants to merge 2 commits into
Open
Conversation
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.
What
Adds an opt-in Alchemy v2 deployment path for the existing Cloudflare host while keeping Wrangler as the default:
host-cloudflare-alchemyworkspace so Alchemy can use its required Effect version without upgrading Executor's runtime Effect dependency;validationcommands, adoption-aware production commands, shared remote-state bootstrap/authentication helpers, and explicit adoption safeguards;EXECUTOR_SECRET_KEY/keep_bindingsrisks.Cloudflare Access remains an external prerequisite with the pinned Alchemy release. Managed OAuth Access application support is being added upstream in alchemy-run/alchemy#1023.
Verification
bun run format:checkbun run lintbun run typecheckbun run --cwd apps/host-cloudflare test(23 tests)bun run --cwd apps/host-cloudflare buildplan:alchemy:validation: D1, R2, and Worker all no-opTURBO_TEST_CONCURRENCY=4 bun run testexits successfully. Its unchangedapps/cloud/src/account/org-api-key-revoke.node.test.tscurrently reports three pre-existing assertions caused by calls that omit the required organization selector header; the scoped Cloudflare host suite is green.