Skip to content

fix(cloud): remove retired relay code and DNS dependency - #1691

Open
frahlg wants to merge 1 commit into
masterfrom
codex/remove-retired-relay-20261017
Open

frahlg wants to merge 1 commit into
masterfrom
codex/remove-retired-relay-20261017

Conversation

@frahlg

@frahlg frahlg commented Oct 17, 2026

Copy link
Copy Markdown
Member

Core v0.147.0 stopped opening the Frankfurt relay socket in #1687, but the relay client, retry/rotation code, HTTP deadman client and Watch exchange still remained in the source. Software identity also still resolved the retired relay host when asking the kernel which physical interface to use.

This removes those retired paths and uses cloud.ftw.energy for that route lookup. App sessions keep the existing Cloud tunnel and Noise handshake. The startup log now says the app link is ready through Cloud, rather than claiming an established relay connection. Stored identity files and keys are unchanged by this patch; route ambiguity and interface checks still fail closed.

Relay and exchange fixtures are removed. The command retry and in-flight API revocation tests now run through the Cloud tunnel; the existing tunnel tests still cover pairing, forged device IDs, replay, revocation and live updates. The identity regression fails before the host change and passes afterward, including shuffled IPv4/IPv6 answers and physical-interface checks.

Validation: full make verify and race tests for appproto, appuplink and gatewayidentity. No box update, restart or release was performed. Target-box preservation and startup checks belong to the next beta trial.

The older overlapping #1633 is explicitly paused in favor of the existing Cloud tunnel. This follows the owner's instruction to remove the remaining relay code and adds no replacement relay or fallback.

Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T08:38:42.950319Z d1ce6d8 PR opened
ℹ️ 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.

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