Open
Conversation
Port the original React+Go pilot web app to a modern SvelteKit application deployed on Cloudflare Workers, replacing Fly Sprites with Cloudflare Sandbox SDK for per-user isolated execution environments. Stack: - SvelteKit 5 with Svelte 5 runes ($state, $derived, $props) - Cloudflare Workers with adapter-cloudflare - Cloudflare D1 for database, KV for sessions - Cloudflare Sandbox SDK for container-based task execution - TailwindCSS with light/dark theme support Features ported from original pilot: - OAuth authentication (Google + GitHub) - Kanban board with 4 columns (Backlog, In Progress, Blocked, Done) - Task CRUD with execution in sandbox containers - Command palette (Cmd+K) for quick navigation - Project management with settings page - Task detail panel with logs and terminal access - Responsive design with status-colored indicators Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Set ENVIRONMENT=development in wrangler vars so dev mode auth bypass works - Create dev user in D1 on first request to avoid foreign key errors - Add .dev.vars to gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes Svelte 5 ssr_context.r error caused by store subscriptions running during server-side rendering without a component context. The pilot is a client-side SPA that requires browser APIs and auth. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace writable/derived stores with $state objects in .svelte.ts files. The old store pattern caused ssr_context errors and onMount not firing with ssr=false. Using $effect instead of onMount for initialization resolves the client-side hydration issue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Stack
Test plan
cd pilot && npm install && npm run buildsucceedsnpm run dev🤖 Generated with Claude Code