sandbox-agent/foundry/packages
Nathan Flurry 7b23e519c2 fix(foundry): add Bun idleTimeout safety net and subscription retry with backoff
Bun.serve() defaults to a 10s idle timeout that can kill long-running
requests. Actor RPCs go through the gateway tunnel with a 1s SSE ping,
so this likely never fires, but set idleTimeout to 255 as a safety net.

Subscription topics (app, org, session, task) previously had no retry
mechanism. If the initial connection or a mid-session error occurred,
the subscription stayed in error state permanently. Add exponential
backoff retry (1s base, 30s max) that cleans up the old connection
before each attempt and stops when disposed or no listeners remain.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:35:36 -07:00
..
backend fix(foundry): add Bun idleTimeout safety net and subscription retry with backoff 2026-03-17 18:35:36 -07:00
cli chore(foundry): migrate to actions (#262) 2026-03-16 15:23:59 -07:00
client fix(foundry): add Bun idleTimeout safety net and subscription retry with backoff 2026-03-17 18:35:36 -07:00
desktop chore(foundry): workbench action responsiveness (#254) 2026-03-14 20:42:18 -07:00
frontend fix(foundry): fix runner version 2026-03-17 14:33:13 -07:00
shared feat(foundry): add foundry base sandbox image with sudo, chromium, and dev tooling 2026-03-17 02:09:12 -07:00