0.0.4: alpha.2 wire-code fold + two-channel live radar - #11
Merged
Conversation
… a two-channel radar dsh 0.1.2-alpha.2 wraps owner failures in a shared RemoteError class and rebadges the hyphen codes (settings-conflict -> settings/conflict, settings-rejected, model-discovery-failed) with details unchanged. Our only code-string branch loses the CAS-conflict message. The adapter now translates the renames at the failure arm with a fieldwise copy (the RemoteError instance carries message as a non-enumerable Error field), and a new unit test pins both the rename and the non-enumerability. The weekly live lane becomes a daily channel matrix — rc and alpha, each resolved from its npm dist-tag to the matching dsh-v<version> git tag and CANCARD independently — with one tracking issue per red channel instead of manual discovery. 0.0.4.
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.
变更
1. 兼容 dsh 0.1.2-alpha.2 的错误码重命名(真实回归修复)
alpha.2 把 Remote 失败统一封装进
RemoteError类,并将连字符错误码改为斜杠命名空间:settings-conflict→settings/conflict(settings-rejected、model-discovery-failed同理),details 载荷不变。我们唯一依赖具体码值的分支(CAS 冲突本地化文案)因此失效。修复:wire.ts错误臂新增翻译表折回旧拼写,并改为逐字段构造(RemoteError实例的message是 Error 继承的不可枚举属性,spread 会静默丢失)。新增单测同时锁住重命名与不可枚举性。2. live 金丝雀升级为双频道雷达(按本次讨论的发布策略)
原周一跑的 live lane 改为按日矩阵:rc / alpha 两个频道各自从 npm dist-tag 解析当前版本 → checkout 对应
dsh-v<version>tag → 独立跑 integration + functional;某频道红时创建一条追踪 issue(同版本不重复开)。上游一发新版,次日即被验证;不再需要手工发现。方法面零变化已确认:
describe()/mutate(ns,ops,rev)/listConfigurableProviders()/discoverModels(ns,req,signal)签名全保留。验证