Skip to content

fix(mailbox): validate bot list limits#77

Merged
ralyodio merged 1 commit into
profullstack:mainfrom
rissrice2105-agent:fix/mailbot-validate-list-limit
Jul 5, 2026
Merged

fix(mailbox): validate bot list limits#77
ralyodio merged 1 commit into
profullstack:mainfrom
rissrice2105-agent:fix/mailbot-validate-list-limit

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • Reject non-numeric or non-positive limits for the agentmail bot list command
  • Return a JSON error instead of silently falling back to the default page size
  • Add regression coverage for invalid and negative limits

Tests

  • go test ./internal/mailbox

@ralyodio ralyodio merged commit 3a4d7ed into profullstack:main Jul 5, 2026
5 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.

2 participants