Skip to content

feat(p2p-09): add data-plane redirect plumbing (#671)#9

Open
jlon wants to merge 2 commits into
p2p-08-runtime-policy-syncfrom
p2p-09-data-plane-redirect
Open

feat(p2p-09): add data-plane redirect plumbing (#671)#9
jlon wants to merge 2 commits into
p2p-08-runtime-policy-syncfrom
p2p-09-data-plane-redirect

Conversation

@jlon
Copy link
Copy Markdown
Owner

@jlon jlon commented Mar 26, 2026

Summary

  • Introduce control-plane redirects and ticketed follow-up fetches for the P2P data plane.
  • Keep this slice intermediate-only; rollout-safe redirect behavior still depends on later correctness and lifecycle hardening.

Design

  • Redirect only when the first chunk is serviceable and preserve direct worker fallback.
  • Isolate redirect/ticket plumbing from later correctness and performance work to keep review scope narrow.

Implementation

  • Add redirect responses, data-plane listener/bind lifecycle, and framing for redirected fetches.
  • Wire block follow-up reads and the fetched-cache visibility required for redirected fetches.

Verification

  • Verify redirects only occur when the first chunk can be served.
  • Verify follow-up responses avoid useless tickets and worker fallback remains available.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@jlon jlon force-pushed the p2p-08-runtime-policy-sync branch from aff5165 to d10272d Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from 8df93d8 to cb050bc Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-08-runtime-policy-sync branch from d10272d to ec1930b Compare March 27, 2026 09:32
@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from cb050bc to d73b245 Compare March 27, 2026 09:32
@jlon jlon force-pushed the p2p-08-runtime-policy-sync branch from ec1930b to 07c2d7f Compare March 30, 2026 00:55
@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from d73b245 to b5dce20 Compare March 30, 2026 00:55
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