Repository navigation
fix(stargate): bound proxy retries and relay retention #1820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+266
−3
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
45c949e
fix(stargate): enforce protocol input and header contracts
barrygreengus 0ff037c
build(stargate): refresh schema compiler dependency metadata
barrygreengus ac6a66f
refactor(stargate): avoid repeated hop-header filtering
barrygreengus 08ef4de
refactor(stargate): inline the H3 host exclusion
barrygreengus a23eeb8
fix(stargate): bound proxy retries and relay retention
barrygreengus 1b1912b
fix(stargate): preserve fair QUIC stream admission
barrygreengus e0a4167
revert(stargate): restore bidirectional relay priority
barrygreengus b222a3b
docs(stargate): record router deployment invariants
barrygreengus 041e991
fix(stargate): preserve submitted request ambiguity
FamousDirector f19f23f
fix(stargate): reconcile protocol fixes with current main
FamousDirector 20f7157
chore(stargate): merge latest main into protocol fixes
FamousDirector 168b6f3
chore(stargate): reconcile proxy layer with reviewed protocol
FamousDirector 96fb7b4
chore(stargate): update proxy base to merged main
FamousDirector ff7985d
fix(stargate): count ambiguous delivery failures
FamousDirector File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Stargate agent guide | ||
|
|
||
| This guidance covers the Rust workspace, including `stargate-k8s-router` and | ||
| the shared `stargate-forwarding` crate. | ||
|
|
||
| ## Assumed deployment invariants | ||
|
|
||
| - `stargate-k8s-router` supports `raw-quic` and `webtransport` tunnel traffic. | ||
| Plain `http3` tunnel traffic uses an L4 path and does not pass through this router. | ||
| - Raw QUIC request streams are bidirectional. During drain, prioritizing | ||
| bidirectional acceptance over unidirectional acceptance is intentional. | ||
| - WebTransport uses a separate session bridge. Do not infer a plain HTTP/3 | ||
| stream fairness requirement for the raw QUIC relay from that implementation. | ||
|
|
||
| For router transport changes, inspect `crates/stargate-k8s-router/src/quic.rs` | ||
| and `crates/stargate-forwarding/src/lib.rs`. The | ||
| [transport guide](docs/tunnel-transports.md) describes available protocol | ||
| implementations and their routing paths. | ||
|
|
||
| ## Build and verification | ||
|
|
||
| Run commands from this directory. For router and relay Rust changes: | ||
|
|
||
| ```sh | ||
| cargo build --locked -p stargate-k8s-router | ||
| cargo test --locked -p stargate-k8s-router -p stargate-forwarding -- --test-threads=1 | ||
| cargo clippy --locked -p stargate-k8s-router -p stargate-forwarding --all-targets -- -D warnings | ||
| cargo fmt --all -- --check | ||
| ``` | ||
|
|
||
| For other Rust changes, select the affected workspace packages with `-p`. | ||
| For documentation changes, check whitespace and link targets. | ||
|
|
||
| ## Code style | ||
|
|
||
| Use Rust 2024 and the workspace formatter and Clippy rules. Match existing | ||
| crate structure and use `tracing` for structured logs. Keep deployment | ||
| assumptions explicit when reviewing transport behavior. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| @AGENTS.md |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.