Skip to content

release v0.1.194 - #2826

Merged
ranxianglei merged 2 commits into
masterfrom
2026-10-12_release-v0.1.194
Oct 11, 2026
Merged

ranxianglei merged 2 commits into
masterfrom
2026-10-12_release-v0.1.194

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Version-only bump on top of current master (the release v0.1.194 commit touches only package.json + the lock version fields). Merging triggers CI to build, test, publish to npm, tag v0.1.194, and create the GitHub Release.

⚠️ Merge order matters. release.yml publishes the post-merge master tree. The better-sqlite3 removal (#2823 / PR #2825) is not yet on master. Merge #2825 first, then this release PR — otherwise 0.1.194 publishes without that fix and @leezn's dsh plugin-market update still fails with [ERR_PNPM_IGNORED_BUILDS].

Changes since v0.1.193

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-10-12_release-v0.1.194 (41217c3)

Option A — Install this exact build (recommended)

npm install -g billion-context@0.0.3136-pr.2826.d14c294

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

Option B — Download artifact

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

Install instructions are refreshed on each push.

@ranxianglei

Copy link
Copy Markdown
Owner Author

继续这个评审一下

@ranxianglei ranxianglei reopened this Oct 11, 2026
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

版本区间回归审计(v0.1.193 → master)+ PR 审查

本版本引入回归:无。

PR 本体:纯版本号提交(package.json + package-lock.json 仅 version 字段,0.1.193→0.1.194),base = 当前 master HEAD(47386e6),无落后、可合并。

全窗审计(v0.1.193..master,15 个非 merge 提交,25 文件,+1794/−118):逐段通读完成(高危域全文精读 + 其余按模块分批),每一处变更都与 PR 正文列出的 issue 一一对应,无未交代变更;窗口内未触碰 kernel/、pi-subagents/、src/update.ts、lockfile 依赖钉。

高危域逐项点名核查

重大行为变更清单(全部有意,旧值→新值+原因)

  1. Preflight 多范围外部摘要折叠:串行逐范围走查 → 每轮最多 4 个范围一个并发批次(MAX_PREFLIGHT_SUMMARY_BATCH=4,[Bug][external-summary] ranges in one batch are summarized sequentially — concurrency only applies across batches (6 ranges = 85 s on the request path) #2667/[Feature][preflight] fold several ranges in ONE summary call - preflight currently issues one request per range, sequentially, inside the session lock #2678)。墙钟从 k×串行调用变为最慢一块;单范围与非外部链场景保持原路径字节级不变。
  2. 超时语义:plan 构造期共享 deadline → 每次 summarize() 拿全新完整预算([Bug][external-summary] batch deadline harvests queued ranges ("completed 0/N; batch=deadline (no result)") — per-range truth lost, whole-batch refusal, fold-reconcile drift #2639)。修复了 stale 时钟饿死后续范围的 bug;代价是多调用的折叠轮最坏墙钟可达 k×totalTimeoutMs(原为整体一份)。
  3. 新增配置字段 externalSummary.concurrency(整数 1..32,默认 4,grow-only:低于 4 的值通过校验但永不缩池,[Feature] expose external-summary concurrency as config — hard-coded ExternalSummaryExecutor(4) throttles every session on the host #2657)。CONFIGURATION.md en+zh 已同步、Web UI 已加字段——config surface 变更在此显式披露。
  4. 诊断计数:rangesTried 跨轮去重(triedKeys),"across N viable ranges" 从访问次数变为唯一范围数。
  5. 失败细节:多范围批次报告首个失败范围而非固定 slot 0(单范围输出不变)。
  6. 整批队列死亡(deadline 且全部 attempts=0):本轮折叠停止而非继续排队,细节点名池饱和;不触发 10 分钟退避(与 auto-fold backoff arms on pure queue-drops (attempts=[]) as if the summary service had failed #2662 零派发不退避路径一致)。
  7. OpenCode Go 摘要请求新增 x-opencode-session + bili UA——此前该通道直接 400 MissingSessionID,属修复坏掉的通道而非行为漂移。
  8. release-notes:0.1.192/0.1.191 摘要裁到 400 字符上限内(纯 advisory 文本,fix(release-notes): trim 0.1.192/0.1.191 summaries under the 400-char cap #2818)。

回归审查(既有行为清点)

测试有效性

新套件有牙:并发重叠实测(maxOverlap >= 2)、结果索引对齐、取消时 dense-prefix、deadline 停止未启动项、跨轮重试次数断言(≥2/≥3)、oldest-chunk 提名时序标记、fresh-budget 派发计数——上述任一行为回归都会被抓住,非恒真断言。

CI

写作时:ci-image ✅、E2E (real codex) ✅,其余 job 运行中/排队中。

⚠️ 合并顺序(拦下项)

复核确认 #2825(better-sqlite3 移除)目前仍未合入 master(open,mergeable,head ce1dd2f)。release.yml 发布的是合并后 master 树:先合本 PR,0.1.194 就会缺掉该修复,@leezn 的 dsh plugin-market 更新仍会挂在 [ERR_PNPM_IGNORED_BUILDS]。请等 #2825 先合并、本 PR CI 全绿后再合本 PR。

结构化八问

  1. 是什么问题:不是缺陷——发布 PR,把 v0.1.193 之后窗口内的累积修复/功能发版。
  2. 什么原因导致的:不涉及(窗口内各变更的原因见上面行为变更清单对应的 issue)。
  3. 影响范围与严重程度:全量用户随升级获得窗口内全部变更;其中 Go 外部摘要通道由"必 400"变为可用(修复),多范围折叠性能改善;无负面触发条件。
  4. 怎么修复的:机制层面——共享摘要池支持批内并发 + 作用域化尺寸请求(preflight 一次调用折多个范围,池只在该批在途期间增长后回落);超时预算改为按调用发放;Go 头戳记限定在目标识别层做。
  5. 是否有回归问题:无。既有行为逐项清点见上;高危模式(语义漂移、fail-fast 变吞错、阈值/时序漂移)均核对过——唯一的时序变化是第 2 条(按调用发预算),属有意修复并已披露。
  6. 是否破坏缓存:不涉及压缩缓存/重试游标/去重键;Go 的稳定 session 头反而利于其 prompt cache。
  7. 是否改了设计方向:没有——池仍是进程级单例,批次复用既有 executor,只是把尺寸暴露为配置并允许批内并发。
  8. 是否引入了新的配置:externalSummary.concurrency(整数 1..32,默认 4,可选字段,缺省=基线池大小;grow-only,低值不收效)。迁移方式:无需迁移,已有配置不受影响。

判定:内容可合;但受合并顺序拦截——先合 #2825,待 CI 全绿再合本 PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant