Three unit tests flake on timing in the Coverage job
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
- 領域
- testing-qa
調査の方向性
Start with artifact-tracking.test.ts, snapshot-source/lifecycle.test.ts, and remote-test-artifacts-materialization.test.ts; inspect each timing assertion and the async work it observes. Run them under the Coverage job's parallelism and identify whether each depends on a real-time sleep, wall-clock bound, or unawaited step. Done means all three pass 20 consecutive runs without added real-time waits, wider timeouts, retries, or skips.
索引モデルが issue の本文から書いたものです。
説明
Purpose
Three unit tests fail intermittently on timing in the Coverage job. #4316 found them while measuring every Coverage failure from 2026-11-05 to 2026-11-07: 7 of the 34 failed attempts in that window were these tests, on PRs that don't touch them.
Current behavior
The flaky tests:
artifact-tracking.test.tssnapshot-source/lifecycle.test.tsremote-test-artifacts-materialization.test.ts
Each fails on a timing assertion or timeout under load and passes when rerun. Once #4316 lands, the failing test and line appear as a check annotation on the PR.
Required behavior
- For each test, find what it times: a real-time sleep, a wall-clock bound, or an unawaited async step.
- Make it deterministic with fake timers, awaited events or an explicit ordering signal. Don't widen the timeout or retry the test.
- Don't skip any of the three.
Completion conditions
- Each test passes 20 consecutive runs under the Coverage job's parallelism, locally or in CI.
- No new real-time waits are added.
Dependencies
#4316 (annotations), which makes future recurrences visible.
- 主要言語
- TypeScript
- スター
- 5.3k
- フォーク
- 377
- 平均マージ
- 13時間 58分
- マージ済み PR(30日)
- 654
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed read対応中かも @pcbeingused333 が 7 日前に担当しました。 オープンbug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
callstack/agent-device#4018 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
callstack/agent-device#4322 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
callstack/agent-device#4318 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Extract HarmonyOS behind a platform plugin interface, then ship it as @agent-device/harmonyos (0.22)オープンrefactor
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
callstack/agent-device#4317 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
callstack/agent-device の issue をすべて見る
似ている issue
-
content triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tensorflow/tfjs#8754 ·
-
tool-submission
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
BraveOPotato/NoSignups#2348 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
code-yeongyu/oh-my-openagent#12784 ·
メンテナーはふだん 1 日以内に返信
-
external-issue to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
メンテナーはふだん 1 日以内に返信