Relationships
#5265 issue-lifecycle: start records 'Assigned to <user>' when the assignment PATCH failed
Opened by stack72 · 12/1/2026
Seen while starting the lifecycle for swamp-club#5264.
The assignees PATCH answered 503 (upstream connect error), start logged 'swamp-club patch failed: 503', and then still posted the 'assigned' lifecycle entry and logged 'Auto-assigned issue to stack72'. Reading the issue back shows assignees is empty, so the audit trail says something that did not happen.
Cause, read from the source: updateAssignees in extensions/models/_lib/swamp_club.ts returns void and drops the UpstreamOutcome patchIssue gives it, so the auto-assign block in start (extensions/models/issue_lifecycle.ts) records and logs success unconditionally. start is also not safe to re-run to retry, since it resets the phase to triaging.
Expected: assignment stays best-effort, but the entry and the success log appear only when the PATCH landed, and a failure logs a warning naming the cause. extensions/models is a copy of swamp's @swamp/issue-lifecycle, so the fix belongs upstream and is ported by copying the files whole.
Open
No activity in this phase yet.
Sign in to post a ripple.