fix(rivetkit): wire CancellationToken through waitForNamesAvailable to eliminate KV busy-polling#5063
Conversation
|
🚅 Deployed to the rivet-pr-5063 environment in rivet-frontend
|
|
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. |
PR Review: Wire CancellationToken through waitForNamesAvailableSummary: This PR (RVT-6297) replaces a busy-polling loop in What's GoodCorrect use of existing patterns. The PR adopts the same Interface consistency. Adding the optional Net code reduction. The old polling logic had subtle edge cases (deadline drift from JS IssuesWASM runtime passes the signal but nothing handles it. The No test coverage visible. The PR description references RVT-6297 but there are no new or modified test files in the diff. Given the testing conventions in CLAUDE.md (no mocks, real infrastructure), it would be worth confirming that:
Minor Notes
VerdictThe core change is correct and a clear improvement. The main thing to confirm before merging is whether the WASM runtime silently drops the signal or actually honours it, and whether there is test coverage for the cancellation path. |
fea950d to
5e99ca7
Compare
d9123c0 to
50b18ec
Compare
50b18ec to
e7602e1
Compare
5e99ca7 to
0e4c8f5
Compare
e64e5c1 to
2be6cad
Compare
0e4c8f5 to
73cbe67
Compare
…o eliminate KV busy-polling
2be6cad to
f359aca
Compare
73cbe67 to
9dc7e20
Compare

Fixes RVT-6297