8000 feat(review): retry failed reviews and load source previews on demand by redoh · Pull Request #13 · inkspect-code-review/inkspect-ui · GitHub
[go: up one dir, main page]

Skip to content

feat(review): retry failed reviews and load source previews on demand - #13

Merged
redoh merged 1 commit into
mainfrom
codex/review-retries-and-source-previews
Nov 23, 2026
Merged

redoh merged 1 commit into
mainfrom
codex/review-retries-and-source-previews

Conversation

@redoh
@redoh redoh commented Nov 23, 2026
Copy link
Copy Markdown
Contributor

What changes and why?

Offer review retries for failed or cancelled PR reviews, including those using the server-selected model. Clarify auto-fix actions, defer source snippet loading, surface index freshness and size limits, and allow integrations to supply review usage details.

Validation

  • npm run audit, npm test (32 passed), npm run lint and npm run build passed.
  • The self-hosted runtime smoke passed against disposable PostgreSQL with this built UI.

@inkspectsi
inkspectsi Bot commented Nov 23, 2026 •
Copy link
Copy Markdown

No blocking issues found

Commit: 54c13ac

The change adds confirmed retries for failed or cancelled reviews, defers source previews until opened, supports integration-provided usage details, and updates indexing messages. The supplied diff shows no concrete blocking defect or secret exposure. Added tests cover retry payloads, confirmation cancellation, and deferred snippet requests. Tests were not executed during this review.

Change vs. PR intent: Aligned. The changed UI implements the stated retry, on-demand preview, usage integration, and indexing-message features.

Scores

Area Score Rationale
Code quality █████ 5/5 The changes reuse a shared submission function, gate previews through explicit selection, and add focused interaction tests.
Security █████ 5/5 No embedded credentials or newly exposed secrets were found, and the retry action requires confirmation before submitting the saved review snapshot.

Confirmed review retries and on-demand source previews

flowchart LR
    n0["Connected repository with a failed or cancelled review"]
    n1["Confirm retry for the saved PR and commit"]
    n2["Submit saved repository, snapshot, and retry job ID"]
    n3["Select the returned review"]
    n4["Source buttons render without a preview"]
    n5["Mount the selected source preview"]
    n0 -->|"Choose Retry review"| n1
    n1 -->|"Confirm Start review"| n2
    n2 -->|"Submission succeeds"| n3
    n4 -->|"Open a source"| n5
    n5 -->|"Close the selected source"| n4
Loading

No findings on the changed lines.

Code-focused review. 1 documentation or validation file(s) were searched for supporting excerpts.

View the full report in Inkspect


Reviewed by Inkspect · engine v0.0.52

@redoh
redoh merged commit 1bd4d43 into main Nov 23, 2026
4 checks passed
@redoh
redoh deleted the codex/review-retries-and-source-previews branch November 23, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0