Skip to content

Relink milestones whose GitHub sync never landed (GET)

GET
/cron/github-sync-repair
curl --request GET \
--url https://example.com/api/cron/github-sync-repair

Sweeps milestones left in github_sync_state pending or failed past their next-attempt time and completes their GitHub link. Safe to run repeatedly: an existing milestone with the same title is linked rather than duplicated. No-ops when GITHUB_SYNC_REPAIR_USER_ID is unset. Protected by CRON_SECRET via the x-cron-secret header.

Sweep result

Media type application/json
object
ok
required
boolean
skipped
string
milestones
object
linked
integer
created
integer
failed
integer
skipped
integer

Missing or invalid CRON_SECRET