fix(extensions): 保证兼容发行在 Web SDK 0.2 与 0.3 加载 - #110
Merged
Merged
Conversation
- 两个 producer 共享同一份 Web SDK 0.2/0.3 兼容声明 - 在产物检查中拒绝 Registry 与原生 MF 范围分裂
This was referenced Sep 20, 2026
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.
目标与范围
完成用户已授权的公开 MF 发行前置修正。PR104、PR107 已合入,但实际 Changesets 计划还包含 #106 的 Web SDK 0.3 minor intent。原先 Registry 的 0.2-only 范围与 MF 从构建版本推导的范围会在正式版本准备后失配。
两个 producer 的
inkcre.module_federation.host_sdk_version统一声明支持 Web SDK 0.2/0.3,原生 MF 的共享约束直接消费该声明。产物检查要求两个范围语义相等,防止“Registry 允许安装,但运行时拒绝加载”。Python Host 范围、UI 2.0.1 独立要求、Host-only SDK singleton 均不变;不手改版本号、不删改 #106 的版本意图。验证
pnpm check与 PR CI 均需通过后合并。后续交付
此 PR 仅修正发布准备;合入后消费工作流生成的正常 Version PR,再由 protected-main production 工作流发布并公开回读。仓库 Actions 不能自动创建 PR 是已存在限制,不修改权限、不从本机使用生产 token。六种新增/改进 wizard 仍按整体方案确认门槛推进。