Repository navigation
diag(shell): 失败转储补充输入/读取计数 (#36) - #242
Merged
Merged
Conversation
The failure dump now carries input high-water, rejected bytes, output bytes and the read error, so a stalled flood shows whether the keystroke reached the queue.
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
失败转储(stage / bytes / screen)补上输入与读取侧计数,用于区分「按键有没有进队列」和「读取是否停滞」:
input_high_waterinput_rejectedoutput_bytesread_error为什么
run 41009985712 的 shell 用例在 stage 5 以「shell scenario timeout」失败:已发 Ctrl-C 与 echo TF_AFTER,但底部仍是 TF_BUSY_3323…3339 继续增长。现有转储只有 stage/consumed/screen,无法判定 Ctrl-C 是否真的进入了输入队列。
验证
termforge_shell 构建通过。
边界
Refs #36 #73