mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-04 21:21:27 +01:00
Every repository catalog read (each agent run's workspace setup) and every scheduled 15-minute health check refreshed a managed GitHub grant and then re-sent POST /v1/connector/webhook-bindings for every installation, even when nothing changed. Runs that start on the hour sent that burst to Cloud in the same minute, exhausting connector lock capacity (PAPERCLIP-CLOUD-BACKEND-8M) and pushing the background backfill page past its statement timeout (PAPERCLIP-CLOUD-BACKEND-87). The refresh now re-registers bindings only when the installation set changed or an earlier binding sync is still owed. A person's health check and the credential continuity sweep keep re-registering every binding, so manual repair and periodic re-verification are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>