fix(pb-envoy): hard abort ws to tunnel on ping error#4776
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
3aa9cc4 to
f537c84
Compare
e50b3e3 to
5f322c0
Compare
Code Review: fix(pb-envoy): hard abort ws to tunnel on ping errorOverviewThis PR addresses three issues:
Bug Fix: Critical issue in
|
| Area | Assessment |
|---|---|
drain_grace_period fix |
Critical bug fix: 10,000 s to 10 s is correct |
CancellationToken approach |
Clean and idiomatic |
| Hard abort on ping failure | Correct - confirm ws_to_tunnel has no cleanup invariants |
| Comment quality | Minor grammar and clarity nits |
| Test coverage | No tests added; ping-error path and demuxer cancellation would benefit from coverage |
The PR description checklist is empty - worth filling in (noting this is a bug fix and which tests were run).
Code ReviewOverviewThis PR has two distinct changes:
|
| Area | Verdict |
|---|---|
| Hard abort on ping failure | Correct, necessary for KV safety |
| Demuxer cancellation token | Cleaner than abort(), shutdown logic is correct |
drain_grace_period fix |
Fixes a silent ~2.7-hour default regression |
| Comment quality | Two comments have typos/missing words |
| Test coverage | No new tests; a note on how the ping-error path was manually verified would help |

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: