P12: the witness module's determinism unit alone takes 9 to 11 minutes in CI
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 28/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, javascript
- 領域
- ci-cd, performance, testing
研究方向
Start by reproducing the unit with the replay command (cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: an edit sequence over the witness module") and timing it locally, then read the vitest config in packages/oracles/oracle-gaps/ and the shard setup used by CI (see PR #90, shard 1/5). The issue lists three options and leaves the choice to the maintainer, so the first step is a decision, not an edit; investigate where the 9-11 minutes goes before proposing which option to take. Done means either the job sits under the 10-minute budget or the exception is recorded in the Limits of the e2e oracle with a follow-up issue.
由索引模型根據 Issue 內容生成。
描述
Summary
The determinism job that runs the witness module's edit sequence alone (determinism: constructed history: an edit sequence over the witness module) takes about 9 to 11 minutes in CI. That is at or over the 10-minute budget (P12: every job under 10 minutes). The unit is one history, so it cannot be split by name without changing the law (two cold runs and four daemon checks of the witness module, each in full).
Measured
- Arclet, one Vitest worker, on 4d3c8a9 and 947e936: 344 s and 364 s.
- CI (PR #90, shard 1/5): 645 s of test time on 082991d (job 11:03); 8:33 job on 947e936; 10:11 job on 4bc4eb1.
Options (for the maintainer)
- Accept the job above 10 minutes for this one unit, as an exception recorded in the Limits of the e2e oracle.
- Move that unit's determinism check to a job that is not blocking, with its own issue.
- Make the witness history cheaper (for example, fewer daemon checks), which changes the witness module's coverage and needs its own review.
Replay
cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: an edit sequence over the witness module"
- 主要語言
- JavaScript
- 星號
- 5
- 分支
- 1
- 平均合併
- 8 小時 31 分鐘
- 30 天內合併 PR
- 60
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/oracles 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
embedpdf/embed-pdf-viewer#1116 ·
維護者通常 1 天內回覆
-
[Docs]: Clarify theme variables location and usage in CONTRIBUTING.md可能已有人在做 @srishtimishra520-beep 今天認領。 未關閉kind/docs
難度 1/5 1 小時以內 新手友好度 88/100
meshery/meshery.io#3220 · 1 則留言 ·
維護者通常 1 天內回覆
-
Module: Analytics P2 Team S Type: Infrastructure
難度 1/5 1 小時以內 新手友好度 90/100
google/site-kit-wp#14190 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
maathimself/mailflow#801 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
falbany/ProFiles#187 · 1 則留言 ·
維護者通常 1 天內回覆