Conversation
Phase 1: Analysis & Planning ✅ - Created comprehensive file ownership mapping (21 CLI files, 14 server files, 1 shared) - Decided to move shared infrastructure (message_store.py) to dipeo/infrastructure/storage/ - Created detailed migration checklist with 8 phases and 100+ tasks - Documentation: docs/migration-analysis.md, docs/migration-checklist.md, docs/decisions/002-shared-infrastructure-placement.md Phase 2: Create New Package Structure & Move Shared Infrastructure ✅ - Created /cli/ package structure (pyproject.toml, __init__.py, py.typed) - Created /server/ package structure (pyproject.toml, __init__.py, py.typed) - Moved message_store.py → dipeo/infrastructure/storage/message_store.py - Updated imports: dipeo_server.infra.message_store → dipeo.infrastructure.storage.message_store - Removed empty infra/ directory - Updated dipeo/infrastructure/storage/__init__.py to export MessageStore Also includes restructuring from apps/server/src/dipeo_server/ → apps/server/dipeo_server/ - Flattened CLI subdirectories (cli/core/, cli/commands/, cli/handlers/ → cli/) Next: Phase 3 - Move CLI components to /cli/ Progress: 2/8 phases complete Estimated remaining: 19-27 hours
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Review: CLI/Server Separation (Issue #130)OverviewThis PR implements a significant architectural refactoring to separate CLI and Server components into distinct top-level packages. Overall, this is a well-executed migration with excellent planning and documentation. However, there are some important items to address before merging. ✅ Strengths1. Excellent Planning & Documentation
2. Clean Architecture
3. Thorough Updates
|
There was a problem hiding this comment.
💡 Codex Review
DiPeO/dipeo/infrastructure/storage/message_store.py
Lines 15 to 29 in 9bc1846
The initialize method issues three SQL statements in a single aiosqlite.execute call. SQLite only allows one statement per execute, so this call raises sqlite3.ProgrammingError and the table/indexes are never created. As a result any code awaiting initialize() (e.g. verbose result queries) will fail and the message store cannot be used. Use executescript or separate execute calls for each statement.
DiPeO/server/api/mcp/config.py
Lines 8 to 11 in 9bc1846
PROJECT_ROOT now walks six parents from server/api/mcp/config.py, which resolves to / rather than the repository root. All MCP handlers that look up projects/mcp-diagrams or examples/simple_diagrams consequently search under /projects and fail to locate diagrams. Only three parents are needed after the package move.
ℹ️ 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".
| """DiPeO Backend API Server. | ||
|
|
||
| This package provides the API service for DiPeO: | ||
| - FastAPI server with GraphQL endpoint | ||
| - MCP (Model Context Protocol) integration | ||
| - Webhook endpoints | ||
| - Execution monitoring and management API | ||
|
|
||
| The server is a consumer of the dipeo core library, providing | ||
| an HTTP/GraphQL interface for diagram operations, execution | ||
| management, and integration with external services. | ||
| """ | ||
|
|
||
| __version__ = "1.0.0" |
There was a problem hiding this comment.
Preserve dipeo_server import path
The new backend package exposes itself only as server, but the rest of the repository (for example tests/api/auth/test_dependencies.py) still imports dipeo_server.*. Without a compatibility shim, these imports now raise ModuleNotFoundError and the test suite cannot start. Consider re-exporting the package under the old name or updating all call sites to the new module path.
Useful? React with 👍 / 👎.
PR Review: Backend Restructuring (#205)OverviewThis PR implements a significant architectural refactoring by reorganizing the backend structure from Code Quality & Best Practices✅ Strengths
|
|
would you resolve the critical issues @claude |
|
Claude finished @sorryhyun's task —— View job Resolving Critical Issues ✅All critical issues from the code reviews have been resolved:
Changes Made1. Fixed SQL Initialization (P1 Critical)File:
2. Fixed PROJECT_ROOT Path (P1 Critical)File:
3. Added Backward Compatibility (P0 Critical)File:
4. Removed Hardcoded Credentials (Security)File:
5. Stale Imports Check
Validation
Commit
--- | |
- Fix SQL initialization: Use executescript() instead of execute() for multiple statements in message_store.py - Fix PROJECT_ROOT path: Reduce from 6 parents to 3 parents in server/api/mcp/config.py - Add backward compatibility shim: Support legacy dipeo_server imports in server/__init__.py - Remove hardcoded credentials: Use NGROK_AUTH environment variable in Makefile Co-authored-by: Seunghyun Ji <sorryhyun@users.noreply.github.com>
PR Review: Issue #130 - Documentation and Structure RefactoringOverviewThis is a substantial PR that includes documentation updates, directory structure reorganization, and agent description improvements. While the changes improve clarity and organization, there are several concerns about PR scope and potential breaking changes. 🟢 Positive Changes1. Agent Description Improvements
2. Documentation Restructuring
3. Code Cleanup
🟡 Concerns & Recommendations1. PR Scope - Critical IssueProblem: This PR mixes multiple unrelated concerns:
Recommendation: Consider splitting into separate PRs:
Why: Easier to review, revert if needed, and track changes independently. 2. Breaking Changes - Path UpdatesProblem: Major directory reorganization from -apps/server/main.py → server/main.py
-apps/server/cli/ → cli/Potential Issues:
Recommendations:
3. Testing Coverage - MissingProblem: No test updates visible in the diff despite structural changes. Recommendations:
Run: 4. Documentation ConsistencyProblem: With 4,900+ lines of documentation changes, there's risk of inconsistent path references. Recommendations:
5. Security ReviewChanges in
Recommendations:
🔴 Critical Action ItemsBefore Merging:
📋 Detailed Code Review NotesAgent Descriptions (
|
No description provided.