Repository navigation
Re-land #1483: remote maintenance advisory + force-update (after no-op 0.1.166 validation) - #1582
Conversation
…y-force-update" This reverts commit 44171bf.
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.1513-pr.1582.1fb1dc1This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr1582.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Verification complete — re-land confirmed correct, CI green, post-merge step 1 is ready. Content verification
Regression review — existing behaviors touched → verdicts
Behavior changes (all intended, disclosed)
Test validity16 new tests with real teeth — spot-checked the F2 regression test verbatim: asserts install untouched, Finding (non-blocking) → filed as #1588One design gap found during review — single root cause (matching/deferral keyed on the current version rather than the candidate/post-restart state), two faces, both manifesting only under rollback-shaped advisories; autoUpdate-off users (the primary audience) are unaffected:
Post-merge steps
中文摘要:重落地内容与 #1483 逐字节一致、CI 与本地全套验证通过、既有行为无回归(仅两处有意变更并已披露:auto-update 关闭时仍有每 3 分钟的后台公告轮询、status 端点新增 advisory 字段);审核中发现一个「回滚形态公告」下的设计缺口(振荡 + 回滚后无持久重启提示,仅影响开启自动更新的用户),已立项 #1588 待你拍板;发布 0.1.167 的 PR #1587 已备好,可以合并。 |
Re-lands #1483 (reverted by #1580) as step 4 of the updater-change discipline (AGENTS.md §'⚠ Releasing changes to the auto-update mechanism itself').
Why it is safe to re-land now
Step 3 — no-op release validated the existing path end-to-end (live, this machine):
That run was the advisory-capable branch build installed as a real npm copy (tarball →
npm install -g, readlink empty, dist containsbillion-context-advisories), so the hop itself was executed by the new updater code: registry resolve → tarball → sha512 → staged in-place install → disk flip. Disk now runs registry 0.1.166 (advisory marker absent — expected, master is post-revert).What this re-lands
Full content of #1483 at its merged head
1cc07c1(revert-of-revert of44171bf, rebased onto3bacfe0— includes the post-review fixes F1/F2: unresolvable target must not wedge the self-update loop):billion-context-advisories(CI publishes fromadvisories/on master pushes, independent of app releases)BILI_ADVISORY_URL=off)Gates
npm installto restore the revertedsemver/@types/semverdeps)After merge
Parent issue: #1481. Previous review history and the revert rationale: #1483, #1580.