mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-22 11:54:35 +01:00
Paperclip Cloud answers the tenant portfolio read with 429 when it throttles a stack. The proxy turned that into a 502 and reported it to Sentry as a server fault (PAPERCLIP-BACKEND-70). Return 429 with Cloud's bounded Retry-After hint instead, log the bounded diagnostics, and keep the throttled answer out of the portfolio cache. Other upstream failures keep the 502 contract and crash report. Fixes PAPERCLIP-BACKEND-70 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>