You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(webapp): migrate snapshot-url PUT to createActionApiRoute
Address Devin findings on PR #3679:
- Migrate the PUT action handler from the deprecated `authenticateApiRequest`
to `createActionApiRoute` so it picks up `allowJWT: true` symmetrically
with the GET loader. Without this, the SDK's run-scoped JWT (which is
how chat.agent workers authenticate against the API) was rejected on
every snapshot upload — the PR worked in tests against the dev API key
but would have 401'd in real run-scoped contexts.
- Both PUT and GET now go through the same builder pattern with the same
config (`findResource`, CORS, JWT), eliminating the style drift the
initial implementation introduced.
0 commit comments