fix: cap transient retry queue promotion #46

Closed
andrei wants to merge 0 commits from fix/PIX-7831-queued-retry-drain into master
Owner

Summary

  • cap promotion of due transient_failure scheduled retries by actual free queue slots per agent
  • leave non-transient scheduled retries unchanged
  • add regression coverage for assignment wake already occupying the queue

Verification

  • pnpm --filter @paperclipai/server typecheck
  • pnpm exec vitest run server/src/__tests__/heartbeat-retry-scheduling.test.ts -t "does not promote a due transient retry when an assignment wake already occupies the agent queue|does not defer a new assignee behind the previous assignee's scheduled retry" --reporter=verbose
  • full heartbeat-retry-scheduling.test.ts still has two pre-existing failures in retry-not-before cases at lines 1714 and 1743, outside this diff
## Summary - cap promotion of due transient_failure scheduled retries by actual free queue slots per agent - leave non-transient scheduled retries unchanged - add regression coverage for assignment wake already occupying the queue ## Verification - `pnpm --filter @paperclipai/server typecheck` - `pnpm exec vitest run server/src/__tests__/heartbeat-retry-scheduling.test.ts -t "does not promote a due transient retry when an assignment wake already occupies the agent queue|does not defer a new assignee behind the previous assignee's scheduled retry" --reporter=verbose` - full `heartbeat-retry-scheduling.test.ts` still has two pre-existing failures in retry-not-before cases at lines 1714 and 1743, outside this diff
fix: cap transient retry queue promotion
All checks were successful
Agents CI / Typecheck and Build (pull_request) Successful in 2m35s
Agents CI / Typecheck and Build (push) Successful in 2m13s
ae6386986e
andrei closed this pull request 2026-06-08 10:46:40 +00:00
All checks were successful
Agents CI / Typecheck and Build (pull_request) Successful in 2m35s
Agents CI / Typecheck and Build (push) Successful in 2m13s

Pull request closed

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!46
No description provided.