GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — doc: decision record for Cloudflare Workers rendezvous/relay component (#5794) by dezren39 · Pull Request #6260 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 384a6562e8
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| - **Workers as an iroh/DERP relay or QUIC peer.** Impossible on the | ||
| platform (no UDP), not merely hard. Rejected by physics, recorded so | ||
| it is not re-proposed. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Distinguish an iroh relay from a QUIC endpoint
For the UDP-denied case this component targets, missing UDP sockets does not rule out an iroh-compatible relay: iroh's protocol description explains that endpoints connect over HTTPS, upgrade to WebSockets, and exchange encrypted datagrams through a forwarder that does not terminate QUIC. This rejection conflates running a QUIC endpoint with forwarding its encapsulated packets, excluding a potentially compatible alternative on an incorrect platform premise. Evaluate relay-protocol compatibility separately; lack of UDP alone is not sufficient grounds to require a self-hosted relay.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 76a8923. Agreed — the record conflated endpoint-hood with relay forwarding. It now distinguishes the two explicitly: a Worker cannot be a QUIC/iroh endpoint (no UDP), but iroh relay forwarding is HTTPS/WebSocket-shaped and is not ruled out by the platform wall; wire-compatibility of the pairing with the iroh relay protocol is recorded as a required implementation-time evaluation, open in both directions, and the self-hosted-required section was narrowed accordingly.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| - **WebSocket message size in Durable Objects: 1 MiB** (Workers limits | ||
| doc, Durable Objects table) **[verified 2026-11-05]**. Consequence: | ||
| frames above 1 MiB must be chunked by the *endpoints'* framing layer; | ||
| the relay forwards frames, it does not reassemble streams. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Correct the platform limit before requiring 1 MiB chunking
For future implementations handling messages larger than 1 MiB, this incorrectly makes endpoint-level chunking a platform requirement. Cloudflare's Durable Objects limits list a received WebSocket message limit of 32 MiB for both storage backends, not 1 MiB. Correct the verified limit and its framing consequence, or explicitly identify 1 MiB as a deliberate application cap rather than a Cloudflare restriction; otherwise the record imposes unnecessary framing work and uses an understated limit to justify its throughput constraints.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 76a8923. Verified against the Durable Objects limits doc (linked in the record header): received WebSocket message limit is 32 MiB for both storage backends. The record now states 32 MiB as the platform limit, and presents a smaller frame cap (1 MiB suggested) explicitly as a deliberate application-level judgment (per-message CPU/memory/head-of-line bounds), not a Cloudflare restriction.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…, DO ws limit 32 MiB
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 76a892361b
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| a worse product and a more expensive one; WebSocket upgrade is plain | ||
| HTTPS and passes the same egress. Rejected except as a possible |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Distinguish HTTPS reachability from WebSocket availability
For restricted networks whose proxy permits HTTPS requests but blocks WebSocket upgrades, this relay remains unreachable even though HTTP polling could work. WebSocket traffic does not necessarily pass the same egress: Microsoft's transport documentation explicitly describes falling back to long polling when a proxy blocks WebSockets. This distinction matters for the component's UDP-denied-network use case and invalidates the reachability premise used here to reject polling. Explicitly require WebSocket-capable egress in the supported-environment criteria and acknowledge the HTTPS-only coverage gap, rather than treating ordinary HTTPS access as sufficient.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in the new commit. Agreed — HTTPS reachability and WebSocket availability are distinct egress capabilities. The record now (1) adds WebSocket-capable egress as an explicit supported-environment criterion for the relay role, naming the HTTPS-only/WebSocket-blocked case as a real coverage gap that falls to #5671's other tiers; (2) corrects the polling alternative: it is rejected as this component's primary shape on latency/metering grounds only, and stays a live candidate for a parent-level last-ditch tier covering that gap; (3) notes the rendezvous role is plain HTTPS and unaffected.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…rement from HTTPS
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
id: design: Cloudflare Workers rendezvous/relay component (from #5671)
There was an error while loading. Please reload this page.