sandbox-agent/foundry/packages/backend
Nathan Flurry e7b9ac6854 fix(foundry): move Better Auth operations from queues to actions to fix production auth timeout
The org actor's workflow queue is shared with GitHub sync, webhooks, task
mutations, and billing (20+ queue names processed sequentially). During
OAuth callback, auth operations would time out waiting behind long-running
queue handlers, causing Better Auth's parseState to redirect to
?error=please_restart_the_process.

Auth operations are simple SQLite reads/writes with no cross-actor side
effects, so they are safe to run as actions that execute immediately
without competing in the queue.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 21:26:13 -07:00
..
src fix(foundry): move Better Auth operations from queues to actions to fix production auth timeout 2026-03-16 21:26:13 -07:00
test chore(foundry): migrate to actions (#262) 2026-03-16 15:23:59 -07:00
CLAUDE.md fix(foundry): move Better Auth operations from queues to actions to fix production auth timeout 2026-03-16 21:26:13 -07:00
package.json SDK: Add ensureServer() for automatic server recovery (#260) 2026-03-15 20:29:28 -07:00
tsconfig.json Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00
vitest.config.ts Rename Foundry handoffs to tasks (#239) 2026-03-11 13:23:54 -07:00