Repository navigation
feat(analysis): add review classification and topic insights - #28
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 53d077da35
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: adbfafcd94
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
adbfafc to
0af0927
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0af0927e78
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e8a71adbfe
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4034ae4915
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0bbb899537
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46cbcd491a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| inArray(reviews.analysisStatus, ['pending', 'processing']), | ||
| and( | ||
| eq(reviews.analysisStatus, 'completed'), | ||
| eq(reviewAnalyses.catalogVersion, catalogVersion), | ||
| eq(reviewAnalyses.criteriaVersion, reviewAnalysisCriteriaVersion), |
There was a problem hiding this comment.
Treat stale completed classifications as outstanding work
After any Topic mutation increments the catalogue version, Reviews remain completed until their queued reclassification starts, but this predicate only considers completed analyses whose versions already match. If discovery runs in that window, it finds no current candidates, records the run complete, clears a manual request, and imposes the 24-hour cooldown even though enqueuePendingAnalysisJobs() explicitly queues those version-mismatched Reviews. The fresh evidence beyond the earlier pending/processing fix is this still-unhandled completed-but-stale state; include missing or version-mismatched completed analyses as outstanding before completing an empty discovery run.
Useful? React with 👍 / 👎.
Summary
Add Review Analysis so teams can explore reported severity, recurring topics and the Reviews behind each signal, with human corrections and an App-scoped topic catalogue shared across stores.
Includes topic renaming/merging with aliases, SQL aggregates and paginated drill-down, English/French UI strings, documentation and marketing-site updates.
Test plan
Risk
0008_review_analysis.sql; enabling classification backfills the complete imported history.TYPESAFE_API_KEYis required for classification; topic discovery also uses the existingAI_*configuration. Without the TypeSafe key, stored results remain accessible and dependent jobs are disabled.