Repository navigation
feat(tests): 新增行键键形断言固化 D4 铁律 - #963
Merged
AlianBlank merged 9 commits intoNov 2, 2026
Merged
Conversation
MatchSettledBoardId 默认值改为默认榜常量 match-settled,零 JSON 配置 起服即装配 Match.Settled 投影并预建默认榜;显式空白或配置段覆盖 为空白仍可关闭。Validate 补投影组合校验(子对象非 null、榜单标识 长度不超过 128 且不含空白字符,装配期一次报全)。app_config 的 Game 角色移除 Online.Settings 空节依赖。 Linear: GFX-1195
IOnlineMatchResultStore 与 IOnlineMatchSettlementStore 分别 new 内存 实现造成分裂脑:结算管线写入 settlement 键实例、排行榜投影读取 result 键实例,默认内存形态下结算后投影永远读空。改为同一实例注册 两接口键;族或宿主覆盖仍逐键恒胜出。 Linear: GFX-1195
GameFrameX.Tests 新增零 Settings 组合全链断言(RPS 两轮决胜、结算 发奖钱包 100/10、默认榜双方条目);投影组合测试随默认值语义重写 为零 Settings 默认开、显式空白覆盖关。Hotfix.Tests 新增经桥薄适配 器的好友、撮合、对局、上榜全链断言并补 Capability 项目引用。 Linear: GFX-1195
README 中英文 quickstart 增补零 JSON 默认通说明与关闭投影的覆盖 方式;CHANGELOG 登记 C460 条目。 Linear: GFX-1195
按 D4 裁决移除 OnlineScope 的 TenantId/AppId 位,只留 ServerId 与可选 PlayerId;Resolver/Guard/审计/幂等键/投影键/行键/事件信封同步单键化。 新增 OnlineRowKey 行键唯一构造点(RowKeySchemaVersion=1),全局域键 (好友/身份/设备/玩家存储/钱包/账本/库存/排行投影)禁入 ServerId 位, 对局结算键=matchId(GUID 全局唯一);错误码 3002/3003 保留数值契约 不再产生;AppSetting 删 OnlineTenantId/OnlineAppId 且老 JSON 废键仅忽略。 BREAKING CHANGE: OnlineScope 构造收缩为 (serverId, playerId=0);存储 接口与探针契约删除前导 tenantId/appId 形参;IOnlineAuditReader.QueryAsync 移除 scope 参数;事件信封移除 online.tenantId/online.appId 稳定键。 Linear: GFX-1197
EmptyPlayerDirectory 对齐 IOnlinePlayerDirectory 单键签名;Program.cs 族配置段与宿主选项只写 ServerId(演示值随 D4 单键化收缩)。 Linear: GFX-1197
构造收缩、实体字段与调用签名随生产面同步;旧跨租户/跨 App 隔离预期 按 D4 全域裁决改写为跨区服共享同榜/季/赛(未知标识仍反预言拒绝); 族段 fail-fast 用例改缺 ServerId 口径;报告组合维度计数随维度收缩 修正;配置废键用例验证老 JSON 遗留键仅忽略。 Linear: GFX-1197
OnlineRowKeyShapeTests 断言全局域键(好友/身份/设备/存储/钱包/账本/ 库存/资产去重)键内无 ServerId 位、对局结算键等于 matchId、 RowKeySchemaVersion=1、ToScopeKey 单键形与 Guard 只映射 3004/3005。 Linear: GFX-1197
|
Important Review skippedToo many files! This PR contains 346 files, which is 246 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files.
|
|
AlianBlank
deleted the
feature/auto-server-source-worker-run-12761-20261102T0400
branch
November 2, 2026 06:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes GFX-1197