fix(api): the GitHub install callback runs the initial sync directly in development

Merged
SA
2mo ago
+18-9

On the dev stack the install callback queued the initial sync through QStash, which cannot reach a localhost API ("user not found in this region"), so an install ended on ?warning=sync_queue_failed with no repositories (Satya hit this connecting the dev App today; I ran the job by hand). triggerSync already calls the job endpoint directly in development; the callback now does the same. Production path unchanged.

https://claude.ai/code/session_01FK6rLzBEUiHHXZWNmpQ2BP


Summary by cubic

Fixes the GitHub install callback in development so initial sync runs directly instead of through QStash, which cannot reach a localhost API and caused dev installs to fail with sync_queue_failed and no repositories. Production behavior is unchanged; the callback now matches what triggerSync already does in development.