Repository navigation
Docs: Correct install-stats collector comments from #1457's review - #1460
Conversation
Comment and wording fixes only; no behaviour changes. - The re-run note described a fix that would still miscount. The jobs endpoint defaults to filter=latest, which lists every job under the new attempt, so re-querying when run_attempt rises counts a failed-then-re-run leg once instead of twice. It now says an exact count needs filter=all with the carried-over copies dropped. - "That run is queried once more" held only for runs still in the last-100 window. Older records keep their old count. None of them failed, so the two rules agree on all of them. - The record shape comments now include installs_rule. - "had legs run" on the install-stats page is now "had legs that ran". Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Alan Cha <[email protected]>
|
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 19 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. Comment |
clawgenti
left a comment
There was a problem hiding this comment.
Comment-only follow-up to #1457's review: every changed line in the collector is a comment, and the corrected re-run note checks out against the API (run 39469900873, attempt 2: 15 jobs under filter=latest, 30 under filter=all).
All checks pass. Ready for human review.
Reviewed by clawgenti using the github-pr-review skill
Follow-up to huang195's review of #1457. Comment and wording changes only; no behaviour changes.
Summary
run_attemptand re-querying when it rises. That still miscounts, because the jobs endpoint defaults tofilter=latest, which lists every job under the new attempt, including copies of the jobs that weren't re-run. Confirmed on CI run 39469900873. The comment now says an exact count needsfilter=all, dropping each copy.{id, created_at, installs}comments now includeinstalls_rule.Test plan
shellcheckandsh -nclean.Assisted-By: Claude (Anthropic AI) [email protected]