Siblings of #5133: CI critical-path wall time (duplicate evidence_components run, evidence_report tail, durations weight)

クローズ
#5,162 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
devtools

調査の方向性

Start with the full-suite test selection that runs tests/cobol_mainframe/test_evidence_components.py in part 1, and check whether the ground-truth job already covers it. Then profile the five slow tests in tests/tools/test_evidence_report.py that dominate part 3. The durations weight needs CI cache knowledge and a design choice, so read #5133 and #5151 first. Done when the critical-path wall time drops and no test coverage is lost.

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

説明

ci-cd claim:nyx github-actions performance priority: medium scope:infra

Siblings of #5133 (class: CI critical-path wall time — a few heavy tests or redundant runs set a required check's time-to-green). Found by the #5133 worker (PR #5151).

  • Duplicate run: tests/cobol_mainframe/test_evidence_components.py (~226 s) runs in full-suite part 1 and again in ground-truth. Deselect it from the full suite, since ground-truth owns it. (#6450)
  • Part 3 tail: five tests/tools/test_evidence_report.py tests take ~430 s together and set full-suite part 3's wall time. Split or speed them up. (#7144)
  • Durations weight: the nightly durations cache (#4847) is recorded under -n auto contention, so summed seconds don't predict a part's wall time. This needs a wall-calibrated balance weight. CI restores this cache before .test_durations, which is why the committed refresh in #5151 didn't change the split.

Duplicate search: evidence_components, test_evidence_report, durations. Only #5114 came up, and it covers a different mechanism (shard pinning).

Siblings: #5133

主要言語
Python
スター
57
フォーク
11
平均マージ
1時間 26分
マージ済み PR(30日)
974

環境構築

はじめの一歩

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

squid-protocol/gitgalaxy のほかの issue

squid-protocol/gitgalaxy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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