fix(issues): default list endpoint to include blockedBy graph (GRO-2096) #18

Closed
Flea Flicker wants to merge 1 commits from gb_flea/paperclip:fix/gro-2096-blockedby-default into dev

1 Commits

Author SHA1 Message Date
Flea Flicker 27296ccbe7 fix(issues): default list endpoint to include blockedBy graph (GRO-2096)
GET /api/companies/{companyId}/issues now returns the blockedBy graph by
default, matching GET /api/issues/{id}. The hygiene scanner was producing
false-unblock cascades on GRO-1178 because the blocked filter on the list
endpoint returned no blockedBy data, so the scanner never saw that GRO-1472
was still blocking the task.

Opt out with ?includeBlockedBy=false (or 0) for perf-sensitive callers that
do not need the dependency graph. The service layer default remains opt-in
to keep services/issues.test.ts:1419 stable.

Cross-repo PR: farhoodlabs/paperclip#<pending>

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-02 17:16:19 +00:00