Repository navigation
add local real-model release gate (npm run gate:local) - #2979
Merged
Merged
Conversation
Freezes the manual v0.1.196 review pass (PR #2962) into one command for operator machines with live models — the regression lane GitHub CI can never run. Executed before each release (reference/release.md step 5.5). Lanes (hermetic scratch: own DSH_HOME/BILI_CONFIG_FILE/sessions/XDG/ports; never touches ~/.dsh or running proxies; missing prerequisites skip with a warning, GATE_* knobs in the script header): - A compression: real dsh session reads a marker corpus at the real window, then the route window shrinks mid-session (the field-report "switched to a smaller-window model" lane) -> nudge INJECT -> preflight fold -> SAME session answers from folded context, cache recovers. A fresh oversized read tool-result is NOT expected to fold (protected recent zone, #2847 fail-fast) — asserted as such. - B model switch: same session resumed on a different model/upstream; same lineage across switch + proxy restart (dsh resume-replay fork WITH fork-adoption of the parent's folded blocks passes; an orphaned pfa fails), cross-upstream usage-baseline demoted to untrusted when cited (#2283/#2867), cache cold -> hot on the new upstream. - U --with-update: dsh-managed install detection (no in-place self update) + latest read from the configured update registry. Green on 0.1.196: A 8/8, B 6/6, U 2/2 (~4 min, sglang + z.ai relay). Windows-only update lanes (global installer, desktop-profile in-place swap + spec converge, doctor) stay on the Win10 VM checklist appended to reference/release.md.
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.3372-pr.2979.b6a1f33This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr2979.tgz
npm install -g packageInstall instructions are refreshed on each push. |
- verdaccio LAN IP -> <verdaccio-LAN-IP> placeholder (release.md checklist) - private VM runbook path -> generic wording - relay knob docs: drop provider identity + auth notes, keep semantics
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.358-master.9fb79dd # this exact build
npm install -g billion-context@master # always the newest merged build
|
This was referenced Oct 13, 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.
这是什么
把 PR #2962 review 时手工跑的真模型回归(压缩 / 切模型 / 缓存 / dsh 管理 lane)固化成一条本地命令,每次发布前在 operator 机器上跑一遍 —— 这是 GitHub CI 永远跑不了的 lane(需要真模型、真 dsh、真注册表)。
npm run gate:local # 或对已构建的 tarball: node scripts/release-gate-local.mjs --tarball /path/to/billion-context-X.Y.Z.tgzLanes
acp-compress-obs shrink)→ 同一会话从折叠上下文答出 S07 标记词 → 后续稳定前缀请求 cache ≥50%lineage=forked of+fork-adoption收养父会话折叠块 —— #2832/#2936 路径;孤儿 pfa 判 FAIL)→ 引用旧上游 usage-baseline 时必须 demote to untrusted(#2283/#2867)→ 双标记词召回 → 新上游 cache 冷→热--with-updatelatestDSH_HOME/BILI_CONFIG_FILE/ sessions / XDG 目录 / 端口,不碰~/.dsh和运行中的 proxy;proxy 按记录的 PID 关闭(绝不 pkill 模式)。GATE_*环境变量在脚本头部有完整说明。0.1.196 实测
Windows 专属 lane(全局安装包自更新、desktop profile in-place swap + spec 收敛、doctor)无法从 host 自动化,以 Win10 VM 手工 checklist 形式附在
reference/release.md末尾(本次 0.1.196 已按该清单人工验证通过,#2894/#2891 均绿)。文件
scripts/release-gate-local.mjs(新增,零依赖 node ESM)package.json:gate:local别名reference/release.md:发布流程 step 5.5 + Win10 VM checklist不合并机器人,人审人合。