A relay that crashed is never retried: In Progress PR left with no Claude and no revive (platform #570)

Open
#152 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
devtools

Research direction

Start by reading the relay failure handling, revive queue and sanity watch paths; the issue names swarm-webhook, Flow.hand_off(), and slots.json but gives no source file or test paths. Trace how failed relay events are recorded and how the sanity finding is produced. Done means failed relays leave retryable work, the specified sanity finding queues a revive, and eligible failed events are replayed for PRs still open.

Written by the indexing model from the issue text.

Description

Seen 2026-11-18 on the platform board. Platform PR #570 (ptw-every-board-move, head 6d7b2323) was a draft in In Progress from 2026-11-17 1:09 PM ET with an open Codex P2 thread and no Claude in pane %280. Nothing revived it, although the rework slots had room.

Cause: at 1:09 PM ET on Nov 17 Codex reviewed 6d7b2323 with one finding. swarm-webhook failed to relay it: "codex #570: TypeError: Flow.hand_off() missing 1 required positional argument: 'relay_path'" (events DB). The same crash hit #528 and #574 (11 failed events since Nov 17). The crash itself is fixed (#135: webhook.to_worker now passes relay_path). But the failed relay was never retried or queued: #570 had no parked, rework, queued or unstarted record in slots.json, so the revive queue had nothing to run. The sanity watch did flag "PR #570 is in In Progress but no live Claude runs" (methodology #124, Nov 17 1:20 PM ET), but no step acts on that finding.

swarmbot revived the worker with swarm-revive 570 at about 8:54 PM ET, with a brief that names the Codex finding (MnAnimPlugin.mts:481, cancel the entry ramp in _onMobileScrub) and the merge of origin/main (the PR now conflicts with main).

Fix:

  1. A relay that raises must leave a record the cascade retries: a queued revive with the relay text, or an unstarted record with the relay as its brief.
  2. The sanity finding "In Progress, no live Claude, open Codex thread on the head" should queue that revive itself instead of only alerting.
  3. A one-time replay of the failed relay events from the hand_off crash, for PRs still open.
Dominant language
Python
Stars
3
Forks
0
Avg merge
5h 57m
Merged PRs (30d)
60

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tangentcode/tangentswarm

All issues in tangentcode/tangentswarm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.