flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)

オープン
#550 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bun, github-actions, rust, typescript
領域
ci-cd, testing

調査の方向性

Start by reading the four named tests: scripts/check-dco.test.ts, scripts/i18n/runner.test.ts, scripts/i18n/translate.test.ts, and scripts/check-changed.test.ts. Check how bun run release:test sets test timeouts on Windows and how the cargo metadata test handles its cache. Confirm the intermittent timeout locally or in CI; done means the Windows scripts job passes reliably without masking genuine test failures.

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

説明

area: ci os: windows type: bug

Repo scripts (windows-latest) fails intermittently on bun run release:test because tests hit bun's default 5 s timeout (and one its 60 s timeout) on the Windows runner. Everything else in the run passed; a rerun of the failed job passed.

Evidence

Run 44112407920 (PR #462, head 5a0796e0), job 134145061890, test summary:

  • scripts/check-dco.test.ts: a signed-off commit by a real identity passes timed out after 5000 ms.
  • scripts/i18n/runner.test.ts: bun scripts/i18n/check.ts > info findings are hidden unless --info, and never fail the run timed out after 5000 ms.
  • scripts/i18n/translate.test.ts: the prompt > includes at most 20 existing pairs of the same area, never the keys being translated timed out after 5000 ms.
  • scripts/check-changed.test.ts:129: --json --stdin (the atlas_affected plugin) > a crate under crates/ resolves through cargo metadata to its dependents timed out after 60000 ms.

Frequency: 1 occurrence in the 4 or so Windows scripts jobs I watched on 2026-11-17 (the runners were heavily queued). All four tests spawn a child process (git, bun, cargo metadata), which is slow on Windows when the machine is busy.

Suspected cause (not verified)

Spawning git/bun/cargo metadata per test on a contended Windows runner exceeds the default test timeouts. The cargo metadata test has no warm cache on that job. Raising the per-test timeout on Windows (or a CI-wide --timeout), or caching cargo metadata, would be the options.

No fix in the PR where it was seen.

主要言語
Rust
スター
3
フォーク
1
平均マージ
9時間 51分
マージ済み PR(30日)
310

環境構築

はじめの一歩

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

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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