Skip to content

fix(database): 消除 SQLite 写路径 Sonar 七项告警 - #545

Merged
AlianBlank merged 1 commit into
mainfrom
feature/auto-server-source-worker-run-10098-20261012T1100
Oct 12, 2026
Merged

AlianBlank merged 1 commit into
mainfrom
feature/auto-server-source-worker-run-10098-20261012T1100

Conversation

@AlianBlank

Copy link
Copy Markdown
Collaborator

Linear: GFX-890

五处 CommandText 表名内插收敛到五个私有静态 Build*CommandText
构建器,SQL 文本逐字节不变(表名 = 编译期封闭类型名双引号转义,
标识符不可绑定参数);SaveBulkAsync 单批体抽 SaveBulkBatchAsync、
UpdatePartialAsync 读改写核心抽 ExecuteUpdatePartialCoreAsync,
认知复杂度 19/18 降至 15 内,行为零变化(S2077×5 + S3776×2)。

Linear: GFX-890
@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 156e7ed6-182d-451d-a249-fe48ef58e2a9

📥 Commits

Reviewing files that changed from the base of the PR and between a6c50d2 and d510835.


📒 Files selected for processing (1)
  • GameFrameX.DataBase.Sqlite/SqliteDbService.Write.cs

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@AlianBlank
AlianBlank merged commit 1306263 into main Oct 12, 2026
3 checks passed
@AlianBlank
AlianBlank deleted the feature/auto-server-source-worker-run-10098-20261012T1100 branch October 12, 2026 11:25
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.

1 participant