Skip to content

fix(hotfix-wrappergenerator): 修复生成器崩溃与不可编译产物 - #928

Merged
AlianBlank merged 1 commit into
mainfrom
feature/auto-server-source-worker-run-12733-20261031T0750
Nov 1, 2026
Merged

AlianBlank merged 1 commit into
mainfrom
feature/auto-server-source-worker-run-12733-20261031T0750

Conversation

@AlianBlank

Copy link
Copy Markdown
Collaborator

Fixes GFX-1171
Closes #917

TimeOut 实参防御式解析(仅数值字面量可求值,其余形态诊断降级不崩
溃);GetFullName 重写为向上收集容器链(无命名空间返回类型链短名);
GetNameSpace 取真命名空间且空命名空间不发 using,嵌套代理基类与
wrapper 类名携带容器链;partial 合并键升完全限定名;ref/out/in 参
数与 Discard 返回类型校验先行并阻断收集;async 方法统一 return
await 转发;Discard 入队改异步 lambda 统一绑定 EnqueueAsync(Func<Task>)
重载。新增 16 例生成器测试,既有 3 例 Discard lambda 断言随契约更新。

Linear: GFX-1171
@linear-code

linear-code Bot commented Oct 31, 2026

Copy link
Copy Markdown

GFX-1171

@coderabbitai

coderabbitai Bot commented Oct 31, 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 51 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e0afca98-78ea-431a-84ba-d3515fa860ba
Commits

Reviewing files that changed from the base of the PR and between ca12a17 and 0b53cdf.

Files selected for processing: 11
  • CHANGELOG.md
  • GameFrameX.Hotfix.WrapperGenerator/Agent/AgentInfo.cs
  • GameFrameX.Hotfix.WrapperGenerator/Agent/AgentTemplate.cs
  • GameFrameX.Hotfix.WrapperGenerator/Agent/HotfixWrapperGenerator.cs
  • GameFrameX.Hotfix.WrapperGenerator/Agent/MethodInfoData.cs
  • GameFrameX.Hotfix.WrapperGenerator/Utils/ClassDeclarationSyntaxExt.cs
  • GameFrameX.Hotfix.WrapperGenerator/Utils/Tools.cs
  • Tests/GameFrameX.Tests/Hotfix/HotfixWrapperGeneratorAttributeParsingTests.cs
  • Tests/GameFrameX.Tests/Hotfix/HotfixWrapperGeneratorContractViolationTests.cs
  • Tests/GameFrameX.Tests/Hotfix/HotfixWrapperGeneratorIncrementalSafetyTests.cs
  • Tests/GameFrameX.Tests/Hotfix/HotfixWrapperGeneratorRobustnessTests.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

@sonarqubecloud

Copy link
Copy Markdown

@AlianBlank
AlianBlank merged commit 3d75398 into main Nov 1, 2026
4 checks passed
@AlianBlank
AlianBlank deleted the feature/auto-server-source-worker-run-12733-20261031T0750 branch November 1, 2026 06:54
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.

修复 Hotfix.WrapperGenerator 生成器崩溃与不可编译产物(CR-H01/M01/M02/M03/M04/M05/L01/L02)

1 participant