fix(server): deps.ts — extract .number from ForgeIssueRef after #279 port change #280
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!280
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/deps-iterate-issue-refs"
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?
Main is currently broken. Typecheck fails at 5 sites in
deps.ts; server suite regresses from 4 pre-existing fails to 11.Cause
#279 (janitor) changed
ForgePort.getBlockers/getBlockedreturn fromnumber[]toForgeIssueRef[]so janitor's state-aware rules work. #277 (deps) was authored against the old signature and merged without a rebase, sodeps.ts:256, 739, 753, 815now feedForgeIssueRef[]intoSet<number>/edges.push({from: n, ...})— tsc errors, runtime breaks the deps propagator and dependency graph.Fix
Four call sites, each wrapped with
.map((b) => b.number). Deps doesn't need blocker state — only numeric ids. Behavior unchanged from pre-breakage.Checks
bunx tsc --noEmit -p apps/server/tsconfig.json— EXIT=0bun --cwd apps/server test— 1006 pass / 3 pre-existing fails (session JSONL pruning ×3)Merge ASAP — main is red until this lands.