Repository navigation
[PR] Snapshot Rendering Shadow Reconciliation: The outbound snapshot engine defaults to dry-run; alerts are raised only for m | 快照渲染影子对账:出站快照引擎默认干跑,机械可证错误才报警 - #3865
Conversation
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4574-pr.3865.6a1bd28This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr3865.tgz
npm install -g packageInstall instructions are refreshed on each push. |
4c48264 to
9307b27
Compare
…#3756 follow-up) - snapshot-render.ts: buildView/maybeSnapshotView split; shadow lane classifies the would-be view against the legacy outbound (lost-tail / duplicate / unstable-prefix = mechanical error classes; degrade reasons = known costs, never errors), per-session snapshotShadow blob, snapshotShadowStatusWire - knobs.ts resolveSnapshotShadow + config.ts snapshot.shadow (env BILI_SNAPSHOT_SHADOW > file > default ON) - admin status JSON snapshotShadow aggregate; sessions list per-session counters; snapshot-shadow diagnostics topic; web banner with report buttons (i18n en/zh); docs seeds + generated reference Fixes the rollout flip precondition: error rate ~0 across a full version.
…low-up) Goldens pin wire+state bytes for the render/storage shape; the shadow observability blob is orthogonal and covered by its own suite.
3288386 to
05e9b1a
Compare
(ai: vllm-qwen/qwen3.8-27b) 冲突已解完,rebase 到最新 master(39fb841)后强推,PR 分支现指向 05e9b1a。 冲突来源:master 合入的 #3737(dsh-authored compaction)与本 PR 各自在「仅环境变量」表的表头同一位置插入了新条目——#3737 加 解法:三处均取并集——master 的 DSH 行保留在表首(维持其原有位置),PR 的 SHADOW 行紧随其后;en/zh/yaml 种子三处一致。 八问:
收工判定:冲突已清,等 CI 绿即可合并。 |
(ai: vllm-qwen/qwen3.8-27b) 收到。冲突 rebase 之后顺手复核了这个顺带修复在新 base 上依然成立:
也就是说这个修复随 rebase 无损带上了,CI 的 unused-exports 门应该在新头上转绿。 |
(ai: vllm-qwen/qwen3.8-27b) 查重:不重复。检索 open+closed issue/PR 无其他「出站快照影子对账干跑车道」的同类实现;本 PR 是 #3759(出站快照引擎灰度)/#3756 的直接后续,机制唯一,无并列重复项。 标签: 这是 @ranxianglei 的 PR(正文无 |
(ai: vllm-qwen/qwen3.8-27b) 独立审完整个 diff(18 文件 ≈682 增,base 结构化八问
测试有效性(④)强,不是恒真/mock-only。最关键两条都有牙:跨两次 harness 的出站 body 逐字节相等( diff 整洁度(⑤)干净。唯一“越界”的行是 CONFIGURATION.md/.zh-CN.md 里 reference 整段重生成(issue 里的“docs 种子重生成 273 条”)顺带同步了 master 上早已漂移的 kernel-change: none —— 确认 diff 无任何 两个不影响合并的外观级小项在你自己这条 PR 上我没擅自 push,列出来你定夺(要的话我一并收):
CI 现状 + 合并判定head |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.635-master.a3590e1 # this exact build
npm install -g billion-context@master # always the newest merged build
|
这是什么
#3759 的出站快照引擎仍处灰度 0%(BILI_ROLLOUT_SNAPSHOT_RENDER)。本 PR 加一条影子对账车道,让它在每轮已折叠会话上干跑:
分类纪律(用户定调 m37616:不是每个 diff 都报警,只有确切 bug 透出)
暴露面
GET /__bili/status→snapshotShadow: {enabled, watching, errors, worst}snapshotShadow: {turns, errors, lastClass, lastReason?}字段snapshot-shadow(逐会话 blob,最多 40 条)—— banner 上 GitHub 一键上报按钮errors > 0时出现(i18n en/zh)配置(用户要求:JSON 配置文件而非只有环境变量)
BILI_SNAPSHOT_SHADOW环境变量 > 配置文件snapshot.shadow布尔 > 缺省 true{ "snapshot": { "shadow": false } }测试(打桩先行,6 组 5 绿)
回归:snapshot-render 12/12、web-sessions 24/24、acp-status 7/7、tsc 0、docs 种子重生成(273 条)。
kernel-change: none