Skip to content

feat(example): bootstrap demo ships to Cloudflare end-to-end#160

Merged
suleimansh merged 1 commit into
mainfrom
feat/bootstrap-demo-cloudflare
Jul 2, 2026
Merged

feat(example): bootstrap demo ships to Cloudflare end-to-end#160
suleimansh merged 1 commit into
mainfrom
feat/bootstrap-demo-cloudflare

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #158. Builds on the now-merged cloudflareTarget (#159).

Turns the bootstrap-quickstart capstone into a showable scope-to-deployed-app run using the real cloudflareTarget adapter.

  • Offline (start) — the deploy step now runs the real cloudflareTarget over a simulated wrangler (via FakeRunner.onExec), so the whole flow (scope → architect → build → loop → deploy) ends at a live-looking Workers URL with no credentials. Deterministic and testable.
  • Live (start:live) — env-gated: with CLOUDFLARE_API_TOKEN set it ships for real (install → build → wrangler → live URL); without it, falls back to planOnlyTarget so the run still works with only a model key.
  • README documents both, plus the honest caveat that a real ship needs the scaffold to build (what the loop / opt-in serveCheck are for).

Verification: offline pnpm start prints the full narration ending in deploy: SSR → cloudflare, url https://orders-app.gemstack.workers.dev; pnpm test 2/2 + typecheck green. Private example, no changeset. Live Cloudflare ship is user-run (needs a token).

Wire the real cloudflareTarget adapter into the bootstrap-quickstart capstone.
Offline: run it over a simulated wrangler (FakeRunner onExec) so the whole flow
ends at a live-looking Workers URL with no credentials. Live: env-gate a real
Cloudflare deploy when CLOUDFLARE_API_TOKEN is set, else planOnlyTarget.

Closes #158
@suleimansh suleimansh added enhancement New feature or request priority: medium Worth doing, not urgent labels Jul 2, 2026
@suleimansh suleimansh self-assigned this Jul 2, 2026
@suleimansh suleimansh merged commit 5d60852 into main Jul 2, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/bootstrap-demo-cloudflare branch July 2, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI framework: showable end-to-end bootstrap demo (scope to deployed app)

1 participant