Repository navigation
test(js/net): a reader without ranges keeps a history reader's floor - #8697
Merged
Merged
Conversation
Quest-Claim: a7854af5a06e5812
The demand [{}] reaches back to the oldest group, as Rust's Range::oldest()
default does, so it covers any history floor. Deletes the quest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 14, 2026 01:16
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes: the full diff (2 files). I checked the test's expectations against subscriptionDefaults, union and rangesStart in js/net/src.
- New test in
js/net/src/track.test.ts: pins that a reader with norangesbeside a history reader gives the demand[{}]with no absolute floor, and that an explicitLIVEreader keeps both ranges. Both match the code (ranges: [{}]default,unioncollapsing to[{}],rangesStartreturningundefined). - Deleted quest
quest/m1/live-history-demand.md: the quest is settled because the test shows the demand was already correct.
claude-sonnet-5-5 | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Settles quest/m1/live-history-demand with a test. The demand was already right, so this PR deletes the quest.
The
[{}]demand seen during #8643 is not an open live range.{}with no start means "from the oldest group". JSsubscriptionDefaultsgives a reader with norangesthe range[{}], and Rust'sSubscription::defaultgives itRange::oldest().unioncollapses the pair to[{}], which reaches below any history floor, andrangesStartreports no absolute floor (oldest) to the wire.The new test in
js/net/src/track.test.tspins:[5, 9)beside a reader with no ranges: the demand is[{}], with no absolute start;[5, 9)beside an explicitLIVEreader: the demand keeps both ranges.Decisions
Impact
Tests only. No change to the public API or the wire.
Caused by
None: no bug.
Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown effort
🤖 Generated with Claude Code
(Written by Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: eca3fd7
Base: origin/main at 98e54e7
Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a1d7a0-3fce-7983-b636-3e6c1b0619d6, round 1Score: 10/10,
The new test matches existing range-defaulting and union behavior, and deleting the resolved quest is consistent with its goal; source inspection found no actionable defects, and tests were not run as instructed.Rounds: 1; findings 0: fixed 0, refuted 0, open 0
Findings: none