Repository navigation
release v0.1.195 - #2857
release v0.1.195#2857
Conversation
dshCompactionRefusal() answered 403 on every lane. 401/403 is the credential-failure class (HTTP semantics; Anthropic pairs 403 with permission_error, while the anthropic-lane refusal paired it with invalid_request_error), so clients that classify by status read a local policy refusal as a credential failure and may disable the credential. 422 keeps the refusal a non-retryable client error (not 408/409/429/5xx) without the auth semantics; body shapes are unchanged. Fixes #2843
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.3175-pr.2857.d9e7911This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr2857.tgz
npm install -g packageInstall instructions are refreshed on each push. |
[bot] 🏷 版本区间回归审计完成(v0.1.194..head,12 文件逐段通读;高危域 dsh 相关全部逐行)。结论:审计项全过,但 CI 有一处红,先修再合。 结构化八问
行为变更披露(旧值→新值):dsh compaction 本地拒答的 HTTP 状态 403 → 422(anthropic lane 与 generic lane 均变),body 形状不变;原因见第 2 问。PR 标题/正文已声明,符合披露要求。 判定:❌ 暂不可合。阻塞项唯一:version-guard 红。由于 release-bugfix.yml 的 Full-CI gate 是 fail-closed 的,现在合并不会误发布(会卡在 gate 上),但通道卡死;建议等 #2858 的 ci.yml 修复落 master 后 re-run 本 PR CI 转绿再合。发布物内容本身(tag + fix + bump,精确 carve-out)审计无误。 |
ranxianglei#2853 made the carve-out channel PR-gated with bugfix-release/* as the marker prefix, but ci.yml version-guard still only whitelisted *_release-v*. Every carve-out release PR (e.g. ranxianglei#2857) went red, and release-bugfix.yml's fail-closed full-CI gate then blocked the merge-time publish.
|
现在可以合成了吗 确认只有一个 fix 对吗 |
|
**维持原 carve-out 意图(只发 dsh-422 fix)**→ 把分支恢复到我审计过的 7c41abd(force-push PR 分支,非 master,合规;CI 会在修好的 guard 下重跑转绿)。你说一声我就执行,然后可合。 |
|
我看风险不大 直接发了 |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.306-master.23186d5 # this exact build
npm install -g billion-context@master # always the newest merged build
|
Bugfix carve-out release — publishes ONLY this PR + version bump (#2851)
Cut from tag v0.1.194 (last released), containing exactly:
e759b24a6fix: refuse dsh native compaction with 422, not auth-class 403 (cherry-pick of fix: refuse dsh native compaction with 422, not auth-class 403 (#2843) #2844's fix commit46f6e931b, author Mintapril preserved)7c41abd29release v0.1.195 (version bump only: package.json 0.1.194→0.1.195 + lockfile sync)Deliberately excluded — unreleased master work after v0.1.194: #2834 (probe stderr silence), #2791 (responses/google affinity), #2832 (preflight deterministic empty), #2619 (draft-tail-compaction), #2828/#2824 (sketch image perf), #2829 (fetch-chain log channel). They stay on master for the next normal release (which must be ≥ 0.1.196).
On merge, the PR-gated
release-bugfix.yml(#2853, merged today) checks out THIS pre-merge head tree and publishes v0.1.195 to npmlatest— the artifact is exactly this branch, nothing else. All fail-closed guards run as usual (monotonic vs npm latest 0.1.194 ✓, not-already-live ✓, full pre-flight + full-CI gate at this sha).No severe-behavior entry needed in release-notes (opt-in severity declarations only, #1870).
Closes #2851.