Skip to content

fix(codex): wait for detached join repair - #529

Merged
joelteply merged 1 commit into
canaryfrom
codex/wait-for-detached-repair
May 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
codex/wait-for-detached-repair

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

  • make Codex airc join skip detached launch when the current scope is already healthy and has no duplicate transport generation
  • when detached launch is needed, wait for fresh pidfile-owned live process evidence instead of a fixed 2s sleep
  • add codex_join_waits_for_duplicate_repair, a focused regression for the live post-fix(join): reap duplicate same-scope transports #528 finding where Codex printed status before duplicate-generation self-heal finished

Validation

  • bash -n lib/airc_bash/cmd_status.sh test/integration.sh
  • ./test/integration.sh codex_join_waits_for_duplicate_repair
  • ./test/integration.sh codex_join_detaches_transport
  • ./test/integration.sh join_reaps_duplicate_scope_transport

Notes

The new test canonicalizes /tmp to /private/tmp on macOS, matching codex_start.py production behavior so scope-path process matching is tested honestly.

Copilot AI review requested due to automatic review settings May 6, 2026 15:03
@joelteply
joelteply merged commit ccd40c4 into canary May 6, 2026
8 checks passed
@joelteply
joelteply deleted the codex/wait-for-detached-repair branch May 6, 2026 15:04
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.

1 participant