Repository navigation
Conversation
Quest-Claim: 0e25b102145e6fc1
quest usage reads each PR's reviews, review threads, and comments from GitHub's GraphQL API, ten PRs a query, and reports each online reviewer's record: whether it reviewed the final head, and its findings accepted, declined, unclassified, or unanswered. A rollup gives each reviewer's coverage and answers over the merged PRs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ted titles apart Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 11, 2026 23:25
|
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 57 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. |
This branch has not been deployed
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.
quest usagenow reports, for each PR, each online reviewer's record read from GitHub: whether it reviewed the final head, and how many findings it raised and how many were accepted, declined, answered but unclassified, or left unanswered. A new rollup, over the merged PRs, gives each reviewer's coverage, final heads reviewed, findings per PR reviewed, and acceptance. The PR body gains nothing, and no reviewer is named in the code. Finishes and deletesquest/m0/routing-evidence/online-reviewers.md.Changes
src/cli/online-review.ts(new): reads each PR's reviews, review threads, and comments through GraphQL, ten PRs per query with aliases, then pages any connection that overflows using@includecursors. GitHub's existing rate-limit wait applies.Botreview author (shown aslogin[bot]), or a review whose body opens withAutomated review by <name>(shown as<name>, such asreview (OpenAI)).[P<n>]line, orP<n>followed by an em dash, in its review body. Body findings are matched across passes by title (the text up to the first spaced em dash,(,:, or.), with a repeated title in one body counted as another finding. A thread's comments past the first hundred are paged.#pullrequestreview-anchor or opens with a classifying word. It answers every pass it links, or else the latest earlier pass with findings. A reviewer bot's own comments (summaries, outage notices) answer nothing.src/cli/usage.ts: addsPullRow.online,Usage.online(OnlineRow), the per-PRonline review:line, and theOnline reviewers over merged PRs:rollup.quest usage --helpand README describe the rules. The README example gains the new line.Choices made without asking
[P2] Title, then an em dash and the location, andP2, an em dash, thenloc: title. Both are read, but a bareP<n>needs a dash after it, so prose like "P2 is" does not count.Validation
just checkandjust testpass. Newtest/online-review.test.tscovers classification, both marker forms, thread answers including self-resolve and reply-only reviews, a named reviewer's replies under the shared account, settle-by-later-pass, linked comment answers, and ignored bot notices.test/usage.test.tsmocks/graphqland checks the per-PR record, the rollup, and the text.quest --root ~/work/moq usage --since 2026-11-09reported 195 PRs in about a minute including ccusage, with this rollup:P2finding is unanswered at merge.Public API
quest usage --jsongainspulls[].onlineand a top-levelonlinearray, and the text output gains the lines above. No other CLI or wire change.Caused by
None. This is new reporting.
Follow-ups
Models
Review
Rewritten by
quest reviewafter each round.Head: 141fae1
Base: origin/main at 8b626b1
Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a1ccce-48c1-7411-999a-971ca39001bb, round 2Score: 10/10,
Code inspection confirms the linked-review attribution fix, and the incremental changes introduce no findings that block landing.Findings: none
The last round's findings, at 37d401e:
src/cli/online-review.ts:221:Apply answers to every explicitly linked review;The head collects every explicitly linked pass and applies the answer to each pass's findings, with a two-review regression case in test/online-review.test.ts.Reviewer: opencode, opencode-go/deepseek-v4.1-flash, high effort
Session:
ses_e3331a8c1ffeEa3o8xRCr53qCN, round 2Score: 10/10,
All six earlier findings are fixed at the head with matching code, docs, and tests, and the fixes add no new defect.Findings: none
The last round's findings, at 37d401e:
src/cli/online-review.ts:171:A single >100-comment review thread aborts the entire quest usage report;read() now pages a truncated thread's remaining comments through node(id:) and onlineReviews no longer throws, so a 101-comment thread is counted instead of aborting the whole report (the usage test puts the answer on the thread's second page).src/cli/online-review.ts:36:Title truncation collapses distinct findings and leaks answers between them;bodyFindings now appends an occurrence suffix to repeated truncated titles within one body, so two same-titled findings stay two (the new unit test covers exactly the Guard null (GET)/(POST) case), while cross-review matching by title and occurrence still recognizes relists as documented.src/cli/online-review.ts:189:A named reviewer can never be credited for resolving its own thread;The code is unchanged, but README now says a finding is settled by "a bot resolving its own thread", matching the code and the fact that a named reviewer's resolution cannot be told from the agent's since both post as the same account.src/cli/online-review.ts:77:A null PR or repository in the batch response kills the report with a misleading error;A null PR alias now fails with the clear message "GitHub has no PR #N in owner/repo for this token" instead of the generic invalid-response error, and failing the report rather than silently omitting a PR is a defensible fail-loud choice I cannot rebut.src/cli/online-review.ts:194:Docs promise every reviewing bot is shown, but reply-only reviews are invisible;README, the usage help text, and the module comment now all define a bot reviewer as one whose review has a body or opens a thread, matching the passes filter, with reply-only reviews excluded by design.src/cli/usage.ts:756:Singular finding prints as "1 findings";answers() now prints "1 finding" for a single finding and "N findings" otherwise, and the usage test asserts the singular form.🤖 Generated with Claude Code
(Written by Claude Opus 5.5 with medium)