Repository navigation
codex-plugin-cc v1.1.1
Lifecycle hardening release: idle brokers stop accumulating.
Fixed
- Broker idle self-terminate (upstream openai#457): the shared Codex runtime exits after 30 minutes without a connected client (
CODEX_COMPANION_BROKER_IDLE_TIMEOUT_MS/--idle-timeout; exactly0disables), so idle brokers and their app-server children no longer accumulate (openai#543). - Broker lifecycle races found while merging openai#457: a broker that self-terminates drops its
broker.jsonownership record;SessionEndteardown verifies the recorded PID really is this session's broker before signalling it; the broker stops listening before it closes its app-server child, so a client connecting mid-shutdown is refused instead of failing its first RPC. - The test suite no longer leaks fake
codex app-server/broker processes (5 s idle timeout in the test environment; CI fails if anycodex-plugin-test-*process survives). - Rescue shell blocks use
command rm -f --in their cleanup trap (no noise fromrmaliases such astrash).
Validation
- Exact tag target:
6672679a39e564506654c825d3fea7ea5758eebc(merge of #2) - GitHub CI: 150/150 tests, no leaked test processes, build green — https://github.com/CBEPX/codex-plugin-cc/actions/runs/33123122013
- Review: Codex adversarial review (two lifecycle races found and fixed before tag) + Claude (opus) review
- Live check (Claude Code 2.1.247, auto mode):
/codex:statusand/codex:rescue --model sol --effort maxrun without permission prompts; rescue returns synchronously
Artifact
c5f0a4c2e5413e43bbca15a15d7c82294c746308b57e74274ea1be54a4908a0f cbepx-codex-plugin-cc-1.1.1.tgz