Commit graph

11 commits

Author SHA1 Message Date
Nathan Flurry
a3cf0ce08f Log callback request headers 2026-03-12 23:43:01 -07:00
Nathan Flurry
d0ed0a4402 Add backend request and workspace logging 2026-03-12 23:25:14 -07:00
Nathan Flurry
6f8dc26111 Fix GitHub OAuth callback by removing retry wrapper
OAuth authorization codes are single-use. The appWorkspaceAction wrapper
retries failed calls up to 20 times, but if the code exchange succeeds
and a later step fails, every retry sends the already-consumed code,
producing "bad_verification_code" from GitHub.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:54:44 -07:00
Nathan Flurry
32a48131b5 Cache app workspace actor handle across requests
Every request was calling getOrCreate on the Rivet engine API
to resolve the workspace actor, even though it's always the same
actor. Cache the handle and invalidate on error so retries
re-resolve. This eliminates redundant cross-region round-trips
to api.rivet.dev on every request.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:16:48 -07:00
Nathan Flurry
b90f7fc599 Serve Foundry Rivet routes directly from Bun 2026-03-12 20:50:20 -07:00
Nathan Flurry
9a2c60bf30 Move Foundry HTTP APIs onto /v1 2026-03-12 19:53:52 -07:00
Nathan Flurry
58b19c2253 Move Foundry HTTP APIs out of /api/rivet 2026-03-12 19:46:25 -07:00
Nathan Flurry
436eb4a3a3 Add legacy Foundry GitHub callback route 2026-03-12 19:20:34 -07:00
Nathan Flurry
940e49fcfa Use vanilla Rivet routing in Foundry backend 2026-03-12 18:48:11 -07:00
Nathan Flurry
dbc2ff0682
Improve Foundry auth and task flows (#240) 2026-03-11 18:13:31 -07:00
Nathan Flurry
d75e8c31d1
Rename Foundry handoffs to tasks (#239)
* Restore foundry onboarding stack

* Consolidate foundry rename

* Create foundry tasks without prompts

* Rename Foundry handoffs to tasks
2026-03-11 13:23:54 -07:00