exit code 1 randomly in docker container but looks like its working

Resolved 💬 1 comment Opened Oct 15, 2025 by danyo1399 Closed Nov 25, 2025

What version of Codex is running?

0.45.0

Which model were you using?

5

What platform is your computer?

linux arm docker

What steps can reproduce the bug?

last few lines of error. Looks like it finished but still returned error code 1

could it be this code
https://github.com/openai/codex/blob/8fed0b53c433297e25d2ee62c6b203fe2a1d7842/codex-cli/bin/codex.js#L157

2025-10-15 22:10:08

apps/worker start:docker: stderr: tokens used
2025-10-15 22:10:08

apps/worker start:docker: 28,811
2025-10-15 22:10:08

apps/worker start:docker: stdout: - Main layout now caps the content column at 1280 px while keeping it centered and full-height (apps/web/app/layout.module.css:18-24).
2025-10-15 22:10:08

apps/worker start:docker: - Added a BDD regression test that guards the max-width and centering rules for the main container (apps/web/tests/layout-styles.spec.ts:1-24).
2025-10-15 22:10:08

apps/worker start:docker: - Documented the new layout constraint so contributors know the header/footer remain edge-to-edge (apps/web/README.md:38-42).
2025-10-15 22:10:08

apps/worker start:docker: Tests: pnpm --filter web test
2025-10-15 22:10:08

apps/worker start:docker: Next step: preview the app in a wide browser window to confirm the centered layout feels right with real content.
2025-10-15 22:10:08

apps/worker start:docker: child process exited with code 1
2025-10-15 22:10:08

apps/worker start:docker: [worker] Execution failed: {
2025-10-15 22:10:08

apps/worker start:docker: status: 1,

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗