Flaky server tests on CI: DiagnosticsService startup error, ShowUI isolation browser start
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- bun, typescript
調査の方向性
Start with src/server/__tests__/diagnostics-service.test.ts and src/server/__tests__/show-ui-isolation.test.ts, then read startServer in src/server/index.ts and the browser startup hook. Reproduce both failures on Linux by running each test in a loop and trace the startup errors and Chrome stderr handling. Done when the cause of each intermittent failure is fixed and both tests pass at least 50 consecutive runs on Linux.
索引モデルが issue の本文から書いたものです。
説明
Two server tests fail on CI from time to time and pass on a rerun. Each one blocks unrelated PRs until someone reruns the job.
1. DiagnosticsService fatal startup error on stderr
DiagnosticsService > keeps fatal startup errors visible on stderr while recording diagnostics (src/server/__tests__/diagnostics-service.test.ts). It appears in 6 of the 7 failed runs of the CI workflow before 2026-10-29 (e.g. 40896064562, 39715621460, 39713535549, 39713507980, 39381580281, 39144653837). It passed 3 out of 3 times locally on macOS.
The test starts a server on a free port, then starts a second one on the same port and expects it to exit with Failed to start server. Is port <port> in use? on stderr. In the failing run, stderr had:
[Server] Uncaught exception:
Error
at startServer (src/server/index.ts:380:15)
startServer (src/server/index.ts) catches the error from Bun.serve and rethrows new Error(message, { cause }), where message is the original message or the fallback text. The printed error has an empty message, so either the stderr was cut off, or the error reached the handler some other way than expected. The cause is not established.
2. ShowUI page frame isolation: browser did not start
page frame isolation in a real browser (src/server/__tests__/show-ui-isolation.test.ts, added in #207) failed in run 40905539947 (PR #211, which only changes the version and the CHANGELOG). The test launches headless Chrome with --remote-debugging-port=0 and waits up to 20 s for DevTools listening on on stderr. Chrome printed nothing in that time, so the hook failed with browser did not start and no isolation check ran. It passed in both CI runs of #207. The cause is not established: a slow cold start, a startup prompt, or output going somewhere else are all possible.
What to do
- Reproduce each on Linux (the CI runner), for example by running the test in a loop.
- Find the cause and fix it in the server or the test, without retries or a longer timeout that only hides it.
- Done when each test passes in a loop of at least 50 runs on Linux.
- 主要言語
- TypeScript
- スター
- 490
- フォーク
- 47
- 平均マージ
- 10時間 53分
- マージ済み PR(30日)
- 81
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GoDiao/dreamcoder のほかの issue
-
[good first issue] UX polish — friendlier copy for error toasts and empty states対応中かも @iamcipherdev が 14 日前に担当しました。 オープンarea:i18n area:ux difficulty:1 good first issue mentor-available
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
GoDiao/dreamcoder#9 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Add more provider presets (Groq / OpenRouter / SiliconFlow / etc.)再び着手できるかも @01iamysf が 21 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンarea:desktop area:provider difficulty:1 good first issue mentor-available
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GoDiao/dreamcoder#6 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
GoDiao/dreamcoder#208 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
GoDiao/dreamcoder#204 ·
メンテナーはふだん 1 日以内に返信
-
Stopping or restarting a lead session deletes its team and task directories対応中かも @pcbeingused333 が今日担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
GoDiao/dreamcoder#199 ·
メンテナーはふだん 1 日以内に返信
GoDiao/dreamcoder の issue をすべて見る
似ている issue
-
area: triage theme: undefined
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jhipster/generator-jhipster#35895 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
paperclipai/paperclip#18396 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#33380 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
chore other
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
alastair-smith/card-games#342 ·
メンテナーはふだん 1 日以内に返信