Skip to content

[sgl-router] Release cancelled circuit-breaker probes - #40603

Merged
sherlockwu merged 1 commit into
mainfrom
codex/router-cancelled-probes
Sep 21, 2026
Merged

sherlockwu merged 1 commit into
mainfrom
codex/router-cancelled-probes

Conversation

@sherlockwu

@sherlockwu sherlockwu commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Cancelling a half-open upstream request left its circuit-breaker probe occupied indefinitely, excluding the worker even after recovery.

Modifications

Use an admission guard that releases its own unfinished probe on cancellation. A generation check prevents old requests from releasing newer probes; streaming completion keeps its existing outcome accounting.

Accuracy Tests

cargo test --workspace --lib --tests --quiet passed, including two focused regressions for probe ownership and cancellation of both forwarding paths.

Speed Tests and Profiling

Not applicable; no inference changes.


CI States

Latest PR Test (Base): ✅ Run #35631342757
Latest PR Test (Extra): 🚫 Run #35653348360
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.

@sherlockwu
sherlockwu added this pull request to stack #40625 September 21, 2026 20:36
@sherlockwu sherlockwu added router run-ci CI: run the baseline test suite on this PR labels Sep 21, 2026
@sherlockwu
sherlockwu merged commit d47b8c4 into main Sep 21, 2026
124 of 142 checks passed
@sherlockwu
sherlockwu deleted the codex/router-cancelled-probes branch September 21, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

router run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants