Skip to content

fix(api): GET /milestones + /maintenance-pools load the relations the UI renders - #674

Closed
yggdrasilworld wants to merge 3 commits into
MergeFi:mainfrom
yggdrasilworld:fix/list-relations-591
Closed

yggdrasilworld wants to merge 3 commits into
MergeFi:mainfrom
yggdrasilworld:fix/list-relations-591

Conversation

@yggdrasilworld

@yggdrasilworld yggdrasilworld commented Oct 14, 2026 •

Copy link
Copy Markdown

What

Both list() were bare find() — no relations, so the frontend's adapters got empty rows.

Fix

Load repository/sponsor/escrow/issues (milestone) + repository/createdBy/escrow (pool).

Resolves #591

Payment: Base USDC 0xD40Df5c27cEa7dd78A3c345401995c319589334e

… UI renders

Both list() were bare find() — no relations, so the frontend's
adaptMilestone/adaptMaintenancePool got empty rows (no repository, sponsor,
escrow, issues).

Resolves MergeFi#591
@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

@yggdrasilworld is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

The shared base carried half-written merge artifacts: an orphaned
invokeOnLockedEscrow block in escrow.service.ts, duplicated returns plus
a dead parsePagination in sponsors.controller.ts, and missing
describe/it closers in github-webhooks.service.spec.ts. Aligned each
with the intended form so the branch typechecks and its specs load.
…ignatures

- fund(id, funderAddress, callerUserId) and create(dto, callerUserId)
  gained the authenticated-caller argument — pass it at the call sites
- releasePartial now receives the outer transaction manager (5th arg)
- OPEN -> IN_PROGRESS resolves to InvalidMilestoneTransitionError on
  this branch (the accepting-distributions check is the sibling's MergeFi#578)
- milestones.controller.spec gains the IdempotencyKey repository mock
@yggdrasilworld
yggdrasilworld deleted the fix/list-relations-591 branch October 19, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GET /milestones and GET /maintenance-pools return no repository or issues, so clients can't show what a milestone or pool belongs to

1 participant