fix: sync agent spend fields with canonical cost aggregate #55

Merged
andrei merged 1 commit from fix/PIX-8232-budget-sync into master 2026-06-08 11:16:55 +00:00
Owner

Summary:

  • sync company and legacy agent lists with canonical costs/by-agent aggregate
  • reuse syncAgentBudgetFieldsWithCostRow so list responses match /api/agents/me
  • add route coverage for both list endpoints

Verification:

  • pnpm exec vitest run server/src/tests/agent-permissions-routes.test.ts
Summary: - sync company and legacy agent lists with canonical costs/by-agent aggregate - reuse syncAgentBudgetFieldsWithCostRow so list responses match /api/agents/me - add route coverage for both list endpoints Verification: - pnpm exec vitest run server/src/__tests__/agent-permissions-routes.test.ts
fix: sync agent budget spend fields with cost aggregate
All checks were successful
Agents CI / Typecheck and Build (pull_request) Successful in 2m18s
837b306d5c
andrei merged commit d44f612fcb into master 2026-06-08 11:16:55 +00:00
andrei deleted branch fix/PIX-8232-budget-sync 2026-06-08 11:16:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
europa-tech-srl/europa-tech-agents!55
No description provided.