refactor(deps): migrate to adapter factory (MF-10) #319
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mf10-migrate-deps"
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?
Summary
new ForgejoAdapter(token)inapps/server/src/domain/workflow/deps.tswithcreateForgeAdapterForRepo(repo, token)fromadapter-factory.tsso the issue-dependency propagator,/issues/ready,buildIssueDepsGraph, andjust deps-backfillhonour each repo's forge binding (MF-4 / #295).defaultListIssuesDI seam and the in-doc example). No behaviour change for pure-forgejo repos; GitHub + GitLab repos now get the right adapter without further plumbing.ListIssuesFnstill plugs in without modification.Cleanup of MF-8 (#299) out-of-scope list — migrates deps.ts.
Test plan
apps/server/src/domain/workflow/deps.test.ts— 61/61 passbun x turbo run typecheck— clean across all 4 packagesbun x biome check .— clean (299 files)🤖 Generated with Claude Code