Conversation
- Configure wrangler.toml for worker-build - Add lib.rs with #[event(fetch)] handler for WASM - Update Cargo.toml with cdylib lib target - Add Playwright tests for both Axum and Cloudflare adapters - Add GitHub Actions workflow for Cloudflare deployment - Update .gitignore for .wrangler and build folders - Add tests/playwright README with adapter usage Requires EdgeZero fix/web-time-wasm branch for WASM time compatibility. Requires CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets. Closes #22
33 tasks
aram356
requested changes
Jan 28, 2026
added 4 commits
January 29, 2026 15:39
…d 'edgezero-cli' for local serving, and remove the GitHub Actions workflow.
aram356
requested changes
Feb 6, 2026
…er local serve commands and configuration.
…mocktioneer-on-cloudflare
aram356
approved these changes
Feb 11, 2026
Contributor
aram356
left a comment
There was a problem hiding this comment.
Thanks for moving it forward. I made changes directly and will merge it.
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
Adds Cloudflare Workers deployment support for Mocktioneer via EdgeZero, enabling the mock auction server to run as a WASM-based Cloudflare Worker alongside the existing Axum and Fastly adapters.
Cloudflare Adapter Changes
lib.rswith#[event(fetch)]handler for WASM target, separating the WASM entry point from the nativemain.rsstubcdylib+rlibcrate type in Cargo.toml for worker-build compatibilityedgezero-adapter-cloudflarenon-optional, use feature forwarding (edgezero-adapter-cloudflare/cloudflare) instead ofdep:syntaxedgezero-coredependencyedgezero.tomlto usewrangler build/dev/deploy --cwdinstead of raw cargo/wrangler with--configFastly Adapter Alignment
edgezero-adapter-fastly/fastly) instead ofdep:syntaxedgezero-adapter-fastlynon-optionalwasm32-wasip1in.cargo/config.tomledgezero.tomlto usefastly compute buildinstead of rawcargo buildfastly.toml(remove comments andcloned_fromfield)Workspace & Dependency Updates
jsfeature touuidfor WASM compatibilityrust-toolchain.toml(no longer pinning toolchain at workspace level)Testing & Docs
ADAPTERenv var (axumorcloudflare)@types/nodedev dependency and update Playwright to v1.58.2wrangler publish→wrangler deployOther
.gitignorefor.wrangler/and**/build/directoriesTest plan
cargo build -p mocktioneer-adapter-cloudflare(native stub compiles)npx playwright testintests/playwright/(Axum adapter)ADAPTER=cloudflare npx playwright testintests/playwright/(Cloudflare adapter)wrangler deploy --cwd crates/mocktioneer-adapter-cloudflaresucceeds with configured secretsCloses #22