Repository navigation
fix(pm-stack): run the pm Cloudflare tunnel over HTTP/2, not QUIC (#5647) - #6324
Merged
Merged
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 54 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. |
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. |
2 tasks
This was referenced Nov 5, 2026
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.
Refs #5647. Queue task 10651 (follow-up enqueued by triage task 10096).
Root cause (from the task 10096 triage, recorded on #5647)
The pm-dispatch 502s are Cloudflare edge failures, not app failures: GitHub Actions callers receive the edge body
error code: 502while pm-dispatch itself stays healthy (401/health through the tunnel).pm-tunnel.service(cloudflared) logged QUIC drops —failed to accept QUIC stream: timeout: no recent network activity, connection terminated, re-registered — at 2026-11-05T11:36–11:37Z, ~20 minutes before Daily Upstream Sync run 42023264697 failed both dispatch POSTs with 502 at 11:58Z. The unit's ExecStart carried no--protocolflag, so the tunnel used the default QUIC transport over this host's flaky UDP path.Change
One line in
nixos/services/pm-stack/default.nix: the pm-tunnel ExecStart now passes--protocol http2, moving the tunnel transport to TCP, which does not depend on the UDP path QUIC needs. Flag placement verified against the deployed cloudflared binary (2026.10.7): the command parses and reaches token validation.Remaining to close #5647 (deploy + verify, deliberately not in this PR)
nixos-rebuild switchon the laptop host so pm-tunnel restarts on HTTP/2; confirm the journal shows tunnel connections registered with protocol http2 and no QUIC drop errors afterwards.POST /v1/sessionswith 2xx. Unauthenticated probes (401/health) are not sufficient evidence.🤖 Queue worker, lane code-s, task 10651.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.