Home

madison / open-git

public
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(web): let GitHub allocate numbers for linked repositories

2 months ago

a195c63
Authored
Madison7/26/2026, 2:57:21 PM
GitHub owns the number space for a linked repository and only hands out a
number by actually creating the thread, so linked repos create remotely first
and adopt what comes back. Guessing locally would collide.

Parentf293aa4

6 files changed
  • apps/web/db/issues.ts+41−5
  • apps/web/db/pull-requests.ts+70−10
  • apps/web/db/thread-number.test.ts+157−0
  • apps/web/db/thread-number.ts+56−0
  • apps/web/lib/pull-requests/create-pull-request.test.ts+29−0
  • apps/web/lib/pull-requests/create-pull-request.ts+7−1