Repository navigation
fix(verify-live): retry capacity 503s, skip closed PRs, report the summary - #270
Conversation
The live canary now filters the PR set down to open, non-draft pull requests before queueing, since merged or draft PRs are declined immediately and would otherwise show up as misleading "Not reviewed" failures. Enqueue requests are retried while the admin route answers 503, with latency measured from the moment the server accepts each request rather than from the end of the burst, and the percentile summary no longer aborts under set -e when a test fails as the loop's last command. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
…s at deadline The percentile helper now skips empty input lines so blank output no longer skews the computed value. The canary run also terminates any dispatcher jobs still retrying at the deadline before collecting logs, so lingering retries don't pollute the results. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The canary tier now filters its PR set down to open pull requests before queueing, since a merged PR is declined instantly and would read as a false failure, and it retries the admin route's 503 so bursts larger than review_concurrency wait their turn instead of aborting. The default PR set drops the merged entries and the queueing log line moved after filtering so it reports the count actually queued. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): fix(verify-live): retry capacity 503s, skip closed PRs, report the summary. Tiny Sweeper completed its review; deterministic results follow. Review snapshot
Completeness: Complete Features
TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
|
Warning Review limit reached
This review includes 2 billable files and costs up to $0.50. Or wait 31 minutes for your next included review. View limit details
Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
What changed
The first production canary run after the #265/#266/#268 deploy turned up three bugs in
scripts/verify-live.sh canary:skip #N: MERGED, and exits 2 if none are left. The default set drops the merged PRs, and the doc table is updated./admin/reviewsadmits a manual review only while a review slot is free (with_manual_review_admission→ReviewCapacityFull→ 503). 4 of 8 requests in the burst were refused and never ran. Each PR is now dispatched in its own retry loop: it retries every 10s on 503 until the deadline and fails on any other status. Latency is measured from the moment the server accepted each PR.[ … ] && echo. A false test as the last command killed the run underset -e/pipefailbefore the summary and the PASS/FAIL line printed. It now usesif,pctignores blank input, and dispatchers still retrying at the deadline are stopped.Behaviour change
None in the server. This is the operator script and its doc only.
Verification
bash -nis clean.pcton mixed blank and number input gives the right median, and empty input gives-.canary --host robot1 8496 8477 8460(all merged) skips all three and exits 2 without queueing anything.