P12: Windows e2e shard 2/10 (every outcome class alone) takes 10 min

未关闭
#118 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, javascript
领域
ci-cd, testing

调研方向

Start with scripts/pr-shards.mjs and the oracle-gaps-fixed-seed-windows shard assignment, then inspect the every outcome class unit and its Windows end-to-end runtime. Compare the three proposed paths: split the witness history, record a P12 exception, or reduce the Windows cost of the hang witnesses. Done means the shard is under the 10-minute budget and its reach checks still pass, or the maintainer records an exception.

由索引模型根据 Issue 内容生成。

描述

windows

Summary

The Windows e2e job Windows gap report end-to-end oracle (fixed seed, 2/10) runs one unit, fixed seed 20261105: every outcome class. On PR #115 it took 10m05s (run 43783774902, job 133026717354; the unit alone took 562 s). On main it took 9m13s (run 43693786590, job 132749781500). That is over, or at, the P12 budget of 10 minutes per job.

#115 does not cause it. Its only change is an oracle comparison that is linear in the number of gap lines, and the unit takes as long on main. The job also fails on main and on #115 on the reach gate: "did not enter a hang cut off for idleness". That is the Windows idle gap recorded in the e2e oracle's Limits, and #99 owns it.

Why the shard can't be split

Shard 2/10 already holds this one unit (scripts/pr-shards.mjs, oracle-gaps-fixed-seed-windows, shard 2). Splitting the job means splitting the constructed history itself, as #73 did when it moved the warm and abort stops into every outcome class, the warm and abort stops. Or the witness module's win32 cost must come down.

Options (for the maintainer)

  1. Split every outcome class again, for example the hang and slow witnesses apart from the rest. The framework checks reach over the union of the halves, as it does for the current split.
  2. Record a win32 exception to P12 for this unit while the Windows e2e jobs are non-blocking (C entry (c)).
  3. Reduce the win32 cost of the hang witnesses: the idle sampler's window and the backstop.

Related: #106, the same P12 problem for the witness module's determinism unit on Linux.

Authority

P12 (register): every CI job stays under 10 minutes, and the cost comes from real cuts first and sharding second.

主要语言
JavaScript
星标
5
派生
1
平均合并
8 小时 31 分钟
30 天内合并 PR
60

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TanStack/oracles 的其他 Issue

查看 TanStack/oracles 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。