mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
Cloudflare generates no preview URLs for a Worker that implements a Durable Object, so every --preview-alias upload of orca-sandbox-control-dev 404ed. The runner DO moves to orca-sandbox-build-runner-dev (wrangler.build-runner.dev.jsonc); the control plane binds it with script_name and deletes its own class (migration env-build-runner-v2). The runner only keeps the alarm: each step calls back into the control plane's BuildTicker RPC entrypoint, which runs the same tickBuild with the control plane's D1, provider and secrets, so nothing is duplicated.
26 lines
695 B
JSON
26 lines
695 B
JSON
{
|
|
"name": "@orca-cloud/sandbox-control",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wrangler dev -c wrangler.jsonc -c wrangler.build-runner.jsonc --port 8791 --ip 127.0.0.1",
|
|
"db:migrate:local": "wrangler d1 migrations apply SANDBOX_DB --local",
|
|
"golden-image": "tsx image/build-golden-image.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"jose": "^6.2.13",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^5.20261103.1",
|
|
"@types/node": "^24.19.2",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^5.0.5",
|
|
"wrangler": "^4.157.0"
|
|
}
|
|
}
|