fix(review): paginate getLatestDeploymentStatus deployments and statuses (#7805) - #7832
fix(review): paginate getLatestDeploymentStatus deployments and statuses (#7805)#7832kai392 wants to merge 5 commits into
Conversation
…ses (JSONbored#7805) Reuse findAcrossPages for both GitHub list reads so preview URL discovery does not silently miss deployments or statuses beyond page 1. Closes JSONbored#7805 Co-authored-by: Cursor <cursoragent@cursor.com>
…e only Avoid a redundant page-1 refetch after pagination and satisfy exactOptionalPropertyTypes for latestState. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…JSONbored#7805) Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7832 +/- ##
==========================================
+ Coverage 88.65% 88.82% +0.16%
==========================================
Files 730 89 -641
Lines 76959 21360 -55599
Branches 22787 3727 -19060
==========================================
- Hits 68229 18972 -49257
+ Misses 7684 2196 -5488
+ Partials 1046 192 -854
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-21 14:45:27 UTC
Review summary Nits — 1 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (codecov/patch)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
getLatestDeploymentStatusdeployments-list and per-deployment-statuses reads viafindAcrossPages, matching the sibling functions already fixed in fix(review): paginate preview-url.ts's PR-comment and check-run GitHub reads #7469.findAcrossPagesto accept async probes so deployment pages can nest status pagination.Closes #7805
Test plan
test/unit/preview-url.test.tscover pagination + error pathssrc/review/**