1回目: not ok 57 launcher: reaps a same-(project,role) orphan the pidfile lost, converging to one (#937)
2回目: not ok 33 launcher: reaps owned launcher and bridge but leaves foreign controls
git diff --stat a0d5d3a1..f1370b5f -- tests/ scripts/
(0件。tests/やscripts/への変更なし。docs/decisions/設計書.mdとdocs/migration/台帳データのみ)
何が起きたか
PR #338のCI実行中、macos-latest shard 2で
tests/test_codex_bridge_launcher.bats内のlauncher系テストが2回連続で(rerun後も)失敗した。ただし2回とも異なるテストケース。
差分との無関係性
PR #338の実差分(merge-base比較):
試験ファイルとは構造的に無関係。
既存記録との関係
test_codex_bridge_launcher.batsのorphan reaperテスト(The launcher spawns a duplicate when a live same-role bridge is not the one named in the pidfile fujibee/agmsg#937)がubuntu-latestで断続的に失敗する記録。今回はmacos-latestであり、環境が異なる。
ok 265を全試験成功件数と誤読して作られた記録。元ログにはlauncherテスト自身の
not okがあり、当該失敗は本Issueの既知群へ戻した。疑われる原因(reviewer提起、未検証)
PR #336/#338/#335/#340のCIが同時に複数走っていたことによる、macOSランナーの
プロセス生成・kqueue関連のリソース競合。Issue #293(CI高速化、CLOSED)の調査で
「同時実行枠5(実質bats用4)が律速」と判明していた事実と整合する仮説。
対応
Broken pipeとの共通原因の先決めは行わないRefs #128, #317