EdgeSpark has no local development server. Today, new public projects also do not have a separate staging environment yet, soDocumentation Index
Fetch the complete documentation index at: https://docs.edgespark.dev/llms.txt
Use this file to discover all available pages before exploring further.
edgespark deploy updates the current live project environment.
That changes the agent workflow:
- use
edgespark deploy --dry-runaggressively - keep live deploys small and intentional
- do not stop for routine deploys; stop only when the live impact is clearly dangerous or still not understood
The deploy command
- Schema sync — refreshes generated files in
server/src/__generated__/ - Type check — runs
tsc --noEmitand fails on any error - Build — bundles your code with esbuild into
dist/bundle.js - Route analysis — scans your routes and shows a categorized summary
- Deploy — uploads the bundle and makes it live on the current default environment
Read the route analysis first
Before uploading, the deploy command shows every route categorized by its auth convention. Read this carefully because it is your last safe checkpoint before a live deploy:Dry run first
Use--dry-run to run build validation without uploading anything:
- you have not yet validated the route summary
- the change touches auth, migrations, storage, or secrets
- the deploy is risky enough that human confirmation is still needed
Test deployed routes carefully
After a real deploy, test with your project URL:Read logs immediately after requests
console.info, console.warn, console.error, request summaries, and unhandled exceptions from your handlers.
For longer debugging sessions, it is usually better to keep the stream running in the background and inspect a file:
.logs/edgespark.log between deploys and requests to understand the latest runtime behavior. That works better than staying attached to a continuously streaming terminal session. See View EdgeSpark logs for the full workflow.
Current safe loop
The loop today is:Staging is coming soon
Public staging support is planned but not available yet. When it lands, this page will expand to cover isolated staging URLs and promotion workflows.See also
Declarative workflow
How to pull schema and write code against generated types before deploying.
Minimal human input
Keep the deploy loop seamless and stop only when a user action is truly required.
Testing
Unit testing pure functions and running deployed integration tests.
Handling errors
How to read deploy errors, type errors, and SQL validation failures.