feat(db): extract dead_letter_prs + watched_repos to Drizzle (#842) #860
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!860
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "code-lead/842"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Splits the small
dead_letter_prsandwatched_reposaggregates out of thedb.tsgod-file onto Drizzle (bridge style — snake_case TS field names mirror SQL column names).Test plan
bun x turbo run typecheckcleanbun x @biomejs/biome@^2 check .no new errorsbun x turbo run test— 3124 pass / 0 fail (incl. new round-trip Drizzle ↔ raw)Closes #842
Schemas correct, Drizzle bridge consistent, round-trip tests cover both aggregates.
event-handlers.tsaudited — imports onlyclearPrDependencies/getPrDependencies/getSettings, none of the moved fns. All callers updated, CI green.