Egress proxy secret routes (custom-base-URL keys, OPENAI_BASE_URL) hung until the client gave up (dev, proxy mode, 2026-11-15). The Worker was invoked (tail: `canceled`, wall 65 s, CPU 3 ms, no log line) and was waiting, never reaching its upstream fetch. GitHub routes on the same sandbox answered. An isolate serves many requests, and a promise one request starts is bound to that request's I/O. If that request is cancelled while the promise waits on D1, KMS or fetch, the promise never settles, and every later request awaiting the same cached promise hangs. Several module-level caches shared in-flight promises: the KMS keyring (forever, per isolate), decrypted provider keys and account credentials (per minute), the relay's ID token mint, the App's pending-request owners, create timing and share-link lookups. They now cache settled values only (settled-cache.ts and the same pattern inline). A request that misses loads for itself; a cold isolate may run a few duplicate loads.
sandbox-control
The Orca Cloud control plane Worker: workspace lifecycle, the egress credential proxy, environment builds and the golden image. Its routes are listed at the top of src/index.ts.
Typecheck
pnpm typecheck runs scripts/typecheck.mjs. It fails on any TypeScript diagnostic in this package's own files, and on any diagnostic without a file (a config error).
Why a raw tsc --noEmit shows about 247 diagnostics. The Worker imports desktop code from src/shared (wire types, parsers), so tsc checks those files under this package's options:
noUncheckedIndexedAccess, which the desktop doesn't use, accounts for about 239;- the Workers globals, which lack the desktop's
windowandMessageChannel, account for the rest.
TypeScript can't apply options per file. Those files are type-checked by the root (desktop) typecheck under their own config. So the script counts them, and prints the count on every run so a jump is visible, but doesn't fail on them.
Why there's an xterm stub. Desktop settings types import ITheme from @xterm/xterm, whose typings pull in the DOM library. DOM's Headers, streams and crypto clash with @cloudflare/workers-types. tsconfig.json paths maps that import to types/xterm-theme.d.ts, the theme shape only.