refactor(board-view): migrate to adapter factory (MF-10) #316
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!316
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mf10-migrate-board"
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/views/board.tswithcreateForgeAdapterForRepo(repo, token)frominfrastructure/forge/adapter-factory.PROD_DEPS, plushandleBoardAssignandhandleBoardReroute). Each site already hasrepoin scope, so the swap is mechanical.board.tsso board derivation and drag-to-assign route to the rightForgePortinstead of silently hitting Forgejo for github/gitlab repos.Test plan
bun run --filter @claude-hooks/server qa— typecheck clean, same 4 pre-existing failures as main (session JSONL pruning, foreman session CRUD); no new regressions.cd apps/server && bun test src/domain/views/board.test.ts— 11 pass / 0 fail.bun x biome check apps/server/src/domain/views/board.ts— clean./board+POST /board/assign+POST /board/rerouteagainst the live Forgejo repo once merged; verify the same 200 responses.Refs: #299 (MF-8), #313.