Skip to content

Conversation

@jairo-litman
Copy link
Contributor

@jairo-litman jairo-litman commented Nov 7, 2025

This pull request introduces a new "Dry Run" or "Preview" feature for code review settings, allowing users to simulate code analysis without affecting actual pull requests.

Key changes include:

  • Dry Run Sidebar Integration: A new "Preview" button has been added to the code review settings layout. Clicking this button opens a sidebar (DryRunSidebar) where users can interact with the dry run functionality.
  • Pull Request Selection: Users can now select a specific Pull Request from a repository to run a preview against. The system fetches a list of pull requests for this purpose.
  • Real-time Preview Generation: A "Generate Preview" button initiates a dry run. The system connects to a Server-Sent Events (SSE) stream to provide real-time updates on the dry run's status, messages, and progress.
  • Dry Run Results Display: The sidebar displays the results of the dry run, including:
    • A summary of suggestions sent, suggestions found, and files analyzed.
    • A general description of the code review.
    • Detailed general messages and specific code suggestions.
    • For code suggestions, it can show a CodeDiff with existing and improved code snippets, along with category and severity badges.
  • Dry Run History: Users can load and view results from past dry run previews, with a search function to find specific historical runs.
  • New API Services and Hooks: New API endpoints and corresponding client-side services and React hooks (useDryRun, executeDryRun, listDryRuns, etc.) have been implemented to manage the execution, status, details, and history of dry runs.
  • UI Components: Several new UI components (CodeDiff, EmptyState, SelectHistoryItem, Results, SuggestionCard, PreviewSummary, SuggestionCategoryBadge) have been added to support the dry run feature's presentation.

@kodus-ai
Copy link

kodus-ai bot commented Nov 7, 2025

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Breaking Changes
Cross File
Kody Rules
Code Style
Refactoring
Error Handling
Maintainability
Potential Issues
Documentation And Comments
Performance And Optimization

Access your configuration settings here.

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.

2 participants