Skip to content

Run local with no Cloudflare dependencies - #344

Open
mjkozicki wants to merge 4 commits into
cloudflare:mainfrom
mjkozicki:local
Open

Run local with no Cloudflare dependencies#344
mjkozicki wants to merge 4 commits into
cloudflare:mainfrom
mjkozicki:local

Conversation

@mjkozicki

@mjkozicki mjkozicki commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Replaces #262

Summary

  • Adds a fully local deployment and development path for Telescope Web while preserving Cloudflare Workers as a supported production target.
  • Adds a standalone Node.js adapter for local development and deployment.
  • Uses local SQLite for test metadata and filesystem storage for result artifacts.
  • Retains D1, R2, and optional Workers AI for Cloudflare deployments.
  • Introduces shared storage interfaces so routes work across both runtimes.
  • Removes Prisma in favor of direct SQLite and D1 access.
  • Updates the CLI uploader to send the required Origin header and source=cli.
  • Updates scripts, documentation, generated Worker types, and deployment workflows.

Local usage

No Cloudflare account, Wrangler login, bindings, or migrations are required.

npm run dev -w packages/telescope-web

Cloudflare usage

npm run build:cloudflare -w packages/telescope-web

Closes #257.

Testing against telescopetest.io is needed.

@sergeychernyshev

Copy link
Copy Markdown
Member

I assume this supersedes #262, right?

@mjkozicki

mjkozicki commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Yep. I didn't think I can close it though. I'll work through the checks.

@sergeychernyshev

Copy link
Copy Markdown
Member

Looks like some tests are failing. Can you take a look and fix them?

@sergeychernyshev

Copy link
Copy Markdown
Member

Also, why did you choose to remove Prisma?

How do we support for schema updates going forward?

@mjkozicki

Copy link
Copy Markdown
Contributor Author

Also, why did you choose to remove Prisma?

How do we support for schema updates going forward?

Missed putting it back after I simplified without it. Will readd.

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.

Publish telescope-ui to npm

2 participants