Skip to main content
← Back to list
01Issue
BugOpenExtensionsPublic
AssigneesNone

Relationships

#5041 issue-lifecycle: an unreachable swamp-club health check makes pr_merged skip every upstream write and still advance the phase

Opened by stack72 · 11/24/2026

Summary

pr_merged in the @swamp/issue-lifecycle extension advanced the lifecycle to shipped and on to done, but wrote nothing to swamp-club, because a swamp-club health check timed out once. The issue stayed in_progress with no pr_merged entry. The skill says a method that cannot write its upstream record fails and rolls back, so this broke that rule silently.

What happened

watch_pr on issue 4198 (PR swamp-club/swamp#3935) saw the merge and ran pr_merged at 02:16:16 UTC on 2026-11-24. It logged "PR merged (attempt 1) — shipped", then a warning: swamp-club at https://swamp-club.com is not reachable (TimeoutError). notify and summarize followed, and summarize did reach swamp-club at 02:17:39. Afterwards the local phase is done, but issue 4198 and its linked issue 4199 are both still in_progress in swamp-club, and neither has a pr_merged entry.

Cause

createSwampClubClient (extensions/models/_lib/swamp_club.ts) probes /healthz with a 5-second timeout, logs a warning, and returns null when the probe fails or answers non-2xx. pr_merged (extensions/models/issue_lifecycle.ts, around the status transition to shipped) wraps every upstream write in "if (sc)". A null client therefore skips the shipped transition, the linked-issue advance, the lifecycle entry and the milestone mirrors, and the method still succeeds and moves the phase on. The other methods that use the same "if (sc)" pattern behave the same way.

Expected

When the client cannot be created (unreachable, non-2xx health check, or missing credentials), pr_merged fails and the local phase does not move, so watch_pr reports a failedStep and the method can be re-run. This matches what the skill promises for every method except notify and post_attestation.

Recovery for 4198 and 4199

The phase is done and pr_merged only runs from pr_open, so the lifecycle cannot repair either issue itself. Their status has to be moved to shipped some other way.

02Bog Flow
◉OPEN○TRIAGED○IN PROGRESS○SHIPPED

Open

11/24/2026, 2:19:00 AM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

system commented 11/24/2026, 2:19:00 AM

Classified automatically when this issue was filed.

  • Source: Extensions

If you feel this classification is incorrect, add a ripple to tell us so.

Sign in to post a ripple.