Skip to content

[GFX-639] 消除 FlagOptionAttributeTests 的 Sonar S2701 字面量布尔断言 - #261

Merged
AlianBlank merged 1 commit into
mainfrom
feature/GFX-639
Aug 12, 2026
Merged

[GFX-639] 消除 FlagOptionAttributeTests 的 Sonar S2701 字面量布尔断言#261
AlianBlank merged 1 commit into
mainfrom
feature/GFX-639

Conversation

@AlianBlank

Copy link
Copy Markdown
Contributor

Linear: GFX-639

将 5 处 Assert.Equal(false, attr.DefaultValue)(DefaultValue 为 object 装箱 false)改写为 Assert.False((bool)attr.DefaultValue),消除 csharpsquid:S2701 违规,断言语义不变。

Linear: GFX-639
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

GFX-639

@coderabbitai

coderabbitai Bot commented Aug 12, 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: 29 minutes

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

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: 33d197a0-a7ed-4d36-ab57-979f02277c33

📥 Commits

Reviewing files that changed from the base of the PR and between 5ee05c1 and 1a9b59e.

📒 Files selected for processing (1)
  • GameFrameX.Foundation.Tests/Options/FlagOptionAttributeTests.cs

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.

@AlianBlank
AlianBlank merged commit 0956d2b into main Aug 12, 2026
1 check passed
@AlianBlank
AlianBlank deleted the feature/GFX-639 branch August 12, 2026 14:28
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