Repository navigation
fix(node): restore 500ms probe timeout - #1269
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Warning Review limit reached
Next review available in: 53 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (6)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Contracts coverageLine coverage: 88.92% (2488/2798 lines) |
Gas snapshotNo gas changes vs base. |
Coverage reportTotal: 81.21% (was 81.21%, ● 0.00%) — 48330/59514 lines
History
|
ReviewVerdict: LGTM. The fix is correct, the derived deadline arithmetic checks out, and every prose restatement of the old numbers was found and updated. Verified
One follow-up worth an issue (not this PR)
Nit (take or leave)The |
Summary
Root cause
The probe timeout was correctly reduced to 500 milliseconds, but a later relocation of the constant from
node_origin.rstoselection.rscopied back the earlier 5-second value and documentation. BecausePULL_THROUGH_OUTER_SLACKderives from that constant, the regression also inflated the default outer pull-through deadline from 167.5 seconds to 172 seconds.Impact
Cold-miss probe collection again stops after 500 milliseconds, avoiding the 10x latency regression. Lookup rounds, probe behavior, all other timeouts, and ADR policy are unchanged.
Validation
cargo test -p decdn-node selection::tests --lib— 43 passed and the two new guards failed with5s != 500msand172s != 167.5scargo test -p decdn-node selection::tests --lib— 45 passedcargo test -p decdn-cli default_config_template_parses— passedcargo fmt -- --check— passedcargo clippy -p decdn-node -p decdn-cli --all-targets -- -D warnings— passedcargo test -p decdn-nodecompiled and ran 630 library tests: 601 passed; 29 unrelated socket/OS tests were blocked by the restricted sandbox withOperation not permitted, and the environment denied an unsandboxed rerunCloses #1220