Repository navigation
docs(adr): remove endgame hedging from multi-source fetch - #1448
Conversation
|
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 (2)
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 |
Review — spec-only removal of endgame hedgingWhat it does: deletes Verified on
|
…edging Removing endgame hedging left ADR 039 claiming more than the remaining mechanism delivers. `unit_deadline_ms` is a verified-progress deadline, so re-dispatch preempts a stalled source but never one that keeps delivering below the set's rate — precisely the case hedging covered. - Narrow the § Failure handling claim to what re-dispatch actually does, and name the slow-but-progressing source as the residual. - Record that residual as a § Negative bullet, restoring the trade-off ledger the removed double-pay bullet used to carry. - Answer the open question on #1442: § Scope boundary now records that speculative duplicates are out by decision rather than by sequencing, and that a capped, opt-in hedge is the option that returns if measured tail latency on large blobs demands one. - Promote "at most one source owns a unit at a time" into acceptance criterion 5, so the no-duplicate-dispatch property is testable. Spec-only; no implementation, protocol, or configuration surface changes. Refs #1442, #1448 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015cSoEK1Bh4eXEFw887mkJY
Summary
Rationale
Every delivered byte is paid, so speculative duplicate units add real spend. The scheduler now relies on source selection and deadline-based re-dispatch for tail handling without adding a replacement feature or wire surface.
Impact
This is spec-only. ADR 039 remains a draft multi-source-fetch design; no implementation, protocol, or configuration surface changes.
Validation
endgame|hedg(e|ing)across ADRs 038 and 039make -C adr check-book-listmake -C adr check-refsnpx --yes [email protected] --dot adr/038-bao-verified-range-streaming.md adr/039-multi-source-parallel-fetch.mdcargo fmt -- --checkcargo buildcargo clippy --workspace --all-targets -- -D warningsRUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps --document-private-itemsBaseline note:
cargo nextestis unavailable in the local environment. Thecargo test --workspacefallback stopped indecdn-cacheafter 110 passing tests when five existing S3 constructor tests panicked because the host native TLS trust store yielded no valid root certificates; the docs diff does not touch that code.Closes #1442