Skip to content

fix(api): unify recipient cap errors#484

Merged
jiashuoz merged 2 commits into
mainfrom
codex/recipient-cap-error
Jul 15, 2026
Merged

fix(api): unify recipient cap errors#484
jiashuoz merged 2 commits into
mainfrom
codex/recipient-cap-error

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Summary

  • route all outbound recipient-count violations through the documented 400 too_many_recipients envelope
  • count approval overrides after merging with the stored held draft
  • keep the combined 50-recipient cap discoverable in OpenAPI descriptions and regenerate both SDK bases

Test plan

  • go test ./internal/httpapi -count=1
  • go test ./internal/agent -run TestApprovePendingCore -count=1
  • make generate-check
  • npm run build --workspace @e2a/sdk

@jiashuoz jiashuoz marked this pull request as ready for review July 15, 2026 05:54
@jiashuoz jiashuoz merged commit 7135264 into main Jul 15, 2026
18 checks passed
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