#1822

Keep geographic chat connected through relay outages

Opena1denvalu3wants to merge intofrom

Geo channels currently stop when their nearest relays fail, and directory refreshes leave existing subscriptions on old targets.

  • Publish and subscribe through five nearest relays plus five shared warm backups, so users stay reachable during partial outages.
  • Queue geo messages even before the directory loads; migrate subscriptions and pending writes together on refresh, preserving identities and filters.
  • Retry needed connections, detect silent sockets with pings, retain failed writes, and retire relays when their last owner disappears.

Validation: Swift app/package tests, performance gates, SwiftLint, unused-code checks, and 20 directory tooling tests passed. Simulator tests and release builds are running.

Tradeoff: up to five additional relay connections per geographic route; ten candidates maximum.

Companion: Android #1011.

Activity

7
chatgpt-codex-connector[bot]4d ago

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

ReviewStatusCommitReview trigger
📝 Code Review✅ Completed 2026-10-26T15:46:50.144090Zc6abe2bDraft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

chatgpt-codex-connector[bot]reviewed4d ago
chatgpt-codex-connector[bot]4d ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c6abe2ba14

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".