Skip to content

fix(httpapi): expose unavailable v2 session mutations#28624

Merged
nexxeln merged 1 commit into
devfrom
nxl/v2-session-unavailable-errors
May 21, 2026
Merged

fix(httpapi): expose unavailable v2 session mutations#28624
nexxeln merged 1 commit into
devfrom
nxl/v2-session-unavailable-errors

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented May 21, 2026

summary

  • replace fake v2 prompt/compact/wait successes with a typed session operation-unavailable failure
  • map unfinished v2 session mutations to public 503 ServiceUnavailableError responses
  • document and test the new OpenAPI error contracts

testing

  • bun test test/server/httpapi-session.test.ts test/server/httpapi-public-openapi.test.ts
  • bun typecheck
  • bun test ./test/server/httpapi-exercise/index.ts
  • bun turbo typecheck

@nexxeln nexxeln merged commit f5d20c5 into dev May 21, 2026
12 checks passed
@nexxeln nexxeln deleted the nxl/v2-session-unavailable-errors branch May 21, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant