Skip to content

[GFX-545] 释放 KcpNetWorkChannel 的 CancellationTokenSource 并拆分 WriteAsync 消除 Sonar S2930/S3776 - #362

Merged
AlianBlank merged 2 commits into
mainfrom
feature/auto-server-source-worker-run-1162-20260806T1550
Aug 6, 2026
Merged

[GFX-545] 释放 KcpNetWorkChannel 的 CancellationTokenSource 并拆分 WriteAsync 消除 Sonar S2930/S3776#362
AlianBlank merged 2 commits into
mainfrom
feature/auto-server-source-worker-run-1162-20260806T1550

Conversation

@AlianBlank

Copy link
Copy Markdown
Collaborator

Linear: GFX-545

…nc 消除 Sonar S2930/S3776

S2930: 类实现 IDisposable,Close 末尾 Dispose _cancellationTokenSource,新增 Dispose 转发 Close。
S3776: 将 WriteAsync 嵌套 debug 日志分支抽取为 private LogSendDebug,参照兄弟类 BaseNetWorkChannel 同模式。

Linear: GFX-545
@linear-code

linear-code Bot commented Aug 6, 2026

Copy link
Copy Markdown

GFX-545

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@AlianBlank, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 5 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 41f0b8cc-ef5f-494c-b840-53c8c07dde67

📥 Commits

Reviewing files that changed from the base of the PR and between 71f90fd and 87bdc67.

📒 Files selected for processing (1)
  • GameFrameX.NetWork.Kcp/KcpNetWorkChannel.cs

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

@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@AlianBlank
AlianBlank merged commit f989660 into main Aug 6, 2026
3 of 5 checks passed
@AlianBlank
AlianBlank deleted the feature/auto-server-source-worker-run-1162-20260806T1550 branch August 6, 2026 16:19
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