Skip to content

sql: upgrade XORM and preserve SQLite metadata compatibility - #7411

Open
zhijian-pro wants to merge 4 commits into
mainfrom
xorm-v1-ce
Open

sql: upgrade XORM and preserve SQLite metadata compatibility#7411
zhijian-pro wants to merge 4 commits into
mainfrom
xorm-v1-ce

Conversation

@zhijian-pro

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade XORM to the Juicedata fork and refresh related dependencies.
  • Update metadata mappings for XORM’s exported-field handling.
  • Make row locking SQLite-compatible by skipping unsupported FOR UPDATE clauses.
  • Improve unlink handling and avoid creating slice references for zero-valued slice IDs.

Testing

  • Not run (not requested)

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.30769% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.93%. Comparing base (53835e2) to head (ee40752).

Files with missing lines Patch % Lines
pkg/meta/sql.go 73.33% 8 Missing and 8 partials ⚠️
pkg/meta/sql_lock.go 60.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7411      +/-   ##
==========================================
+ Coverage   34.47%   40.93%   +6.46%     
==========================================
  Files         140      177      +37     
  Lines       48322    58725   +10403     
==========================================
+ Hits        16658    24040    +7382     
- Misses      29984    31766    +1782     
- Partials     1680     2919    +1239     

☔ View full report in Codecov by Harness.
📢 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.

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