Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🧠 Matt Pocock Skills Reviewer failed during the skills-based review. Agent messagesIncomplete work missing_terminal_safe_output
|
|
✅ PR Specification Reviewer completed successfully! Agent messagesNo-op message PR #81144 reviewed at head db61a22: aligned with applicable routing-history contracts; no actionable findings or specification updates, so no review publication was needed. PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. The
|
|
✅ Test Quality Sentinel completed test quality analysis.
|
|
✅ PR Code Quality Reviewer completed the code quality review. Agent messagesNo-op message Completed PR #81144 review: published one inline correctness finding, submitted REQUEST_CHANGES review, and recorded review history. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. The
|
|
✅ Ponytail Reviewer completed successfully!
|
There was a problem hiding this comment.
What this change does: It keeps routing-history searches within the Actions listing cap and continues through older creation-time windows. The tests cover large backlogs and timestamp ties.
Should fix
-
Share the pagination test fixtures
- What this is: The new cases build runs and call
listRunswith mostly identical fields. - Problem: Those copies must be updated together when the common fixture changes.
- Fix: Lift the existing local
runandreconcilehelpers and allow overrides for each case. - If we skip it: Future changes will need edits across many test setups.
- What this is: The new cases build runs and call
Verdict: fix 1 first.
Lean: -60 lines possible.
Generated by ✂️ Ponytail Reviewer for #81144 · codex · routed: gpt61 medium · ~8 AIC · ⌖ ~1 AIC · ⊞ 176
Comment /ponytail to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Found one correctness issue in the new bounded pagination: cached pages can become non-contiguous as new runs arrive during the walk-back, allowing reconciliation to advance past an omitted run. See the inline comment for the failure mode and mitigation.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.7K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The non-required Matt Pocock Skills Reviewer finished without publishing a review. Its collector reported |
🧪 Test Quality Sentinel Report🟢 Test Quality Score: 80/100 — Excellent
📊 Metrics (7 tests)
|
There was a problem hiding this comment.
✅ Test Quality Sentinel: 80/100. 0% implementation tests (threshold: 30%).
🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~8 AIC · ⌖ ~2 AIC · ⊞ 4.6K
Comment /review to run again
There was a problem hiding this comment.
🟡 Changes recommended
The search can exhaust its call budget before reaching the saved floor and restart without progress, leaving reconciliation unverified and new unsaved runs unreconciled as the backlog grows.
2 open issues
What changed in this PR
Updates adaptive-routing history reconciliation to respect GitHub Actions’ 1,000-result listing cap, addressing the pagination stall described in #81143.
Changes:
- Limits queries to ten pages and uses inclusive creation-time windows to reach older runs.
- Adds regression coverage for large backlogs, tied timestamps, truncated responses, and call-budget exhaustion.
- Documents the listing cap and reconciliation approach.
| File | Description |
|---|---|
docs/src/content/docs/reference/adaptive-routing.md |
Documents bounded pagination and creation-time windows. |
actions/setup/js/push_routing_history.test.cjs |
Models the API cap and adds reconciliation regression cases. |
actions/setup/js/push_routing_history.cjs |
Implements capped pagination, time windows, and verified coverage limits. |
Review effort: Max (adaptive)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🎉 This pull request is included in a new release. Release: |


Fixes #81143.
A save can stop advancing routing history even when the next run it needs is on page 2. The filtered Actions API reports more matches than it will serve, so choosing a page from
total_countalone can send the writer to an empty page on every save.I checked the
main-branch listing ofauto-triage-issues.lock.ymlon November 25. Page 1 reported 2,500 matches; page 2 returned runs 4,979 through 4,880, including run 4,901. The old search would first request page 13, which returned zero rows. This is an observation of the read-only API, not a claim that a particular save failed.The writer now stays within the first ten 100-run pages of each query. If the missing history is older, it starts another query at the previous window's oldest creation second. Including that second avoids losing runs with tied timestamps. When the call budget is exhausted, only a contiguous interval the writer can verify is eligible to advance; if it cannot establish that interval, the saved floor does not move. The adaptive-routing reference now describes this limit.
Validation on
edf652062990922d8d7b28890aeab98524962907: all 122 focused routing-history tests passed, as did TypeScript checking, Prettier, andmake agent-report-progressin a clean LF Linux checkout. The regression cases include a page-2 target in a 5,000-run listing, a 2,002-run backlog beyond the cap, and same-second boundaries where verification must stop early. Two more cases insert a run while a page is cached: with a changed count the writer retries on the next save, and with a capped count it corroborates the missing run before advancing. A sparse page-2 target now takes three requests (pages 1, 10 and 2) for both distinct and tied probe timestamps. No live workflow was dispatched.