Skip to content

fix(join): reap duplicate same-scope transports - #528

Merged
joelteply merged 1 commit into
canaryfrom
codex/join-reaps-duplicate-scope-transport
May 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
codex/join-reaps-duplicate-scope-transport

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

  • make airc join detect duplicate same-scope transport generations before short-circuiting as already joined
  • widen join self-heal restart to reap scope-path-tagged bearer/formatter/handshake children plus their airc wrapper ancestors
  • leave UI-only log_tail attach streams out of the transport reap set
  • add an integration regression for duplicate formatter processes in one scope

Validation

  • bash -n lib/airc_bash/cmd_connect.sh test/integration.sh
  • ./test/integration.sh join_reaps_duplicate_scope_transport
  • ./test/integration.sh attach_starts_background_transport
  • ./test/integration.sh codex_join_detaches_transport
  • ./test/integration.sh monitor_liveness_process_evidence
  • ./test/integration.sh send_gone_gist_does_not_claim_delivery

Note: these scenarios are not parallel-safe because the integration harness has global /tmp cleanup; validation was rerun sequentially after a parallel collision exposed that.

Copilot AI review requested due to automatic review settings May 6, 2026 14:54
@joelteply
joelteply merged commit 75464ac into canary May 6, 2026
8 checks passed
@joelteply
joelteply deleted the codex/join-reaps-duplicate-scope-transport branch May 6, 2026 14:55
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