You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb5c867
Browse filesBrowse the repository at this point in the historyBrowse files
Avoid Node UTF-8 pipe crashes during Codex setup (#66631)
Read piped setup input as a Buffer before UTF-8 decoding to avoid nodejs/node#66341. Cover direct-tool catalog conversion, short-read pipes, and the gateway read path.
Fixes#66628
Co-authored-by: Copilot App <[email protected]>
Copy file name to clipboardExpand all lines: docs/src/content/docs/troubleshooting/common-issues.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,6 +325,12 @@ Use `min-integrity: unapproved` as a middle ground for community triage workflow
325
325
326
326
## Workflow Failures and Debugging
327
327
328
+
### Codex Setup Crashes Before Agent Execution
329
+
330
+
If `Configure Codex` exits with code 139 and logs a Node.js segmentation fault while converting the bundled model catalog, inspect the setup failure before changing terminal safe-output instructions. `missing_terminal_safe_output` can be a downstream symptom because the agent never started.
331
+
332
+
Node.js v24.21.0 and v26.8.0 through v26.10.0 have a [short-read buffer overflow in UTF-8 pipe reads](https://github.com/nodejs/node/issues/66341). The gh-aw Codex and MCP gateway setup scripts avoid this path by reading stdin as a Buffer and then decoding it with `.toString("utf8")`. Ensure the action scripts used by the compiled workflow include this workaround.
333
+
328
334
### Timeout Errors
329
335
330
336
GitHub Actions marks the run as `timed_out` when the job exceeds `timeout-minutes` (default: 20 min). Use the table below to map common engine error patterns to the correct fix, then recompile with `gh aw compile`. See [Long Build Times](/gh-aw/reference/sandbox/#long-build-times) for caching strategies and self-hosted runner recommendations.
0 commit comments