fix(deps): revert dependencies to before pg block was added#1189
Merged
icecrasher321 merged 2 commits intomainfrom Aug 29, 2025
Merged
fix(deps): revert dependencies to before pg block was added#1189icecrasher321 merged 2 commits intomainfrom
icecrasher321 merged 2 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Greptile Summary
This PR performs a comprehensive rollback of database integration functionality that was previously added to the SimStudio platform. The changes systematically remove PostgreSQL, MySQL, and Parallel AI integrations across the entire codebase, including:
Database Tools Removed:
- Complete PostgreSQL integration (query, insert, update, delete, execute operations)
- Complete MySQL integration (query, insert, update, delete, execute operations)
- Parallel AI search functionality
Code Changes:
- Dependencies: Removed
@types/pg,mysql2, andpgpackages from package.json while retaining thepostgrespackage - API Routes: Deleted all PostgreSQL and MySQL API endpoints (
/api/tools/postgresql/*and/api/tools/mysql/*) - Tools: Removed all database tool configurations and utility functions, cleared tool index files
- Blocks: Removed PostgreSQL, MySQL, and Parallel blocks from the registry and deleted their configuration files
- Types: Removed database-specific TypeScript interfaces and reverted the
arraytype fromPrimitiveValueType - UI Components: Removed PostgresIcon, MySQLIcon, and ParallelIcon from the icons library
- Documentation: Deleted all documentation files for the removed tools
The PR title indicates this reversion addresses dependency issues introduced when the PostgreSQL block was originally added. The changes restore the codebase to use the existing postgres package for core database operations while removing the additional database tool integrations that were layered on top.
Confidence score: 1/5
- This PR contains critical issues that will cause immediate build failures and runtime errors
- Score reflects incomplete cleanup that leaves broken import statements and orphaned registry references
- Multiple files require immediate attention, particularly the MySQL and PostgreSQL tool index files that are empty but still referenced
41 files reviewed, no comments
arenadeveloper02
pushed a commit
to arenadeveloper02/p2-sim
that referenced
this pull request
Sep 19, 2025
fix(deps): revert dependencies to before pg block was added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brief description of what this PR does and why.
Fixes #(issue)
Type of Change
Testing
How has this been tested? What should reviewers focus on?
Checklist
Screenshots/Videos