Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #147 +/- ##
===========================================
+ Coverage 0.18% 23.33% +23.15%
===========================================
Files 466 220 -246
Lines 113728 21544 -92184
===========================================
+ Hits 206 5027 +4821
+ Misses 113495 16234 -97261
- Partials 27 283 +256 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This pull request migrates the data layer from EntGo ORM to GORM, representing a significant architectural change in how the application interfaces with the database. The migration involves removing EntGo-generated code and introducing GORM-based models and query generation.
Key Changes:
- Removed all EntGo generated code (query builders, CRUD operations, predicates)
- Introduced GORM code generation setup via
internal/data/generate.go - Deleted a comment line in the porter instance controller
Reviewed changes
Copilot reviewed 46 out of 371 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| internal/data/internal/ent/appcategory_query.go | Removed EntGo query builder for AppCategory entity |
| internal/data/internal/ent/appcategory_delete.go | Removed EntGo delete operations for AppCategory |
| internal/data/internal/ent/appcategory_create.go | Removed EntGo create/upsert operations for AppCategory |
| internal/data/internal/ent/appcategory/where.go | Removed EntGo predicate functions for AppCategory queries |
| internal/data/internal/ent/appcategory/appcategory.go | Removed EntGo schema constants and ordering options |
| internal/data/internal/ent/appcategory.go | Removed EntGo AppCategory model entity |
| internal/data/internal/ent/appappcategory_update.go | Removed EntGo update operations for AppAppCategory junction table |
| internal/data/internal/ent/appappcategory_query.go | Removed EntGo query builder for AppAppCategory |
| internal/data/internal/ent/appappcategory_delete.go | Removed EntGo delete operations for AppAppCategory |
| internal/data/internal/ent/appappcategory_create.go | Removed EntGo create/upsert operations for AppAppCategory |
| internal/data/internal/ent/appappcategory/where.go | Removed EntGo predicate functions for AppAppCategory |
| internal/data/internal/ent/appappcategory/appappcategory.go | Removed EntGo schema constants for AppAppCategory |
| internal/data/internal/ent/appappcategory.go | Removed EntGo AppAppCategory model entity |
| internal/data/internal/ent/app_update.go | Removed EntGo update operations for App entity |
| internal/data/internal/ent/app_query.go | Removed EntGo query builder for App entity |
| internal/data/internal/ent/app_delete.go | Removed EntGo delete operations for App entity |
| internal/data/internal/ent/app/where.go | Removed EntGo predicate functions for App queries |
| internal/data/generate.go | Added GORM code generation script with configuration |
| internal/biz/bizsupervisor/instance.go | Removed redundant comment |
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.
No description provided.