Skip to content

Return JSON 429 for Keeper and local rate limits in service mode#2232

Merged
sk-keeper merged 1 commit into
releasefrom
fix/service-throttle-json-429
Jul 20, 2026
Merged

Return JSON 429 for Keeper and local rate limits in service mode#2232
sk-keeper merged 1 commit into
releasefrom
fix/service-throttle-json-429

Conversation

@amangalampalli-ks

Copy link
Copy Markdown
Contributor

Summary

Service mode now returns clear JSON HTTP 429 responses for Keeper throttling and the local Flask rate limiter, matching Commander’s retry behavior (fail_on_throttle left off).

Changes

  • Map Keeper throttled / edge 429 and service rate limits to JSON 429 with result_code of throttled, 429, or rate_limited
  • Strip retry-log noise from error messages
  • Add unit tests and README notes for the 429 contract

@amangalampalli-ks amangalampalli-ks self-assigned this Jul 20, 2026
@amangalampalli-ks
amangalampalli-ks marked this pull request as ready for review July 20, 2026 13:08
@sk-keeper
sk-keeper merged commit b3d5e27 into release Jul 20, 2026
4 checks passed
@sk-keeper
sk-keeper deleted the fix/service-throttle-json-429 branch July 20, 2026 15:57
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