18 Commits

Author SHA1 Message Date
Primakov Alexandr Alexandrovich
9e56676a6e feat: Implement cleanup for stuck tasks and reviews on server restart 2025-10-13 23:05:58 +03:00
Primakov Alexandr Alexandrovich
95b5d61ddb feat: Add unique thread_id generation for review process and enhance logging 2025-10-13 22:45:36 +03:00
Primakov Alexandr Alexandrovich
9dadc490e2 fix: Improve version retrieval logic with fallback mechanism and enhanced error handling 2025-10-13 18:07:19 +03:00
Primakov Alexandr Alexandrovich
1d953f554b feat: Implement LLM streaming support and enhance event handling in review process 2025-10-13 17:48:03 +03:00
Primakov Alexandr Alexandrovich
2f29ccff74 feat: Enhance review process with streaming events and detailed logging 2025-10-13 17:26:41 +03:00
Primakov Alexandr Alexandrovich
a762d09b3b fix: Update LangGraph event handling to process events as dictionaries instead of tuples 2025-10-13 16:14:07 +03:00
Primakov Alexandr Alexandrovich
8d231b49db fix: Fix /api/version endpoint path and save all review events to DB 2025-10-13 14:46:28 +03:00
Primakov Alexandr Alexandrovich
2db1225618 feat: Add review events persistence, version display, and auto-versioning system 2025-10-13 14:18:37 +03:00
Primakov Alexandr Alexandrovich
cfba28f913 fix: Correct LangGraph event handling - events are tuples not dicts + add test scripts 2025-10-13 13:46:35 +03:00
Primakov Alexandr Alexandrovich
c9dc486011 fix: Add manual step events in each graph node + detailed streaming debug 2025-10-13 12:58:58 +03:00
Primakov Alexandr Alexandrovich
a27a0fa0f0 feat: Add WebSocket ping/pong + detailed streaming debug + initial review messages 2025-10-13 10:30:56 +03:00
Primakov Alexandr Alexandrovich
4ab6400a87 feat: Add LangGraph streaming with real-time UI updates
- Add streaming schemas and events
- Implement run_review_stream in ReviewerAgent
- Update task_worker to broadcast streaming events via WebSocket
- Create ReviewStream component for real-time progress visualization
- Integrate ReviewStream into ReviewDetail page
- Show agent steps, LLM messages, and progress in real-time
2025-10-13 01:00:49 +03:00
Primakov Alexandr Alexandrovich
1185630616 Refactor: Update review method in ReviewTaskWorker
- Changed the method name from `review_pull_request` to `run_review` in the `ReviewerAgent` class.
- Adjusted the parameters passed to the new method for consistency with the updated implementation.
2025-10-13 00:49:29 +03:00
Primakov Alexandr Alexandrovich
50d5738bfe Fix: Replace CodeReviewAgent with ReviewerAgent 2025-10-13 00:47:08 +03:00
Primakov Alexandr Alexandrovich
eab0171a24 Fix: Add AsyncSessionLocal alias for compatibility 2025-10-13 00:43:21 +03:00
Primakov Alexandr Alexandrovich
6ae2d0d8ec Add organization and task queue features
- Introduced new models for `Organization` and `ReviewTask` to manage organizations and review tasks.
- Implemented API endpoints for CRUD operations on organizations and tasks, including scanning organizations for repositories and PRs.
- Developed a background worker for sequential processing of review tasks with priority handling and automatic retries.
- Created frontend components for managing organizations and monitoring task queues, including real-time updates and filtering options.
- Added comprehensive documentation for organization features and quick start guides.
- Fixed UI issues and improved navigation for better user experience.
2025-10-13 00:10:04 +03:00
Primakov Alexandr Alexandrovich
b297bcbba9 Add deployment documentation and enhance project setup scripts
- Introduced `DEPLOYMENT.md` for comprehensive deployment instructions.
- Added `start.bat` and `start.sh` scripts for unified project startup on Windows and Linux/Mac.
- Updated `.gitignore` to exclude additional files and directories.
- Enhanced `main.py` to serve static frontend files and handle SPA routing.
- Configured Vite to output the frontend build to the backend public directory.
- Minor adjustments in `ReviewDetail.tsx` for improved data handling.
2025-10-12 23:27:41 +03:00
Primakov Alexandr Alexandrovich
09cdd06307 init 2025-10-12 23:15:09 +03:00