Skip to content

[codex] Structure OpenCode text generation failures - #3472

Merged
juliusmarminge merged 2 commits into
mainfrom
codex/structure-opencode-text-generation-errors
Jun 21, 2026
Merged

juliusmarminge merged 2 commits into
mainfrom
codex/structure-opencode-text-generation-errors

Guard malformed OpenCode response parts

5ab986c
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check succeeded Jun 21, 2026 in 8m 20s

Approved (click on check for details)

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
This PR refactors internal error handling to use structured typed errors for better debugging context. The external behavior (TextGenerationError) is preserved, and the changes are well-tested and self-contained with no runtime behavior changes.

Notes:
No code owners found in target merge base cebbe6f