Repository navigation
[PR] fix(update): Add advisory gate before managed channel refresh — dsh/pi replicas no longer pull back defective versions | fix(update): 托管通道刷新前补 advisory 闸门 — dsh/pi 副本不再拉回缺陷版本 - #4027
Open
ranxianglei wants to merge 5 commits into
Conversation
Contributor
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.6195-pr.4027.c754b65This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr4027.tgz
npm install -g packageInstall instructions are refreshed on each push. |
ranxianglei
force-pushed
the
2026-10-21_managed-lane-advisory-gates
branch
from
October 21, 2026 03:05
44cb842 to
676cb14
Compare
Owner
Author
ranxianglei
force-pushed
the
2026-10-21_managed-lane-advisory-gates
branch
from
October 21, 2026 10:02
676cb14 to
6ead4a7
Compare
Owner
Author
(ai: vllm-qwen/qwen3.8-27b) CI 已修绿:PR 分支 rebase 到当前 master tip 八问
收工判定:CI 侧已闭环,可合并状态。唯一未决项不变且与本次修复无关:本 PR 触碰 |
added 4 commits
October 26, 2026 10:19
master window commits 293ae65/de5e03659 bumped kernel/package.json to 0.0.165 without regenerating the lockfiles; lock-sync re-resolution then rewrites the stale recorded versions (root 0.0.163, kernel 0.0.164) and fails. Pure recorded-version sync via npm install --package-lock-only; no dependency or semantic change.
This branch has not been deployed
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 #4026
#4003 评审 auto-update 域 F2。
改动(3 文件):
src/update.ts:refreshDshProfileCopy/refreshPiNpmCopy在 staleness 判定后、passUpdatePolicyGate之前,镜像全局通道的两道 advisory 检查,顺序一致:①advisoryAwaitingFirstCheck([updater] #1588 rollback gate: post-restart first-check race lets auto-update install the affected version before the advisory loop arms #2456,重启后首查未落地缓一轮);②advisoryBlocksVersion(latest)(advisory 回滚形态公告:target↔latest 振荡(autoUpdate=ON)与回滚成功后无持久重启提示 #1588-A,受影响区间拦截)。谓词缺省 = no-op。refreshDshDesktopCopy在闸门之后调用,自动受保护;全局通道与 force 路径不动。tests/update-dsh-self-refresh.test.ts/tests/update-pi-self-refresh.test.ts:各 +3 测试(advisory 回滚形态公告:target↔latest 振荡(autoUpdate=ON)与回滚成功后无持久重启提示 #1588 拦截不 spawn、[updater] #1588 rollback gate: post-restart first-check race lets auto-update install the affected version before the advisory loop arms #2456 defer 不 spawn、闸门静默时照常刷新的负控制),Test Blind Spot Retrospective: Reinforcing Negative Assertion Discipline, Tightening Fake Upstream Strictness, Thin Inst | 测试盲区复盘:补反向断言纪律、假上游严格化、薄安装冒烟、形态矩阵与生命周期覆盖 #3617 双向断言齐。为何要修: 宿主通道(
dsh plugin add/pi update)拉进来的副本在 advisory watcher 回滚范围之外——闸门是宿主副本唯一的防线。验证: dsh-self-refresh + pi-self-refresh 25/25;update-policy + advisory 74/74;tsc 干净。