Skip to content

Harden image generation timeout handling#13

Merged
walker1211 merged 1 commit into
mainfrom
fix/imgen-timeout-watchdogs
Jun 21, 2026
Merged

Harden image generation timeout handling#13
walker1211 merged 1 commit into
mainfrom
fix/imgen-timeout-watchdogs

Conversation

@walker1211

Copy link
Copy Markdown
Owner

Summary

  • Kill timed-out Codex/imagegen process groups before waiting for stdout/stderr readers.
  • Set the default backend timeout to 300s and clarify max attempts as total attempts.
  • Add regression coverage for canceled contexts and child processes holding pipes open.

Test plan

  • go test ./...
  • go build -o ./imgen ./cmd/imgen

@walker1211
walker1211 merged commit 48b08df into main Jun 21, 2026
4 checks passed
@walker1211
walker1211 deleted the fix/imgen-timeout-watchdogs branch June 21, 2026 06:09
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