Skip to content

lisa/feat-ai-diagnostics#423

Merged
gusfcarvalho merged 5 commits into
mainfrom
lisa/feat-ai-diagnostics
Jun 18, 2026
Merged

lisa/feat-ai-diagnostics#423
gusfcarvalho merged 5 commits into
mainfrom
lisa/feat-ai-diagnostics

Conversation

@ccf-lisa

@ccf-lisa ccf-lisa Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

automated implementation by lisa.

@gusfcarvalho gusfcarvalho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings inline (both Low / non-blocking). Solid PR — the substantive correctness issues were already caught and fixed in the two prior self-review passes (rate-limit snooze budget on persisted count, pending-only pressure check, recent-failure window on cell.completed_at, live cell-level totals), each with a real regression test. Remaining notes: loadQueue's success path is untested because the integration DB has no river_job table, and a cosmetic meta:{} always-emitted nit. go build/vet/gofmt clean; check-diff green.

Comment thread internal/api/handler/oscal/dashboard_suggestion_diagnostics.go
Comment thread internal/api/handler/oscal/dashboard_suggestion_diagnostics.go

@gusfcarvalho gusfcarvalho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. The new commit (7a45620) addresses the Low finding from the prior round: TestAiDiagnosticsSummaryQueueSuccessPath seeds a real Postgres river_job table across every state plus an 'other' queue, and asserts the per-state counts, 24h completed/discarded sums, and oldestAvailableAt — exercising the previously-untested state::text GROUP BY, the SUM(CASE...) query, and the min(CASE WHEN state IN ? ...) placeholder binding. The meta:{} nit was a cosmetic acknowledgement. go build / vet / gofmt clean and all four CI checks (check-diff, unit-tests, integration-tests, lint) are green. Nice work.

@ccf-lisa

ccf-lisa Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

PR approved. Marking as ready for e2e.

@gusfcarvalho gusfcarvalho merged commit 970969b into main Jun 18, 2026
4 checks passed
@gusfcarvalho gusfcarvalho deleted the lisa/feat-ai-diagnostics branch June 18, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant