Repository navigation
[PR] Revert "#3900: reserve output headroom on every wire (drop the Anthropic exemption)" (#4184) — unblock v0.1.204 - #4198
Merged
Conversation
…pic exemption)" This reverts commit 4d50f9c.
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4992-pr.4198.ca3c319This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr4198.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.731-master.44409dd # this exact build
npm install -g billion-context@master # always the newest merged build
|
ranxianglei
added a commit
that referenced
this pull request
Oct 21, 2026
This was referenced Oct 21, 2026
Merged
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.
(ai: zhipuai-lb/glm-5.3)
这是啥: #4184 (4d50f9c) 把「为输出预留 headroom」从 OpenAI 系扩到了所有 wire, 但全库约 40 个钉住未预留窗口值/窗口行为的测试没跟着更新 → master 测试 shard 大面积红 (codex UA 钳制 272000→270976、#1339 1M、#554 sideRequestGuard、#3900 自己的 e2e、storage-render anthropic golden、#2678 批次波次…), release v0.1.204 (#4190) 被 25 个 check 卡死。
为何 revert 而不是补测试: ① 该改动是默认值变更 (AGENTS.md §7.4: fallback/默认值 = 人审产品决策档), 但落地时没更新受影响面, 属于半成品落地; ② 发布被卡, revert 是最快解法; ③ ~40 个测试的期望值翻新涉及「status 显示 270976 还是 272000」这类口径决策, 应该随重做一起做。
验证: revert 后本地 codex-window-align 8 + issue2678 4 + context-overflow + anthropic-beta-window + preflight-max-output-tokens + issue3900×2 + side-lane/side-request 49 + golden-storage-render + claude-bridge-e2e 3 + 987/selfheal = 全绿; typecheck 绿。ef59cf76~1 (revert 前) 同套 12/12 绿交叉印证 #4184 是唯一回归源。
后续: #3900 保持 open, 重做 PR 需要把「effectiveContextLimit 记录值是否含预留」定清楚 (建议: 记录未预留值, 预留在 band 计算层做, 参见 #3837 的 headroom 口径讨论), 并一次性更新全部受影响测试 + golden regen。
Refs #4184, #3900, #4190