Incident 2026-11-18 8:41 PM ET: #576, #586: MinBot check blocked by open Codex threads from older heads

未關閉
#129 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github

研究方向

Read the prevention issue, tangentcode/tangentswarm#150, and inspect the MinBot check and hr-gate row 3 that count open Codex threads. Start by finding the existing thread handling and related tests; add a test for threads from older heads, then verify both checks apply the same rule. Done means the test covers the reported deadlock and MinBot can pass or return the PR to rework.

由索引模型根據 Issue 內容生成。

描述

Incident report (methodology #81).

What happened

On 2026-11-18 at 8:41 PM ET Michal asked MethBot why platform PRs #576 and #586 were stuck. Both were in Auto Review for more than 5 hours, with Codex clean on the head (#576: 7bae3053, receipt 3:14 PM ET; #586: e987ffa4, receipt 3:09 PM ET) and CI green. The webhook logged "queued the MinBot check" for both, but no MinBot pass came.

Why

The gate queue was not dead. Each queued swarm-advance --minbot N ran (3:16 PM and 3:35 PM ET, rc=0) and ended with "stays in Auto Review: ... 1 (or 2) open Codex thread(s)". The threads were Codex P2 threads from older heads (#576: d785b9dd, 1 thread; #586: f3cbde0f, 2 threads). They were not outdated, because the commented lines did not change. tangentswarm's codex_decision ignores such threads once Codex is clean on the head, and the pass resolves them, but only after it passes. hr-gate row 3, which the MinBot check runs first, counts every open, not outdated Codex thread. back_to_rework only acts on threads on the head. So the PR could neither pass nor go back to rework, and nothing flagged it.

Fix

swarmbot checked that each head fixes its finding (#576: c2104907; #586: 37100dfe), resolved the three threads, and ran swarm-advance --minbot 576 (8:55 PM ET) and --minbot 586 (queued, ran 8:56 PM ET). Both got a MinBot pass and moved Auto Review -> Ready. The cascade then sent a screenshot job to each worker.

Prevention

https://github.com/tangentcode/tangentswarm/issues/150: give the MinBot check and hr-gate row 3 one rule for open Codex threads from an older head, with a test.

主要語言
HTML
星號
0
分支
0
平均合併
1 天 11 小時
30 天內合併 PR
44

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

tangentcode/methodology 的其他 Issue

查看 tangentcode/methodology 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。