Skip to content

Release 2.13.1: install procps-ng so Codex 0.160.0 can start - #2

Merged
jgassens merged 2 commits into
mainfrom
claude/dazzling-allen-4wc19o
Oct 4, 2026
Merged

jgassens merged 2 commits into
mainfrom
claude/dazzling-allen-4wc19o

Conversation

@jgassens

@jgassens jgassens commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • On 2.13.0, Codex fails at launch with failed to read start time for pid-managed app server. Codex CLI 0.160.0 starts a background app server and records its start time with ps -p PID -o stat=,lstart=, and BusyBox ps rejects those options.
  • Install procps-ng, and make the image build fail if ps cannot answer that query.
  • The session picker now waits for Enter when Codex exits with an error, so the menu no longer redraws over the message. The config/scripts copy is kept identical, as the contract test requires.

Verification

  • Confirmed the ps -p … -o stat=,lstart= call in the 0.160.0 binary. The new build step checks it inside the real image.
  • The Python tests pass. The Alpine package index isn't reachable from the authoring environment, so this PR's container build confirms the procps-ng package name.

🤖 Generated with Claude Code

https://claude.ai/code/session_012wmNZaAvWRdkfLtjKo7fND


Generated by Claude Code

Codex CLI 0.160.0 starts a background app server and records its start
time with `ps -p PID -o stat=,lstart=`. BusyBox ps rejects those options,
so every launch failed with "failed to read start time for pid-managed app
server" and the menu redrew over the error. Install procps-ng, fail the
image build if ps cannot answer that query, and have the menu wait for
Enter when Codex exits with an error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wmNZaAvWRdkfLtjKo7fND

jgassens commented Oct 3, 2026

Copy link
Copy Markdown
Owner Author

Source and tests fails at npm audit --audit-level=high, and the cause is outside this PR. GHSA-vfj7-8cjw-p6xm (stack exhaustion in braces, affected range *) was published after 2.13.0 merged. It reaches the image service through http-proxy-middleware@2.0.10 → micromatch@4.0.8 → braces@3.0.3, it fails the same way on main, and this PR changes no npm dependencies.

No fix exists yet: braces@3.0.3 is the latest release, and every http-proxy-middleware line (including 3.x) depends on micromatch. Real-world exposure looks nil. server.js calls createProxyMiddleware without a path-filter context, so micromatch never compiles a pattern, and the advisory needs an attacker-controlled pattern. All Python and Node tests in this job passed.

Options are to wait for a patched braces, or to explicitly allow this one advisory in the audit step. The second weakens the security gate, so the repo owner decides.


Generated by Claude Code

readProcessSnapshot ran `ps -o pid=,ppid=,user=,args=` with no selection
flag. BusyBox lists every process for that; procps-ng, now installed for
Codex 0.160.0, lists only processes on the caller's terminal. The service
has no terminal, so pane-descendant checks would report the Shell pane idle
mid-sign-in and cancel would find no sign-in process. Pass -e, and make the
integration-test ps stubs reject a call without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wmNZaAvWRdkfLtjKo7fND
@jgassens
jgassens merged commit 59926f5 into main Oct 4, 2026
2 of 3 checks passed
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.

2 participants