sandbox-agent/foundry
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
..
docker fix(foundry): fix runner version 2026-03-17 14:33:13 -07:00
e2e Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
memory Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
packages fix(foundry): add Bun idleTimeout safety net and subscription retry with backoff 2026-03-17 18:35:36 -07:00
research chore(foundry): workbench action responsiveness (#254) 2026-03-14 20:42:18 -07:00
screenshots Fix Foundry UI bugs: org names, sessions, and repo selection (#250) 2026-03-13 20:48:22 -07:00
scripts feat(foundry): add foundry base sandbox image with sudo, chromium, and dev tooling 2026-03-17 02:09:12 -07:00
AGENT-HANDOFF.md chore(foundry): migrate to actions (#262) 2026-03-16 15:23:59 -07:00
AGENTS.md Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
CLAUDE.md fix(foundry): fix runner version 2026-03-17 14:33:13 -07:00
compose.dev.yaml feat(foundry): add foundry base sandbox image with sudo, chromium, and dev tooling 2026-03-17 02:09:12 -07:00
compose.mock.yaml feat(foundry): add foundry base sandbox image with sudo, chromium, and dev tooling 2026-03-17 02:09:12 -07:00
compose.preview.yaml chore(foundry): workbench action responsiveness (#254) 2026-03-14 20:42:18 -07:00
CONTRIBUTING.md Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
FOUNDRY-CHANGES.md chore(foundry): migrate to actions (#262) 2026-03-16 15:23:59 -07:00
foundry-cloud.md Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
railway.toml Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
README.md chore(foundry): workbench action responsiveness (#254) 2026-03-14 20:42:18 -07:00
tsconfig.base.json Remove frontend errors and app passthrough (#251) 2026-03-13 21:14:31 -07:00

Foundry

TypeScript organization task system powered by RivetKit actors, SQLite/Drizzle state, and OpenTUI.

Documentation: see ../docs/ in the repository root

Quick Install

curl -fsSL https://bun.sh/install | bash
pnpm install
pnpm -w build

Repository Goals

  • Simple: There's one screen. It has everything you need. You can use it blindfolded.
  • Fast: No waiting around.
  • Collaborative: Built for fast moving teams that need code reviewed & shipped fast.
  • Pluggable: Works for small side repositories to enterprise teams.

License

MIT