Repository navigation
[PR] rollout: default pluginFullResendWatermark back to 0 — retract the #7960-era GA (owner ruling 2026-11-29) - #7967
Merged
Conversation
…26-11-29, #7960) After the 2026-11-22 GA (PR #6785), one-shot host injections (pi-lens turn-end context) left a stale seed the 8-element head check cannot see; the fastpath mis-hit rendered an orphaned tool result and upstream 400s (#7960), with unconfirmed cache-reuse collapse reports on the same count-preserving prefix-drift trust boundary. PR #7962 fixes only the tool-pairing shape, so the fastpath defaults OFF again until detection widens: every turn goes through the legacy full-parse path (byte-identical to v0.1.216 behavior). Opt-in unchanged: rollout.features pluginFullResendWatermark true / BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK=1 / web quick-config ON. Explicit config overrides are untouched. Docs synced (configuration x3, egress-plane, deprecations, KDD #15 addendum, web i18n x3); pinned test re-pinned 100 -> 0 (tests/wm-fastpath-intro-notice.test.ts); issue7857 test now forces the flag on via env since its deferred-parse gate is behind the feature.
Contributor
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.12423-pr.7967.6139d97This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr7967.tgz
npm install -g packageInstall instructions are refreshed on each push. |
…(drift guard) The configuration docs are GENERATED from website/config-reference/*.yaml (docs-sync CI guard); editing docs/configuration*.md directly drifts. Move the #7960 default-off change (default 0, three-language descriptions) into the rollout.yaml seed and regenerate.
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.1347-master.bc81fa3 # this exact build
npm install -g billion-context@master # always the newest merged build
|
This was referenced Nov 29, 2026
Merged
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.
背景
2026-11-22 GA(PR #6785,
pluginFullResendWatermark5→100)之后暴露 #7960:宿主的一次性注入(pi-lens 等 turn-end 注入)在快路径 seed 里留下的过期位置,超出 8 元素 head 检查的可见范围 → 误判 HIT → 渲染出孤儿 tool 结果 → 上游 400。另有同一信任边界(保元素数的中间前缀字节改写不可检测,§7.4)上的"缓存复用从某点起塌缩、每轮重读大部分"的社区报告待定案。PR #7962 只修 tool 配对断裂这一种形状,检测面扩宽之前,默认重新关闭。改动
src/rollout.ts:pluginFullResendWatermark默认 100 → 0(owner 裁定 2026-11-29)。关 = 每轮 legacy 全量解析,与 v0.1.216 行为逐字节等价([Bug][dsh] 20k-message / 81 MiB-inbound session: host aborted 6× in 2 h — the #3050 resident-AST OOM is not bounded bysessions.hardMaxBytes(Windows, 0.1.210) #5403 A/B 黄金测试证明)。rollout.features.pluginFullResendWatermark: true(或百分比)/BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK=1/ web 快速配置选「开」。已显式写true的配置文件不受缺省变更影响。tests/wm-fastpath-intro-notice.test.ts:钉住测试 100 → 0(原用例就是"意外翻回灰度在这里失败",现在反过来钉 0)。tests/issue7857-deferred-parse-identity.test.ts:其被测的 deferred-parse 门(src/server/handle.ts:785)挂在本开关后面,改为 env 强制开,与被测路径无关的缺省变更不影响它。八问
Closes 无(#7960 由 #7962 修复,本 PR 只处理默认值)。