Files
PaperClipAI/tests
Harold KimandPaperclip 8f34d0f726 test(e2e): narrow signoff-policy retry to run-lock 409 conflicts only
The retry loop re-issued the request on any 409 while the issue was still
assigned to the acting agent, which could mask genuine lifecycle rejections
(paused project, unresolved blockers, or a non-participant's "checked out by
another agent") behind a transient-looking retry.

Match on the response body instead of the bare status: only "Issue run
ownership conflict" (a lost PATCH run-lock race) and "Issue checkout conflict"
(a lost checkout race) are retried under the winning run id. Every other 409,
and the missing-comment 400, is returned untouched so the negative paths keep
failing for the right reason.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-07-28 19:19:17 +00:00
..