Skip to content

diag(ui): Node 启动检查点 (#144) - #210

Merged
JavaZeroo merged 1 commit into
mainfrom
diag/node-checkpoint
Oct 29, 2026
Merged

JavaZeroo merged 1 commit into
mainfrom
diag/node-checkpoint

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

为 #144(Node 纯夹具 10 秒超时)加一条有界诊断,不改期限:

  • 在 test_production_js_native_contract 调用 Node 时加 --require <preload>;
  • preload 只做一件事:把 {started, version} 写入临时 checkpoint 文件;
  • 若 10 秒仍超时,失败信息里带上 checkpoint 状态:未写入 = Node 进程/加载阶段没起来,已写入 = Node 起来了但后续卡住。

这样下一次同类失败就能区分"进程创建/加载停顿"与"夹具执行停顿",而不用像 PR150 那样引入完整分阶段 runner。

本地验证

python -m unittest research.ui.test_raster_style_reference.RasterBoundaryTests.test_production_js_native_contract -v
Ran 1 test in 0.122s — OK

边界

Refs #144 #38

…t refs #144

A preload writes a checkpoint before the fixture runs, so a timeout can say whether Node ever started without changing the limit or the pass criteria.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T22:14:11.279433Z dbe6477 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JavaZeroo
JavaZeroo merged commit 8a049ea into main Oct 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant