Skip to content

diag(shell): stage 5 逐会话就绪诊断 (#80) - #212

Merged
JavaZeroo merged 2 commits into
mainfrom
diag/shells-stage5
Oct 29, 2026
Merged

JavaZeroo merged 2 commits into
mainfrom
diag/shells-stage5

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

为 #80 的 ui-shells 场景在超时分支增加逐会话的就绪诊断(不改期限、不改通过判据):

  • 新增 local_shell_size_readiness():向 shells-size-readiness.jsonl 追加每条会话的 role / columns / rows / settled / marker_present / observed_output_tail_bytes;
  • 在 scenario_shells() 的 30 秒超时分支里,对四个标签各写一条,再抛出原来的超时异常。

下一次同类失败可直接看出:哪个会话没有 settle、或没有出现 TF_SIZE_<cols>x<rows> 尺寸标记,而不是只知道"stage 5 超时"。

本地验证

cmake --build build-diag --config Release --target termforge_shell 通过。

边界

Refs #80 #38

…io times out refs #80

The timeout path now writes role, grid, settled and marker presence for every tab, so a stage five failure names the session that was not ready.
@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:41:36.761835Z e7b5feb 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.

… cases refs #85

The fixture write that prepares the occupied clipboard is setup, not the product behaviour under test; a short bounded retry keeps a transient desktop holder from failing the whole scenario.
@JavaZeroo
JavaZeroo merged commit 8493532 into main Oct 29, 2026
22 of 26 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