Skip to content

Conversation

@MuZhou233
Copy link
Member

No description provided.

@MuZhou233 MuZhou233 marked this pull request as draft January 5, 2026 17:31
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

❌ Patch coverage is 5.37975% with 299 lines in your changes missing coverage. Please review.
✅ Project coverage is 23.33%. Comparing base (4a9c869) to head (aeb3bf8).
⚠️ Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
internal/data/gebura.go 0.00% 258 Missing ⚠️
internal/data/chesed.go 0.00% 26 Missing ⚠️
internal/data/data.go 56.66% 11 Missing and 2 partials ⚠️
internal/biz/bizgebura/app_info.go 0.00% 1 Missing ⚠️
internal/biz/biztiphereth/user.go 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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