Skip to content

ci(temporal-conformance): 两个 skewed-zone 测试步骤挂上 run-with-stall-guard (#4331) - #4335

Merged
os-zhuang merged 2 commits into
mainfrom
claude/temporal-conformance-stall-guard-7p7ey3
Jul 31, 2026
Merged

ci(temporal-conformance): 两个 skewed-zone 测试步骤挂上 run-with-stall-guard (#4331)#4335
os-zhuang merged 2 commits into
mainfrom
claude/temporal-conformance-stall-guard-7p7ey3

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

变更内容

#4298 给 Test Core 挂上 scripts/run-with-stall-guard.mjs 之后,Temporal Conformance (live PG + MySQL) 的两个测试步骤仍在裸跑,#4331 实测了后果:mid-suite stall 每次烧满 30 分钟 job 超时,以毫无信息量的「The operation was canceled」收场。本 PR 给这两个步骤包上与 Test Core 完全相同的 guard 接线:

  • Run driver-sql suite against both live servers
  • Run the non-SQL temporal backends under the skewed process zone

均为 node scripts/run-with-stall-guard.mjs --log "$RUNNER_TEMP/<leg>.log" --stall-minutes 10 -- …(与 Test Core 同参数)。

说明

  • 两种 stall 形态都被覆盖:guard 盯的是输出静默,所以 CI: Temporal Conformance 的两个 skewed-zone 步骤没挂 run-with-stall-guard,mid-suite stall 烧满 30 分钟才被 cancel #4331 run 1(kernel.test 执行中途冻结)和 run 2(五个包全部打完 Done 后零输出 24 分钟、进程不退出)都会在静默 10 分钟后转成带「last line」标注的快速失败;guard 的 process-group kill 也正好兜住 run 2 那种句柄泄漏不退出的形态,无需改动 guard 脚本
  • node -e 时区断言留在 guard 之外:一次性打印不可能 stall,guard 只计时真正的 suite。
  • --log 是 guard 必填参数(guard 自己负责 tee);该 job 目前没有 completeness guard 消费这些日志,注释里已写明。
  • 非 SQL 步骤的多行 pnpm --filter … test 保持反斜杠续行,整体缩进一级放入 guard 之后;已本地验证 YAML 解析、bash -n 续行语法、以及 guard 以相同参数干跑(exit 0)。

Closes #4331

🤖 Generated with Claude Code

https://claude.ai/code/session_01HXjVcohpYTsZY7D5p91dJQ


Generated by Claude Code

…h-stall-guard (#4331)

The two Temporal Conformance test legs still ran bare after #4298 gave
Test Core the stall guard, so a mid-suite stall burned the full 30-minute
job timeout and ended as an uninformative "The operation was canceled"
(#4331: once frozen mid-file in core's kernel.test, once silent for 24
minutes after every suite printed Done). Same wiring and parameters as
Test Core: silence past 10 minutes becomes a labeled red naming the last
output line, and the guard's process-group kill covers the
refused-to-exit shape too. The zone-assert node -e lines stay outside the
wrapper — a one-shot print cannot stall.

Closes #4331

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HXjVcohpYTsZY7D5p91dJQ
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Jul 31, 2026 6:38am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling labels Jul 31, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review July 31, 2026 06:51
@os-zhuang
os-zhuang merged commit 3931631 into main Jul 31, 2026
16 checks passed
@os-zhuang
os-zhuang deleted the claude/temporal-conformance-stall-guard-7p7ey3 branch July 31, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd documentation Improvements or additions to documentation size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Temporal Conformance 的两个 skewed-zone 步骤没挂 run-with-stall-guard,mid-suite stall 烧满 30 分钟才被 cancel

2 participants