Skip to content

fix: clarify task process wait errors#515

Merged
wan9chi merged 1 commit into
mainfrom
agent/wait-process-exit-error
Jul 8, 2026
Merged

fix: clarify task process wait errors#515
wan9chi merged 1 commit into
mainfrom
agent/wait-process-exit-error

Conversation

@wan9chi

@wan9chi wan9chi commented Jul 8, 2026

Copy link
Copy Markdown
Member

Motivation

The original spawn error was inaccurate and vague, making the failure in #506 confusing to investigate. The task had already started; the runner failed while waiting for the task process to exit, so the message should describe that lifecycle point.

Changes

  • Report wait failures as Failed to wait for task process to exit.
  • Preserve Failed to spawn process for actual spawn/start and pipe failures.

Motivation

The original spawn error was inaccurate and vague, making the failure in #506 confusing to investigate. The task had already started; the runner failed while waiting for the task process to exit, so the message should describe that lifecycle point.

Changes

- Report wait failures as `Failed to wait for task process to exit`.

- Preserve `Failed to spawn process` for actual spawn/start and pipe failures.

Co-authored-by: GPT-5 Codex <codex@openai.com>

wan9chi commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wan9chi wan9chi marked this pull request as ready for review July 8, 2026 10:20

wan9chi commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Jul 8, 10:21 AM UTC: A user started a stack merge that includes this pull request via Graphite.

@wan9chi wan9chi merged commit ef49b4a into main Jul 8, 2026
20 checks passed
@wan9chi wan9chi deleted the agent/wait-process-exit-error branch July 8, 2026 10:21
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