train ready --fixes-base-red accepts case names the gate never matches

オープン 初心者向け
#4,982 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Lanqiao-Luca がすでに取り組んでいます。

2026年12月3日 から。

  • #5043 @Lanqiao-Luca による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
cli, testing

調査の方向性

crew/lib/ship-queue-train-cli.tsの81~93行目から始め、受け付けられるケース名とissueに記載されたgateテストレコードのキーを比較します。次に、crew/docs/captain.mdの792行目とcaptain/templates/merge-train-peer.mdの37行目の文言を確認します。readyが無効な名前や正規化された名前を明確に扱うか、ドキュメントがlaneにverdictのred=リストをコピーするよう指示すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

What happens

gstack-ship-queue train ready --fixes-base-red <file> accepts any case names. A lane copies the names from vitest's FAIL lines, which look like file > describe > case. The gate's test-record keys look like ci.yml:file.describe > case, so none of the names match. The train still seats the fixer at slot 1 (BASE_RED: fixer) and then returns RED-ON-MAIN, and nothing explains why.

Where (at e394c3f)

  • crew/lib/ship-queue-train-cli.ts lines 81-93 read the file but never check the names against the known gate keys.
  • crew/docs/captain.md:792 and captain/templates/merge-train-peer.md:37 say "gate cases" but don't say where the exact key comes from.

Possible fixes

  1. ready normalizes vitest-style names to gate keys, or refuses names that match no known key and lists the valid ones.
  2. The docs tell lanes to copy names from the train verdict's red= list.

Workaround today: copy the names from the verdict's red= list.

Seen on two consecutive trains in a downstream repo on 2026-12-01.

主要言語
TypeScript
スター
143k
フォーク
21.1k
平均マージ
4時間 18分
マージ済み PR(30日)
745

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

garrytan/gstack のほかの issue

garrytan/gstack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。