Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

fix(db): skip repos on forges this build doesn't support

2 months ago

2941fbb
Authored
grim8/17/2026, 5:42:05 AM
A database outlives any one build. Rows written while another forge was
live (a branch, a rollback, a half-finished migration) were taking down
every org-scoped page: `forgeSchema.parse` threw on them.

Coercing to github mislabels someone else's repo; throwing breaks the page.
Skipping is the honest third option — no adapter means no token, no reads
and no actions, so listing the repo would promise what the build can't do.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Parentbb640fd

1 file changed
  • packages/db/src/services/organizations.ts+44−21