`fetch_ci_report.js --failed` reports running workflows as all-green
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
.claude/tools/fetch_ci_report.js の 791 行目と 1011 行目付近から始めます。ここでは複数レポートのサマリーと --failed ショートカットが結果を分類しています。workflow と job のステータスがどのように表現されるかを追い、その後、保留中および完了済みの job を使って両方の経路を確認します。実行中の workflow と保留中の job が、両方のサマリーで成功したチェックと区別されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
fetch_ci_report.js --failed treats the absence of a failed job as proof that the workflow is all-green, including when the workflow is RUNNING and the release builds and performance comparisons are PENDING. This can mislead CI investigations and automated reviews into treating unexecuted checks as successful. The multi-report summary also marks pending jobs with ✅ when their test list is empty.
Observed on 2026-12-04 for the head b38ad45a0443623e289f12210c53bc1026ad801a of https://github.com/ClickHouse/ClickHouse/pull/137356:
node .claude/tools/fetch_ci_report.js \
'https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=137356&sha=b38ad45a0443623e289f12210c53bc1026ad801a&name_0=PR' --failed
# Actual: Top-level 'PR' index is all-green: 192 job(s), none failed.
# Expected: distinguish the running workflow and pending jobs from passed checks.
At that time the underlying result_pr.json contained "status": "RUNNING", Build (amd_release) and Build (arm_release) had "status": "PENDING", and all 14 selected performance shards had "status": "PENDING". The report is mutable, so these jobs may have completed when the command is rerun.
At .claude/tools/fetch_ci_report.js:1011, the --failed shortcut checks only whether failedChildren.length === 0, without consulting workflow or job status. At line 791, the multi-report summary likewise chooses ✅ whenever there are no failed leaf tests. Both paths need to preserve the distinction between not failed and finished successfully.
The helper is unchanged by PR #137356: its Git blob is 59eabf0e52d3d9e40bfa568facd878afb6b5ff88 in both the reviewed tree and its base 29a235a688cfb0c83e72600ed87d795af9ab8525. The explicit all-green --failed shortcut was introduced by c23febe36ba428bc29cf049bb547e4714b07ddfb in https://github.com/ClickHouse/ClickHouse/pull/134814. The older multi-report icon has the same classification problem; its original introduction was not determined. This affects developer tooling, so no server release label applies.
Caused by: https://github.com/ClickHouse/ClickHouse/pull/134814
Related: https://github.com/ClickHouse/ClickHouse/pull/137356
- 主要言語
- C++
- スター
- 51.3k
- フォーク
- 9.4k
- 平均マージ
- 10時間 16分
- マージ済み PR(30日)
- 507
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ClickHouse/ClickHouse のほかの issue
-
comp-s3queue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ClickHouse/ClickHouse#137649 ·
メンテナーはふだん 1 日以内に返信
-
comp-documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ClickHouse/ClickHouse#137615 ·
メンテナーはふだん 1 日以内に返信
-
`ngramSearch` family documentation describes Boolean threshold results instead of `Float32` scoresオープンcomp-regular-function
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/ClickHouse#137518 ·
メンテナーはふだん 1 日以内に返信
-
comp-kafka testing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/ClickHouse#137514 ·
メンテナーはふだん 1 日以内に返信
-
comp-ai-tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/ClickHouse#137492 ·
メンテナーはふだん 1 日以内に返信
ClickHouse/ClickHouse の issue をすべて見る
似ている issue
-
difficulty:easy prio:low type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NatronGitHub/Natron#2405 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
facebookincubator/velox#20892 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信