Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe incremental changes resolve all three prior findings: the error noun is now platform-aware, only a GitHub 403 maps to a rate limit, and unparseable or schema-invalid provider responses are reported as reached-but-unexpected with the original error retained as Files Reviewed (2 files)
Previous Review Summary (commit 8aaf801)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 8aaf801)Status: 3 Issues Found | Recommendation: Address before merge Executive SummaryThe local public-source error mapping is functionally correct and well tested; the remaining issues are inaccurate user-facing error copy for GitLab and a fallback branch that hides parse failures and discards the original error. Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
8aaf801 to
0fb339a
Compare
a1a0765 to
446e3b6
Compare
Changelog for users
Changelog for maintainers
TOO_MANY_REQUESTS; GitLab rate limits arrive as 429, and a GitLab 403 now falls through toBAD_GATEWAY. Tests cover both GitLab 429 and 403.BAD_GATEWAY"unexpected response" instead of "could not reach";isProviderResponseParseErrordetects them, including a cross-realmSyntaxError.cause, including the network-failure path.resolveLocalPublicSourceconverts public-provider failures to typed tRPC errors; the endpoint previously answered HTTP 500, and existingTRPCErrors and the connected-integration path remain unchanged.NOT_FOUND; other provider statuses map toBAD_GATEWAY; network failures, timeouts, and redirects report a retryable failure.toLocalSourceErroron theDEBUG_SHOW_DEV_UIlocal path; the new branch separates a reached-but-unparseable response from a network failure.E2E proof
The earlier e1 happy-path log excerpt is superseded by the current run's appended excerpts, which report the same review-creation path for vercel/next.js#98898 (android emulator-5554, 2026-09-18). The e1 error-toast and e2 happy-path captures remain valid, and the e2 fixture gap still applies: e2e-index.md names no github-stub PR fixture URLs and the stub 404s every /repos/.../pulls/N path, so the run pointed GITHUB_API_BASE_URL at https://api.github.com for the happy path.
[e1] Personal Code Reviewer → Manual review: submit https://github.com/kilo-seed/review-list/pull/3000 (a public PR URL that does not exist); the app shows an actionable error toast and no server 500. — the SCENE digest captured
GitHub could not find that pull request. Check the URL, or make sure the repository is public., copy emitted only bytoLocalSourceError, so the fixed local public path ran.[e1] Personal Code Reviewer → Manual review: submit a real open public GitHub PR URL; the review is created and the app navigates to the new review detail (happy path unchanged). — the review detail shows
vercel/next.js #98898 by lukesandbergand modelinclusionai/ling-3.0-flash-vl:free.[e2] Personal Code Reviewer → Manual review: submit a real open public GitHub PR URL; the review is created and the app navigates to the new review detail (happy path unchanged). — the review detail shows
QueuedandCreated Just now.Owner request
E2E proof — log excerpts