Weekly test health: enforced check needs triage
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, github-actions, typescript
調査の方向性
Start with docs/TESTING_INTERNALS.md#flake-ledger and reproduce the reported flake with bun test test/session-update-autostash.test.ts under load; the report says to fix the race at its source and never increase timeouts or add retries. The duration seed also needs 46 missing files, but refreshing it requires UBICLOUD_API_KEY and a CI-mirrored VM, so coordinate with a maintainer before attempting that work. Done means the flaky file no longer exceeds the 5% threshold and the free-test duration seed is current.
索引モデルが issue の本文から書いたものです。
説明
Run: https://github.com/garrytan/gstack/actions/runs/40304808079
test:health
test:health garrytan/gstack, last 7 day(s), 2026-10-26T10:07:09.321Z
Cost per merged PR: $8.13 (96 merged PRs, $780.53 recorded)
- PR full-fallback rate: 31.0% (13/42 runs)
rule: share of evals.yml pull_request runs whose paid-plan manifest has prCoverage.mode = full-fallback (a label, not spend: dependents runs select about as much)
pr: 21
full-fallback: 13
dependents: 8
- Selected gate cases and judges per PR run: 54.6 gate cases, 12.7 judges per run (42 runs)
rule: mean length of prCoverage.e2e (gate cases) and prCoverage.judges in the paid-plan manifests of evals.yml pull_request runs, overall and per mode
dependents: 108.0 gate cases, 24.0 judges (8 runs)
full-fallback: 108.0 gate cases, 24.0 judges (13 runs)
pr: 1.2 gate cases, 1.4 judges (21 runs)
- Known cost per PR run: $2.97 per run (263 runs; 1933 executed trial(s) with unknown cost)
rule: mean over non-cancelled evals.yml pull_request runs of executed trial cost_usd with a known cost (a run with no trial records counts $0), overall and per manifest mode; unknown-cost trials (PTY) are counted, not priced
dependents: $41.36 (8 runs)
full-fallback: $34.44 (13 runs)
no manifest: $0.00 (222 runs)
pr: $0.10 (20 runs)
- Exercised-path map shadow (not active): $-246.17 predicted saving/week (a lower bound: known cost excludes the 39% of observed case runs with unknown cost (PTY)); 1.0 activation miss(es)/week, 0 flaky drop(s) not counted (42 runs)
rule: over evals.yml pull_request runs whose paid-plan manifest carries prCoverage.shadow: the predicted saving (map per-case known cost of dropped minus added cases; a lower bound, since known cost excludes PTY trials with unknown cost) and shadow drops of red cases (more executed failed than passed trials in the run, on a case the shadow would drop). A drop counts toward the D3 activation bar as a miss unless the case passed in a later run of the same branch at the same head SHA, which marks it a flaky drop. Scaled to 7 days; docs/TESTING_INTERNALS.md#exercised-path-map
shadow miss: 39313931713:qa-only-no-fix
- Reused PR trial records: 0 of 4535 trial records
rule: trial-outcomes records with execution = reused across non-cancelled PR runs
- Recorded PR-lane spend: $780.53 recorded
rule: sum of executed trial cost_usd in PR runs; per merged PR = / PRs merged in the window; per validated revision = / distinct head SHAs with a success or failure verdict
per merged PR: $8.13 (96 merged)
per validated revision: $3.16 (247 revisions)
- Cancelled slice-minutes per week: 2 min/week (39 cancelled run(s))
rule: wall minutes of eval-slices jobs in cancelled evals.yml PR runs, scaled to 7 days
- PR lane push-to-verdict: p50 10.1 min, p95 67.7 min (247 runs)
rule: created_at to updated_at of evals.yml pull_request runs that reached success or failure (includes queue and the readiness wait)
- Periodic census reliability (CEO-06/22): 3.50 expected failed trials/run (14/804 over 4 run(s)); P(red) 92.0% in force, 94.4% single-trial
rule: trailing 4 main censuses with trial outcomes (scheduled runs and main dispatches): expected failed trials per run, raw trial failure rate per kind and class, and P(lane red) from pooled per-case rates under the recorded panels vs single-trial aggregation (every failure treated as nondeterminism: upper bounds for known-good inputs)
kind behavior: 7/297 failed (2.4%)
kind rule: 7/407 failed (1.7%)
kind judge: 0/100 failed (0.0%)
class assertion: 12
class contract: 1
class timeout: 1
- Gate census reliability (CEO-06/22): 1.25 expected failed trials/run (5/486 over 4 run(s)); P(red) 69.3% in force, 69.3% single-trial
rule: trailing 4 main censuses with trial outcomes (scheduled runs and main dispatches): expected failed trials per run, raw trial failure rate per kind and class, and P(lane red) from pooled per-case rates under the recorded panels vs single-trial aggregation (every failure treated as nondeterminism: upper bounds for known-good inputs)
kind rule: 5/486 failed (1.0%)
class assertion: 4
class contract: 1
- INFRA re-dispatches (ENG-10): 0 of 4 census(es) re-dispatched; longest paid slice job 7.3 min
rule: trailing 4 main census runs whose redispatch job succeeded; longest paid slice job wall in the same runs
- Quarantine evidence (DX-12): 0 of 241 blocking case(s) have enough evidence; 241 insufficient evidence (not the same as healthy)
rule: blocking cases with >= 10 qualifying v3 trials on their current series, over the last 10 main census runs
- Free-suite flaky-pass rate: 17.9% (17/95 main runs since 2026-10-19 needed the retry pass; 2 file(s))
rule: share of main free-tests runs (success or failure) with at least one flaky-pass ledger entry; per-file rate = runs with that file / runs
test/session-update-autostash.test.ts: 16/95 runs (16.8%) FAIL > 5%
test/capy-captain-flow.test.ts: 1/95 runs (1.1%)
- Free-suite and Windows wall: free-tests 5.0 min (94 runs); windows-free-tests (successful PR runs) 10.7 min (233 runs)
rule: p50 of run_started_at to updated_at for successful main runs of free-tests.yml and successful pull_request runs of windows-free-tests.yml (its workflow_dispatch duration recordings excluded)
- Free-suite serial time: 3641 s over 1287 files
rule: sum of scripts/free-test-durations.json (the committed seed)
- Net complexity (CEO-32, reported, no target): HEAD: 108100 lines, 58 package scripts (pass --complexity-base <ref> for the delta)
rule: lines under scripts, test/helpers, .github/workflows and package.json script count, HEAD vs --complexity-base
Enforced checks:
- [FAIL] Free-suite flaky files (W7a): test/session-update-autostash.test.ts: flaky in 16/95 main runs (16.8% > 5%)
fix: Fix the race at source (docs/TESTING_INTERNALS.md#flake-ledger); never raise the timeout or add a retry. Reproduce with `bun test <file>` under load.
- [FAIL] Free test files missing from the duration seed (CEO-10): stale seed: 46 unseeded file(s) > 5: browse/test/busy-active-tab.test.ts, browse/test/command-timeout-report.test.ts, browse/test/terminal-agent-bun-exe.test.ts, ios-qa/daemon/test/session-cache.test.ts, test/approval-record.test.ts, test/bun-config-shell-bins.test.ts, test/bun-dotenv-isolation.test.ts, test/bun-entry-isolation.test.ts, test/bun-isolation-launch.test.ts, test/captain-brief.test.ts, +36 more
fix: Refresh the seed with UBICLOUD_API_KEY set: `bun run test:ubicloud --record-durations` times every free file on a CI-mirrored VM and copies scripts/free-test-durations.json back into this checkout; commit it (docs/TESTING_INTERNALS.md#free-suite-duration-seed). Without UBICLOUD_API_KEY, leave the refresh to a maintainer: a 4-core laptop or sandbox recording skips or slows browser and display tests, so it is not accepted.
- 主要言語
- TypeScript
- スター
- 143k
- フォーク
- 21k
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 791
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garrytan/gstack のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
garrytan/gstack#4971 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
garrytan/gstack#4768 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
garrytan/gstack#4766 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
S3
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
garrytan/gstack#4765 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
garrytan/gstack#4764 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
garrytan/gstack の issue をすべて見る
似ている issue
-
bug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
scottbenton/Iron-Link#541 ·
メンテナーはふだん 1 日以内に返信
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#8161 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nicobailon/pi-subagents#3420 ·
メンテナーはふだん 1 日以内に返信
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yオープン01 type: bug 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信