Skip to content

fix(remotemessaging): Decompress 实现补默认参数值(S1006) - #942

Merged
AlianBlank merged 8 commits into
mainfrom
fix/issue-936
Nov 1, 2026
Merged

AlianBlank merged 8 commits into
mainfrom
fix/issue-936

Conversation

@AlianBlank

Copy link
Copy Markdown
Collaborator

修复 #936:DeflateMessageCompressionAlgorithm.Decompress 补齐接口 IMessageCompressionAlgorithm.Decompress 定义的默认参数值 CompressionHelper.DefaultMaxDecompressedOutputLength,消除 Sonar S1006。公共 API 源码兼容。Closes #936

docker-compose.yml 的 Mongo 端口与 docker-compose.multi.yml 的 12 个
实例 TCP/HTTP 端口统一绑定宿主 127.0.0.1(后者由生成器渲染并重新
生成),消除无鉴权 Mongo 与服务管理口对外部网卡的默认暴露;
对齐 docker-compose.development.yml 既有写法,服务间访问走 compose
内网不受影响。
restore 前先复制根属性文件与全部工程文件,源码变更不再使依赖层
缓存失效(实测改 .cs 后 restore 层命中 CACHED);删除 final 阶段
重复的 publish COPY;热更 DLL 同步去掉 || true 吞错,失败改为构建
期 fail fast。.dockerignore 排除仓库根 Configs/ 与 IDE 用户设置,
避免本地配置进入构建上下文。
actions/checkout v3→v7、actions/setup-dotnet v3→v6、
peaceiris/actions-gh-pages v3→v4;docs-publish/topology-equivalence/
sync 显式声明 permissions(contents: write / read);sonar-issues 改
显式传 SONAR_TOKEN;release/sync 因上游 public-github-actions 未
声明 on.workflow_call.secrets 暂保留 secrets: inherit,已注释说明。
acceptance.sh 仓库根改为按脚本自身位置推导并修正解决方案为
Server.slnx(原硬编码个人绝对路径且引用已不存在的 Server.sln);
deploy-game.sh 含凭据请求体改用 mktemp 私有临时文件并 trap 退出
清理,不再落可预测的 /tmp/deploy-body.json。
compose 凭据注入依赖 .env,防止含密钥的本地环境变量文件被误提交
入库(保留 .env.example 白名单)。
将链接的 CancellationTokenSource 移入 Ping 的 using 块内,
确保先释放 Ping 再释放取消令牌,避免 Ping 处置期间仍触发取消回调。
@AlianBlank
AlianBlank merged commit e8699c9 into main Nov 1, 2026
2 checks passed
@AlianBlank
AlianBlank deleted the fix/issue-936 branch November 1, 2026 12:38
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • 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

sonarqubecloud Bot commented Nov 1, 2026

Copy link
Copy Markdown

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.

P1 [Sonar] Fix GameFrameX.Network.RemoteMessaging/Transport/DeflateMessageCompressionAlgorithm.cs (1 issue)

1 participant