You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
desktop-backend: Stripe webhook 500s and stale URL 503s #7282
Two distinct error patterns on desktop-backend Cloud Run service in the last 24h:
503s on screen-activity sync via stale URL
500s on Stripe webhook endpoint
Evidence (May 12-13, 2026)
1. Screen-activity 503s
Endpoint: /v1/screen-activity/sync
URL: desktop-backend-hhibjajaja-uc.a.run.app (old auto-generated Cloud Run URL)
HTTP 503 (Service Unavailable)
Average latency: 0.8s (fast rejection, not timeout)
The old URL pattern (hhibjajaja-uc.a.run.app) is a legacy Cloud Run auto-generated domain. Clients hitting this URL get 503s — likely because traffic routing has moved to the new URL format (desktop-backend-208440318997.us-central1.run.app).
Root cause: Some desktop clients are still pointing to the old Cloud Run URL. When Cloud Run recycles revisions, the old URL may become unreachable.
Fix: Identify which client version hardcodes the old URL and update it, or ensure both URLs route to the active revision.
Activity
fix(backend): Stripe webhook 500s on deleted users (BasedHardware#7284)
beastoin commentedon May 14, 2026
Resolved — Fix Deployed and Confirmed
PR #7284 merged and deployed to production. Post-deployment monitoring (3h, 6 checkpoints) confirms the fix is working:
subscription.deletedevents handled cleanly (the exact event type that caused the original crashes)The Stripe webhook 500s on deleted/missing Firestore users are eliminated.
by AI for @beastoin
Supersedes #22836: fix(payment): guard stripe webhook against null me…