Repository navigation
feat(cloud): retire the Frankfurt relay from Core - #1687
Merged
Merged
Conversation
Signed-off-by: Fredrik Ahlgren <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cbdd8a5871
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Fredrik Ahlgren <[email protected]>
This was referenced Oct 17, 2026
frahlg
added a commit
that referenced
this pull request
Nov 28, 2026
…2114) * fix(cloud): remove the retired relay client, keep the watch exchange Core stopped dialling the relay in #1687 and Uplink.Run never reaches the relay code. This is #1691 on current master: the dial loop, hourly handle rotation and epoch correction, the dead man's switch, the rendezvous handle, the relay's session table and the tests that drove a fake relay go. The tests that still matter run through the FTW Cloud tunnel. Unlike #1691, the watch exchange stays: #1819 moved it onto FTW Cloud. RotateRendezvousSecret goes; only a test called it. The box still puts the secret in the QR, so the pairing QR keeps its six segments. The software identity's route lookup asks for cloud.ftw.energy. Refs #1691 Signed-off-by: Fredrik Ahlgren <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(protocol): say FTW Cloud cannot read session contents The relay and the escrow are gone, so the three lines that named them now name FTW Cloud. The web client's working copy changes the same way in its paired pull request. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Fredrik Ahlgren <[email protected]> * docs: drop the relay from comments, and date the end of /v1/ohttp Comments in api_app_link.go, appproto's Tick and appenroll's package doc still named the relay as a live carrier. docs/architecture.md said the fleet report goes through an Oblivious HTTP relay once a release names one, and from a box that said yes; it goes straight to FTW Cloud, only with Cloud on. ADR 0008 gets a dated note that ftwcloudd no longer serves /v1/ohttp (srcfl/ftw-cloud#72). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Fredrik Ahlgren <[email protected]> --------- Signed-off-by: Fredrik Ahlgren <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
frahlg
added a commit
that referenced
this pull request
Nov 29, 2026
Core stopped dialling the relay in #1687 and #2114 removed its client. Handler.Tick and agentTick stayed, with only tests calling them, and comments and config.example.yaml still named the relay as the way a phone reaches the box. Remove Tick, its cadenceLeft counter, agentTick and errAgentEnded. A session through FTW Cloud streams with Push and Beat, and the agent sweep and revocation end an agent's holds and sessions. Tests that drove Tick now use Push, or Beat with the clock for a hidden session. Comments now name FTW Cloud where they named the relay. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remote apps now reach Core only through FTW Cloud. Core stops opening the Frankfurt relay socket and stops advertising the old command exchange. Existing inner Noise sessions and Core's command checks stay on the Cloud tunnel. Older app pairings may need a new QR.
Browser
box.unreachablenotices move to optional, bounded rows in the box-signed service-only roster. Core encrypts the notice and signs the short-lived VAPID authorization at home. The roster binds each subscription to the current enrolled device and epoch; revoked devices vanish before the subscription sweep. The Cloud service uses its existing offline timer and update grace. No HTTP deadman route, second socket or legacy bridge is added.Anonymous daily reports use
https://cloud.ftw.energy/v1/fleet. The exact seven-field report and bounded daily totals live in the public protocol module. An explicitly saved old default resolves to Cloud; private collectors keep their chosen address.Paired service: https://github.com/srcfl/ftw-cloud/pull/28. Merge this protocol source first, deploy the paired service next, then publish this Core beta. Do not publish the new Core build before the service can accept browser notice rows and fleet reports. Native iOS retirement is srcfl/ftw-app#83; the web client already shipped in srcfl/ftw-webapp#95. Cloud #14 and Core #1633 describe the paused relay-port proposal; this change uses the existing
/v1/boxand/v1/apptunnel.Validation: affected Core packages passed with the race detector; fleet schema/bounds, signed Cloud roster and QUIC golden vectors, real box command through Cloud with a trap on the retired relay address, current device epoch and revoke tests. Full local
make verifypassed (tests, vet, build and protocol/import boundaries). All required CI must pass before merge. No hardware or field soak is claimed. The minor changeset requires a beta; this does not promote stable.