refactor(security-agent): redesign analysis jobs & findings UI with smart retry#481
Merged
jeanduplessis merged 4 commits intomainfrom Feb 24, 2026
Merged
Conversation
…analysis fails When triage succeeds but sandbox analysis fails, the finding detail dialog now shows the error message and a retry button below the triage results. Previously these were hidden because the error/retry UI was in a mutually exclusive branch that required no analysis data at all. Add retrySandboxOnly parameter to skip redundant triage on retry, reusing existing triage data and going straight to sandbox analysis. Falls back to full analysis if no prior triage exists.
43c529e to
d5edfc5
Compare
Contributor
Code Review SummaryStatus: No New Issues Found | Recommendation: Merge The previous review flagged 2 issues (see inline comments). After re-reviewing the full diff with latest changes, no additional issues were found.
Highlights
Files Reviewed (9 files)
|
…emove forceSandbox from public API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
retrySandboxOnlyAPI parameter so retries skip redundant triage and go straight to sandbox analysis, reusing existing triage data (falls back to full analysis if no prior triage exists)Details
The AnalysisJobsCard was previously a Card component rendering each job as a bordered item with multiple sections. It is now a flat list of grid rows with a summary bar showing running/completed/failed counts. Each row is clickable and opens the FindingDetailDialog directly.
SecurityFindingRow was similarly refactored to a 5-column grid layout matching the new AnalysisJobsCard rows, with failed findings showing a "Retry" button (with tooltip showing the error) instead of "Analyze".
The retry optimization (
retrySandboxOnly) applies across all surfaces: finding detail dialog, findings list row, and analysis jobs card.Also includes an unrelated fix in cloud-agent-next to return an actionable error when
NEXTAUTH_SECRETis not configured.Screenshots