Skip to content

[PR] test(restart): CI regression — compressed state survives + cache prefix stays stable after repeated kill/restart (#5631) | test(restart): 反复杀死重启后压缩状态存活+缓存前缀稳定的 CI 回归(#5631) - #5635

Merged
ranxianglei merged 5 commits into
masterfrom
issue5631-restart-survival
Nov 5, 2026

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

这是什么 / What

新回归测试:把代理进程反复杀掉再拉起来(kill -15 / kill -9 / 优雅停机,各×2,共 5 次),验证长会话的压缩状态在进程边界存活、出站前缀保持稳定(缓存可命中)。Closes #5631。

此前这条路径只有手工真模型门禁(bili-gate Lane A/B)覆盖,CI 里没有任何自动化断言——任何一次让磁盘会话态或折叠渲染在重启边界漂一下的改动,都要等真跑门禁才能发现。

怎么测的 / How

一个测试文件 tests/issue5631-restart-survival.test.ts,两种客户端线形各跑一条 lane:

dsh 形 pi 形
wire OpenAI chat-completions anthropic /v1/messages
模型 id gpt-test test-anthropic-model(非 claude 族:claude-* 走 side-request passthrough #388 绕过压缩,是既有行为)

每条 lane:

  1. 超大首载荷:首轮塞入远超窗口的原始历史(默认 ~6MiB ≈ 1.5M tokens,窗口墙 16k tokens)→ 触发确定性 digest 折叠(DSH 分叉会话后触发大量 preflight overflow compress #2383 emergency fast-path),无需任何 LLM 摘要调用,hermetic 零 token;
  2. 杀进程循环 ×5(SIGTERM → SIGKILL → 干净 POST /__bili/shutdown → SIGKILL → SIGTERM):每次杀后以同一会话 id + 同一存储树重启子进程、全史重发续跑;
  3. 断言(wire 为真理源,不读内部遥测):
    • 每轮出站 ≤ 512 KiB(折叠态跨进程存活,否则立刻爆回多 MiB);
    • canonical prompt 前缀稳定性 ≥ 50%(与真模型门禁 Lane A 的 cache 恢复阈值对齐;canonical = system+messages 序列化,避开 envelope 噪声——bili 每轮会改写 max_tokens 等信封字段,对原始 JSON 算 LCP 会得到 0.2% 假阴性,而 tokenized prompt 前缀才是上游 prefix cache 的真实键);
    • 循环结束后磁盘会话信封含 digest 证据(持久化面)。

判别力控制臂(#3617 gate 双向断言纪律):第二实例用 10M-token 巨窗,永不折叠——若主臂的「≤512KiB」能通过,只可能是客户端作弊;控制臂同时断言每轮 ≥0.9× 原文字节原样穿透,证明套件在压缩失效时必然红。

范围声明 / Scope

  • 无 kernel/ 改动,无 src/ 改动,无新增配置面(只用既有 compress.modelContextLimit / BILI_CONFIG_FILE / x-acp-session);
  • 新增文件已登记 scripts/live-files.mjs(append-only 表尾);
  • 构建策略沿用房屋先例 tests/index-entry-guard.test.ts:dist 缺失/stale 时按需自建,CI 上常跑不 skip;
  • CHANGELOG Unreleased 已补条目。

验证 / Verification

本地(CI preload 链逐字同款):

node --import ./tests/preload-storage-baseline.mjs --import ./tests/preload-test-env.mjs \
     --import ./tests/preload-zone-slot.mjs --import tsx \
     --test tests/issue5631-restart-survival.test.ts
→ pass 3 fail 0(dsh 13.5s + pi 13.9s,总计 ~27s)

另过:npm run typecheck、node scripts/check-test-import-graph.mjs、SPAWN_RE 哨兵(已登记 live-files)。全量判决以远端 CI test 道为准。

可调旋钮(env,仅测试自身,非产品配置面):RESTART_SURVIVAL_FIBER_BYTES(默认 6MiB,clamp 1–32MiB)、RESTART_SURVIVAL_TMO(默认 480s)、RESTART_SURVIVAL_DUMP=<dir>(调试用 per-request 落盘)。

bili-gate 侧(后续跟进)

issue #5631 的另一半是 bili-gate docker 门禁里加真模型 restart lane(真 dsh headless --session-id / 真 pi 反复 kill)。本 PR 先落 CI hermetic 半边;gate 侧改动在非 git 项目目录 ~/projects/bili-gate,按仓库边界单独交付。

…kill/restart with cache-prefix stability (#5631)

Drive dsh-shape (chat-completions) and pi-shape (anthropic) clients at a real
child-process proxy. Turn one loads a far-over-window raw history (~6MiB by
default) into a 16k-token wall -> deterministic digest fold on first contact;
then SIGTERM/SIGKILL/clean-shutdown x2 cycles against the same session id and
storage tree. Asserts: outbound stays under 512KiB after every restart (fold
state survived), canonical prompt prefix stability >=50% (same threshold as
the real-model gate Lane A), and fold evidence on disk at cycle end. A second
no-fold control arm (10M-token wall) proves discriminative power: without
compression the full multi-MB fiber passes through unchanged every turn.

No new config surface (only existing compress.modelContextLimit /
BILI_CONFIG_FILE / x-acp-session), no kernel changes. The suite is registered
in scripts/live-files.mjs (append-only tail). Locally green: dsh + pi lanes,
~27s.
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: issue5631-restart-survival (1d13fd1)

Latest build — install this exact version

npm install -g billion-context@0.0.8167-pr.5635.436d4cf

This exact version is immutable and reproducible. The rolling pr tag tracks the newest test build across all PRs.

Recent builds (commit → version)

commit version build
1d13fd1 billion-context@0.0.8167-pr.5635.436d4cf build
eac1e53 billion-context@0.0.8163-pr.5635.f7dbc24 build
3ddaabf billion-context@0.0.8070-pr.5635.ee3ffed build

Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr5635.tgz
npm install -g package

Install instructions are refreshed on each push.

@ranxianglei ranxianglei changed the title test(restart): 反复杀死重启后压缩状态存活+缓存前缀稳定的 CI 回归(#5631) [PR] test(restart): CI regression — compressed state survives + cache prefix stays stable after repeated kill/restart (#5631) | test(restart): 反复杀死重启后压缩状态存活+缓存前缀稳定的 CI 回归(#5631) Nov 4, 2026
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

查重:不重复。 我按失败签名(scope-split gate / forceEnable / delegate-user-scope-detected)在 open+closed issue 与 PR 里复核了一遍,没有第二个条目覆盖「user-scope 安装不触发 stand-down」这个不对称本身。你列的 #415(guard 起源,closed)、#2230(config home)、#5034(default-on economics)、#4694(per-role tool exposure)我都核对过——各自机制不同,没有一个处理的是「两种 scope 只有一种触发」这件事。

Triage 三步(bug 类)

  1. 复现/查证 —— 成立。 三处代码逐行核过,与你的描述完全一致:

    • pi-subagents/src/pi-subagents-detect.ts:52-58:scope-split 契约注释原文在位。
    • pi-subagents/src/index.ts:140-153:scopes.project[0] !== undefined → stoodDown = true;else if (scopes.user[0] !== undefined) → 只 logWarn(... event:"delegate-user-scope-detected", action:"warn-only"),然后 157-160 的 registerTool ×3 照跑。
    • src/agent/pi-subagents.ts:175-184:同一个 project-only gate,且 user-scope 分支在这里连日志都没有(注释里写了 "silently here")。
  2. 定位层次 —— 你打到了根因,不是表面现象。 表面现象是「两个 sub-agent 系统同时活跃」。但真正的缺陷层是:fix: wire search_context to the kernel search engine (blocks + visible messages, CJK) #415 guard 的设计前提已经失效。当年做 scope-split 的唯一理由是「全局安装会静默地在每个项目关掉 acp_delegate」——而今天 stand-down 已经是响亮的(DELEGATE_STAND_DOWN_MESSAGE UI notify / console.error),且有文档化的逃生口 delegate.forceEnable。前提没了,scope-split 就只剩副作用:最常见的安装方式(pi install npm:pi-subagents 写到 user-scope)恰好是 guard 永远不触发的路径。所以这是「机制的前提坍塌」,不是「某一行写错」。

  3. 方案评估 —— 打到核心,且是最小改动。 「任一 scope 都触发 stand-down + 日志带 scope:"project"|"user" + 保留 forceEnable 回退 + bili lane 镜像同一契约」正是对症的修法:它把 guard 恢复到 fix: wire search_context to the kernel search engine (blocks + visible messages, CJK) #415 的本意(避免两套重叠系统),同时不牺牲当年真正要保护的东西(不静默、可回退)。不需要动 config schema、不动 wire、不动 kernel。

一个我要明确 flag 的点:这是默认行为变更——已有 user-scope pi-subagents 安装的用户,升级后 acp_delegate 会从「保持活跃」变成「自动 stand-down」。我认为这是修正有害行为(两套竞争路由 + 永久 schema/prompt token),且逃生口已就位,所以按 bugfix 推进实现并在 PR 里显式披露旧值→新值;如果你希望更保守(比如先加个过渡开关),告诉我即可。

我开始实现了:两处代码 + 回归测试(user-scope 不注册工具 / forceEnable:true 重新注册,把现有的 project-scope 测试补成 row pair)+ pi-subagents/package.json 版本号 bump(CI 强制)。完成后回 PR 链接 + 八问。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

**修好了 → PR: https://github.com/ranxianglei/billion-context/pull/5640**(Closes #5637)

标签: bug pi scope/wiring p2 —— pi 车道工具注册层的缺陷,非崩溃非缓存泄露、有绕行,定 p2。

先澄清一句:转发里那条「Fixed in #5638」我核过 git——当时没有任何提交或推送,这条是我从零做到现在才落地的 PR。

⚠️ 行为变更(旧值 → 新值,必须报告)

  • 旧:仅用户级(user-scope)pi-subagents 安装只打一条 delegate-user-scope-detected(warn-only),acp_delegate 保持注册。
  • 新:任意 scope(项目级或用户级)的 pi-subagents 安装都默认让 acp_delegate 让位;日志事件统一为 delegate-auto-disabled,带 scope:"project"|"user"(两者都有时报 project)。
  • 为什么:把 fix: wire search_context to the kernel search engine (blocks + visible messages, CJK) #415 guard 恢复到它真正的本意(避免两套重叠子代理系统),且落在它最常见的触发路径上。真想要两套的人用 delegate.forceEnable:true(或 PI_ACP_DELEGATE_FORCE_ENABLE=true)回退——这条路没动。受影响的是「全局装了 pi-subagents、又依赖内置 delegate」的用户:升级后会看到响亮的让位提醒,可一键回退。项目级用户不受影响(本来就让位)。

结构化八问

  1. 是什么问题:user-scope 的 pi-subagents 安装不触发 acp_delegate 让位,导致每个项目同时挂两套子代理系统(subagent + 三个 acp_delegate* 工具、重复的 fleet inspector、两条竞争委派路由、常驻 schema+prompt token)。
  2. 什么原因:fix: wire search_context to the kernel search engine (blocks + visible messages, CJK) #415 guard 当初做 scope 切分只有一个理由——别让全局安装「静默地」在每个项目关掉 delegate。今天这个前提塌了:让位是响亮的(UI notify / console.error),又有文档化逃生口 forceEnable,两者都与 scope 无关。于是最常见的安装方式(pi install npm:pi-subagents 写 user-scope)恰好是 guard 永远不触发的路径。属「机制前提坍塌」,不是某行写错。
  3. 影响范围与严重程度:影响面 = 全局/user-scope 装了 pi-subagents 且开了内置 delegate 的用户;触发条件明确。严重度:非崩溃、非数据丢失、非缓存泄露——冗余工具面 + 常驻 token + 竞争路由的体验/成本瑕疵,p2,不是 p1。
  4. 怎么修复:任一 scope 都作为让位触发(install = project[0] ?? user[0]),日志保留胜出 scope 名,bili lane 镜像同一契约,forceEnable 照旧回退;补 user-scope + forceEnable 回归测试对。
  5. 回归风险:项目级行为不变(仍让位)、forceEnable 不变、enabled:false 不变;唯一行为差就是「user-scope 现在也让位」(即修复本身)。已核:既有项目级测试通过、wiring 全 20 项过、typecheck 干净;无 fail-fast 变吞错、无阈值/时序漂移。被移除的 delegate-user-scope-detected 由带 scope 字段的 delegate-auto-disabled 取代。
  6. 是否破坏缓存:不涉及——注册期的工具/prompt 门控,不碰缓存/重试/游标/去重键。
  7. 是否改设计方向:不涉及架构转向——同一机制,触发面收窄回原意。
  8. 是否引入新配置:不涉及——没有新配置键;forceEnable 既有、语义未变。

验证:工作树原本落后 master 806 提交,已重打基线到当前 master(billion-context@0.1.212, base 23a826d37)后定向跑 tests/pi-subagents-wiring.test.ts 20/20 过(含两个新用例);只回退 gate 条件会让 user-scope 用例变红(测试有牙);npm run typecheck 干净。全量回归交给 CI。

判定:可进 review。因改了默认行为(§7.4 属产品决策),不走 auto-merge,等人工合并;CI 结果出来我再跟一句。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

收工确认:#5637 已落地为 PR #5640(Closes #5637),上面那条带八问的回复是完整结论,这里只补一句状态。

  • 改动:两处 gate(pi-subagents/src/index.ts + src/agent/pi-subagents.ts)任一 scope 都触发让位、日志带 scope:"project"|"user"、forceEnable 回退不变;修正过期契约注释;en+zh 文档同步;补 user-scope / forceEnable 回归测试对;pi-subagents/package.json 0.2.2→0.2.3。
  • 验证:重打到当前 master(base 23a826d37)后 typecheck 干净、tests/pi-subagents-wiring.test.ts 20/20 过;全量回归交 CI。
  • 标签:bug pi scope/wiring p2。
  • 因改默认行为(§7.4 产品决策),不 auto-merge,等人工合并。CI 结果出来我再跟一句。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

状态更新(这轮重新唤醒我核了 PR 的 CI,发现并处理了一个红):

#5637 的修复本体早已落地为 PR #5640(fix commit 6c51bc8c2:两处 gate 任一 scope 都让位、日志带 scope、forceEnable 回退不变、en+zh 文档同步、user-scope / forceEnable 回归测试对)。本轮没重做。

CI 曾红在 lock-sync——是我自己引入的回归。 根因:我的 commit 把 pi-subagents/package.json 版本 bump 到 0.2.3,但没同步根 package-lock.json(它仍记着 0.2.2),触发 #2704 漂移守卫(lock-sync job 跑 npm install --package-lock-only 后 git diff --exit-code 报差)。本地用 CI 同款命令精确复现,diff 就一行(pi-subagents 条目 0.2.2→0.2.3),修复方案就是重新生成 lockfile 并提交这一行。

但推送前发现分支上已经有一个内容完全一致的 lock-sync commit(50abddec4,作者 ci-check,同样是那行 0.2.2→0.2.3)——git diff f36fe0572 50abddec4 为空,树完全相同。所以我没有强推覆盖别人的提交,而是把本地对齐到远端(丢弃我那个重复 commit),分支现在就是正确的完整状态:6c51bc8c2(fix) + 50abddec4(lock-sync)。

当前 CI(head 50abddec4):failed: 0,只剩 11 个 test 矩阵分片还在跑;lock-sync 已转绿。等测试矩阵全绿即可合并。因改默认行为(§7.4 产品决策)仍走人工合并,不 auto-merge。测试跑完我再跟一句确认。无需决策。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

再核一遍 PR #5640 的 CI(head 50abddec4):failed: 0,无失败项;lock-sync 已绿,只剩 11 个 test 矩阵分片还在跑(ubuntu/windows × node 22/24 × shard)。本轮我做的事 = 发现并处理了 lock-sync 红(我的版本 bump 漏同步根 lockfile),确认分支上已有内容一致的修复 commit 后未强推、对齐远端。当前无需任何操作,等测试矩阵全绿即可人工合并;转绿我再确认一句。

@ranxianglei ranxianglei left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ai: vllm-qwen/qwen3.8-27b)

APPROVE(判定)— 注:本 lane 凭据为 PR 作者身份,GitHub 不允许自批,故以 review-comment 形式落此结论;合并权在 owner。 — 纯测试 PR,方向正确、断言有牙,关键论断逐条对代码独立复核过,修复后本地复跑全绿。

结构化八问

  1. 是什么问题:CI 里缺「代理反复杀死重启后压缩状态存活 + 出站缓存前缀稳定」的自动化回归断言——此前只有手工真模型门禁(bili-gate Lane A/B)覆盖,任何让磁盘态或前缀渲染在重启边界漂一下的改动只能等真跑门禁才看得见。
  2. 什么原因导致的:不是缺陷而是覆盖缺口——重启边界行为从未被 hermetic 测试钉住。
  3. 影响范围与严重程度:纯新增测试,对产品行为零影响;补的是覆盖洞(此前该类回归在 CI 不可见)。
  4. 怎么修复的:两条 lane(dsh 形 openai wire / pi 形 anthropic wire)驱动独立子进程代理,用既有 compress.modelContextLimit 硬墙(16k)逼出确定性 digest 折叠(fiber 超限 ~90x,深居 #2383 emergency regime),零 LLM 调用;按 SIGTERM/SIGKILL/干净停机混合序杀进程 5 次(sigterm×2、sigkill×2、clean×1),每次以同一会话 id + 同一存储树全史重发续跑;主臂断言每轮出站 ≤512KiB + canonical prompt LCP ≥50%(与 gate Lane A 阈值对齐);控制臂(10M 墙永不折叠)断言 ≥0.9× 原文字节穿透钉死判别力(#3617 双向门控纪律)。
  5. 是否有回归问题:无。diff 只碰 tests/issue5631-restart-survival.test.ts(新文件)+ scripts/live-files.mjs 表尾登记 + CHANGELOG 条目;无 src/、无 kernel/、无 pi-subagents/、无 version、无新增配置面键(compress.modelContextLimit、update.checkIntervalMs、BILI_CONFIG_FILE、x-acp-session 均为既有)。既有行为逐项清点:请求管道 / 持久化格式 / wire 形状 / 缓存与重试策略——全部未触碰。
  6. 是否破坏缓存:不涉及任何缓存失效策略;套件本身就是跨进程边界前缀缓存稳定的回归钉。
  7. 是否改了设计方向:不涉及。
  8. 是否引入了新的配置:无产品配置;仅 3 个测试自用 env(RESTART_SURVIVAL_FIBER_BYTES 默认 6MiB clamp 1–32MiB / RESTART_SURVIVAL_TMO 默认 480s / RESTART_SURVIVAL_DUMP=<dir> 调试落盘)。

验证记录(独立复核,非照抄 PR 描述)

  • [deterministic digest] 标记确实进入持久化的 block summary(src/preflight.ts:1610/1665;persist.zstd 默认 false → plain JSON 可扫;断言口径与 tests/preflight-emergency-fold.test.ts:143 一致)✅
  • EMERGENCY_FOLD_COVERAGE = MAX_PREFLIGHT_ROUNDS×2×CHUNK_FRACTION = 19.2x,fiber 超限 ~90x 深居确定性 regime,无需 LLM 调用 ✅
  • POST /__bili/shutdown(#3544)、GET /__bili/health、x-acp-session 身份链、tests/tmp-rm.ts 的 rmrf、scripts/ci-pretest-cache.mjs 均存在且语义吻合 ✅
  • CHANGELOG 条目落在 Unreleased→Added 正确小节;LIVE_FILES 表尾登记与 #2816 哨兵兼容(CI 静态门全绿)✅
  • 修复后本地复跑:pass 3 fail 0(~37s:dsh 20s + pi 17s)✅

已顺手修(均已提交本分支,非阻塞发现,全部机械性小修)

  • 已顺手修:测试注释 + CHANGELOG 里「claude-* 走 side-request passthrough(#388)绕过压缩」的论据与代码事实不符——#388 门控只按客户端证据武装(agent 头 / 输出预算 ≤200 / 宿主 sidecar 形状,src/server/side-request.ts + handle.ts:1037),从不按模型家族判定,故任何模型 id 都留在主压缩路径;两处措辞改为真实理由(中性 id 让套件不依赖 claude 注册表/窗口表条目)+ commit d33848b
  • 已顺手修:RESTART_SURVIVAL_DUMP 未设时每次上游命中都执行必然失败的 mkdirSync("") + writeFileSync("/up_*.json")(虽被 catch 但属每请求噪声)→ 未设时直接跳过 + commit 62105a2
  • 已顺手修:控制臂改用独立 UpstreamRecorder——lastPrompt 仅按 URL 建键,共享 recorder 会让控制臂首个 LCP 基线落在主臂最后一轮 prompt 上(当前是无人读取的死数据,属未来维护陷阱)+ commit 1d13fd1

判定:可合并(人工合并)。issue #5631 第②部分(bili-gate docker 真模型 restart lane)按 PR 声明不在本 PR 范围、走仓库边界另行交付,符合拆分约定。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

Review 收工:PR #5635 判定 APPROVE(lane 凭据为作者身份、GitHub 禁自批,结论以 review-comment 落在 PR:pull/5635#pullrequestreview-5772837774);已顺手修 3 处非阻塞小修并推回分支(d33848b 注释/CHANGELOG 的 #388 论据纠错、62105a2 dump 未设时的无效 syscall、1d13fd1 控制臂独立 recorder),修复后本地复跑 pass 3 fail 0(~37s);无 kernel/配置面/行为变更,等 owner 合并。

@ranxianglei ranxianglei left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ai: vllm-qwen/qwen3.8-27b)

复审(head 1d13fd18e):APPROVE 判定不变 —— 新 head 相对首审 head(eac1e53e1)的增量恰好是上一轮 review 里列出的三个顺手修 commit,无其他任何改动:

1d13fd18e fix: give restart-survival control arm its own upstream recorder
62105a201 fix: skip debug-dump syscalls when RESTART_SURVIVAL_DUMP is unset
d33848bdc fix: correct #388 side-passthrough rationale in restart-survival test comment + changelog

增量只碰 tests/issue5631-restart-survival.test.ts(+19/-8)与 CHANGELOG 一句话;无 src/、无 kernel/、无配置面、无 version。

八问(本轮仅答增量,未变项沿用上一轮完整审核)

  1. 是什么问题:不涉及新问题——本轮是顺手修后的复审。
  2. 什么原因:不涉及。
  3. 影响范围与严重程度:三处均为测试文件内机械修正(措辞纠错 / 去无效 syscall / 控制臂 recorder 隔离),产品行为零影响。
  4. 怎么修复的:见上三个 commit,逐一如上轮描述。
  5. 是否有回归问题:无——修复后在同一棵树上全量重建并本地复跑该套件:pass 3 fail 0(~37s,build-info 确认 dist 出自 1d13fd18e)。
  6. 是否破坏缓存:不涉及。
  7. 是否改了设计方向:不涉及。
  8. 是否引入新配置:不涉及(仍是那 3 个测试自用 env,默认值未动)。

CI(镜像缓存,head 1d13fd18e):failed 0;静态门 + test 矩阵在队列中运行,转绿即达可合并状态。

判定:维持 APPROVE(本 lane 凭据为作者身份,GitHub 禁自批,结论照旧以 review-comment 落地;合并权在 owner)。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

复审收工(head 1d13fd18e):增量 = 上一轮三个顺手修 commit,无其他改动;同树重建+本地复跑 pass 3 fail 0;镜像缓存 CI failed 0(矩阵运行中)。APPROVE 判定不变,见 PR pull/5635#pullrequestreview-5773211433,等 owner 合并。

@ranxianglei
ranxianglei merged commit c41ad31 into master Nov 5, 2026
47 checks passed
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📦 Merged Build Published

This merge to master was published as 0.0.1030-master.c41ad31 (rolling master tag).

npm install -g billion-context@0.0.1030-master.c41ad31  # this exact build
npm install -g billion-context@master  # always the newest merged build

npm view billion-context@master prints the current version at any time.

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

你这条转发内容只有「ework」,没有新指令,我就当连通性探测处理,不额外开工;顺手把最新状态报一下:

PR #5640 的 CI 现在全绿了。 head 50abddec4:30 项检查 failed: 0、pending: 0——之前那 11 个 test 矩阵分片已跑完通过,lock-sync 也保持绿。mergeable_state 显示 blocked 是分支保护在等人工审批(不是有检查失败)。

所以 #5637 的修复本体 + lock-sync 都已就绪,就差你 review/合并。因为改的是默认行为(user-scope 安装现在也会让 acp_delegate 让位,逃生口 forceEnable 不变),按 §7.4 走人工合并,我不 auto-merge。需要我改任何地方直接说。

Louie0806 added a commit to Louie0806/billion-context that referenced this pull request Nov 5, 2026
…mpress gate, ranxianglei#5686 dsh drift consolidation, ranxianglei#5696 model-scoped keyring 429

Ride-along upstream work that landed after c9ba485:
- ranxianglei#5683 forbid unprompted / out-of-bounds compression
- ranxianglei#5686 dsh drift consolidation (last native-compaction leak window)
- ranxianglei#5696 model-scoped KeyRing rate-limit holds
- ranxianglei#5661 incremental-lane credential headers, ranxianglei#5656 single-shot sidecar
- ranxianglei#5644 watcher registration recovery, ranxianglei#5635 restart survival

Overlap with this lane is limited to regenerated artifacts (CONFIGURATION*.md)
and to the shared relay/core seams, both auto-merged. No source conflict.

Verified after rebuilding kernel: issue5175 58/0, tag-echo 79/0,
issue2190-degen-close 32/0, golden-storage-render 5/0,
storage-engine-proofs 12/0, native-compact-terminal 1/0,
plugin-passthrough-tag-strip-chat 20/0, plus the newly arrived
ranxianglei#5683/ranxianglei#5686/ranxianglei#5656/ranxianglei#5658/ranxianglei#5631/ranxianglei#5641 suites all green.
tsc clean, four gates clean, config docs a fixed point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant