Skip to content

chore: Standardize cf workbench integration#15

Merged
eersnington merged 2 commits into
mainfrom
chore/workbench-cloudflare-workflows
Jul 10, 2026
Merged

chore: Standardize cf workbench integration#15
eersnington merged 2 commits into
mainfrom
chore/workbench-cloudflare-workflows

Conversation

@eersnington

Copy link
Copy Markdown
Owner

Reorganizing a lot of things within the workbench mainly to reduce slop code and maintaining a single source of truth.

  • Standardized both benches on GET/POST /api/workflows/:key
  • Vite now owns complete Sideffect behavior coverage workflows.e2e.test.ts
  • TanStack covers framework delegation, API exposure, and native workflow coexistence: integration.e2e.test.ts
  • Discovery/build coverage is separated in each bench
  • Shared only mechanical server/polling code in workflow-http.ts
  • Renamed shared case metadata to workflow-cases.ts
  • Native workflow implementations remain explicit in both hosts intentionally (due to the requirement of bindings being unique in a Cloudflare Account)

Validation:

  • bun run check --fix — passed
  • bun run test — 67 tests passed
  • Vite E2E — 17 tests passed
  • TanStack E2E — 10 tests passed
  • Both builds and Wrangler dry-runs passed

@eersnington eersnington marked this pull request as ready for review July 10, 2026 13:36
@eersnington eersnington merged commit 24d2e93 into main Jul 10, 2026
3 checks passed
@eersnington eersnington deleted the chore/workbench-cloudflare-workflows branch July 10, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant