Skip to content

fix(cli): exit with non-zero code when the tool result is an error - #42042

Merged
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-42028
Jul 30, 2026
Merged

fix(cli): exit with non-zero code when the tool result is an error#42042
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-42028

Conversation

@pavelfeldman

Copy link
Copy Markdown
Member

Summary

  • Propagate isError from the daemon's tool result to the process exit code, in both text and --json output modes.

Fixes #42028

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

7828 passed, 1272 skipped


Merge workflow run.

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.

[CLI]: playwright-cli exits with status 0 when the tool result has isError: true

2 participants