Skip to content

diag(shell): readiness 记录 WSL transport 条件 (#80) - #219

Merged
JavaZeroo merged 1 commit into
mainfrom
diag/readiness-transport
Oct 30, 2026
Merged

JavaZeroo merged 1 commit into
mainfrom
diag/readiness-transport

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

shells-size-readiness.jsonl 增加 transport_completed 字段:

{"role":"wsl","columns":54,"rows":12,"settled":true,"marker_present":true,"transport_completed":false,"observed_output_tail_bytes":185}

该字段直接对应 sizes_ready() 里 WSL 的额外条件(尺寸标记之后必须再出现一次新提示符),因此下一次 stage 5 超时不需要推断就能看出是:

  • marker_present=false → 尺寸标记没到;
  • marker_present=true 且 transport_completed=false → WSL helper 之后没有新提示符(上一轮样本正是这种)。

背景

上一轮样本(run 40979768991)四个会话 settled=true、marker_present=true 全部满足,仍卡在 stage 5,只能推断是 WSL 的 transport 条件;本改动把它变成显式字段。

边界

  • 只在超时分支写;不改等待条件与期限;
  • 非 WSL 会话 transport_completed 恒为 true。

Refs #80

The readiness record now states whether the WSL session showed a fresh prompt after its size marker, which is the only remaining condition a stage five timeout can hit.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 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-30T00:41:06.938085Z 56f1164 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 2101b07 into main Oct 30, 2026
10 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