fix(e2e): docs_site test intermittently times out
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 85/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, nodejs
- 領域
- ci-cd, testing-qa
調査の方向性
タイムアウトは e2e/test/commands/create/docs_site/docs_site_test.dart にあります。修正方法は、flame_game のテストに合わせて Duration(minutes: 5) に引き上げることです。任意で、テストが実行する npm install の呼び出しに --no-audit --no-fund --prefer-offline を追加できます。e2e でそのテストファイルを実行して合格することを確認し、Directory not empty という teardown エラーが出なくなったかを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Description
The create docs_site e2e test (e2e/test/commands/create/docs_site/docs_site_test.dart) intermittently times out on main.
Failing run: https://github.com/VeryGoodOpenSource/very_good_cli/actions/runs/37757567540/job/113245773965
TimeoutException after 0:02:00.000000: Test timed out after 2 minutes.
FileSystemException: Deletion failed, path = '/tmp/MCMMJN' (OS Error: Directory not empty, errno = 39)
The failing commit (#1756) is unrelated to docs_site, and the following run on main (37779724241) passed on the same code, so this is flakiness, not a regression.
Root cause
The test has a 2-minute timeout, but it normally takes almost that long:
| Run | Result | "Run Tests (e2e)" step duration |
|---|---|---|
| 35327672012 | ✅ | 1m52s |
| 35616186431 | ✅ | 1m47s |
| 36122147301 | ✅ | 1m49s |
| 37757567540 | ❌ | 2m15s (timeout) |
Most of the time goes to npm install. The generated project has no package-lock.json, and CI has no npm cache, so every run installs ~1,300 packages fresh from the registry. Timing each step locally:
| Step | Duration |
|---|---|
npm install |
72s |
npm run format |
1s |
npm run lint |
1s |
npm run build |
8s |
On CI the time depends on registry speed, so the test sometimes runs past the limit.
The Directory not empty error is a side effect: the test teardown deletes the temp directory while npm is still writing to it after the timeout.
The 2-minute timeout was copied from the Dart/Flutter e2e tests. The other tests that install heavy dependencies already use longer limits: flame_game has 5 minutes and flutter_plugin has 8.
Proposed fix
- Raise the timeout in
docs_site_test.darttoDuration(minutes: 5), matchingflame_game. - Optionally, speed up the install with
npm install --no-audit --no-fund --prefer-offline. Caching npm throughactions/setup-nodewon't work as-is, because it needs a lockfile and the template doesn't ship one.
- 主要言語
- Dart
- スター
- 2.4k
- フォーク
- 244
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VeryGoodOpenSource/very_good_cli のほかの issue
-
fix(mcp): test timeout_seconds does not kill a hung test run, which blocks every later tool callオープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
VeryGoodOpenSource/very_good_cli#1765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
VeryGoodOpenSource/very_good_cli#1762 · コメント 1 件 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
feat: merge lcov reports from sharded test runs再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンfeature
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
VeryGoodOpenSource/very_good_cli#1754 ·
メンテナーはふだん 1 日以内に返信
-
feature
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
VeryGoodOpenSource/very_good_cli#1695 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
feat(mcp): stream progress notifications for long-running tools再び着手できるかも @vgvbot が 63 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンfeature
VeryGoodOpenSource/very_good_cli#1616 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
VeryGoodOpenSource/very_good_cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
djazairdev/wilayas#22 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
rajput-hemant/calculator#199 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
leancodepl/app-rating#35 ·
-
Mobile login: "Sign In" button is squashed to 16 px with its label cut while the keyboard is openオープンai-driven-qa bug claude
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
linagora/tmail-flutter#4976 ·
メンテナーはふだん 1 日以内に返信