Skip to content

Handle stdin-stream control-flow errors gracefully#11811

Merged
cte merged 1 commit intomainfrom
codex/stdin-stream-control-flow-errors
Mar 1, 2026
Merged

Handle stdin-stream control-flow errors gracefully#11811
cte merged 1 commit intomainfrom
codex/stdin-stream-control-flow-errors

Conversation

@cte
Copy link
Collaborator

@cte cte commented Mar 1, 2026

Summary

  • add a shared expected-control-flow error classifier for stdin stream mode
  • treat abort/cancel variants, no-active-task cancel races, and stream teardown-on-shutdown as non-fatal control flow
  • apply classifier in both CLI runtime unhandled error handlers and stdin-stream client/cancel paths
  • add focused unit tests for new classifiers and contexts

Interactively review PR in Roo Code Cloud

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Mar 1, 2026
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 1, 2026
@cte cte merged commit 52d606b into main Mar 1, 2026
17 checks passed
@cte cte deleted the codex/stdin-stream-control-flow-errors branch March 1, 2026 20:01
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 1, 2026
@cte cte mentioned this pull request Mar 1, 2026
3 tasks
@github-actions github-actions bot mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants