Repository navigation
[PR] docs: backfill LIFECYCLE.md — register the 22 unledgered BILI_* env vars (fixes lifecycle-ledger-guard red) - #3995
Merged
Conversation
…failing lifecycle-ledger-guard The ledger landed via #3249 already 22 entries behind src/ (mysql storage, guardrails, #3128 network budgets, #3400 image rescale, #3619 update stagger, #3733 dsh authored compaction, #3756 snapshot shadow, #3278 pi inline). Every completed CI run since hits the guard and fails. Backfill: 3 transition rows in §1 (SNAPSHOT_SHADOW, DSH_AUTHORED_COMPACTION, PI_INLINE) + 19 permanent rows across §2.3/2.4/2.5/2.7/2.8 and new §2.9 (guardrails + auto-mode forge), plus a §5 hygiene record. Local: node scripts/lifecycle-ledger-guard.mjs -> OK, exit 0 (148/148).
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4769-pr.3995.b16a18bThis exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr3995.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.686-master.979f883 # this exact build
npm install -g billion-context@master # always the newest merged build
|
This was referenced Oct 20, 2026
Closed
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.
Fixes #3994
一句话
LIFECYCLE.md台账随 #3249 落地时就比src/少登记了 22 个环境变量,lifecycle-ledger-guard上线即把所有跑完 CI 的 PR 判红;本 PR 把 22 条全部补登,守卫回绿。根因(详见 #3994)
#3249 分支切出后 master 又合入了 mysql 存储、guardrails、网络预算、图像缩放、更新错峰、dsh authored compaction、snapshot shadow、pi inline 等改动,台账生来即缺。落地后 master 的 CI run 全被后续 push 取消,从未暴露;#3988 是第一批跑完的 pull_request CI。
改动
只动
LIFECYCLE.md(+25 行,零代码改动):§1 过渡开关(3 条,有解除条件)
BILI_SNAPSHOT_SHADOW(Snapshot rendering: proxy-lane outbound is now rendered authoritatively server-side; existing sessions are immune to ker | 快照渲染:proxy 车道出站从服务端正史渲染,存量会话对内核升级免疫(#3752 根治) #3756 snapshot-render 影子观测,render 车道转正后退役)BILI_DSH_AUTHORED_COMPACTION(bili-authored client compaction: let the host's own compaction flow run, but bili writes the checkpoint #3733 本地应答折叠快照,adoption 后转 file/web 开关)BILI_PI_INLINE(移植 billion-context-pi 版本的非 server 模式 #3278 inline 模式 opt-in,GA 或放弃后收束)§2 常设面(19 条)
BILI_CA_FILE、BILI_RECEIVE_BODY_BYTES/BILI_DECODED_BODY_BYTES、BILI_OUTBOUND_BODY_BYTES、BILI_WS_OUTBOUND_BYTESBILI_STORAGE_ARCHIVE_AFTER_DAYS、BILI_STORAGE_WAL_JOURNAL_SIZE_LIMIT_BYTES、BILI_MYSQL_DSNBILI_INVARIANT_JUDGEBILI_UPDATE_POLICY_URL、BILI_UPDATE_STAGGER_MIN_MS/MAX_MSBILI_IMAGE_RESCALE/BILI_IMAGE_RESCALE_MAX_DIMBILI_GUARDRAIL_BASH_TIMEOUT、BILI_GUARDRAIL_MAX_OUTPUT_BYTES、BILI_GUARDRAIL_REPETITION、BILI_GUARDRAIL_TEXT_RUN_THRESHOLD、BILI_AUTO_MODE_FORGE§5 卫生记录:记一笔本次补登的来龙去脉。
每条一句话用途 + 出处 issue 号 + 默认值/逃生值,与既有行文一致;分类口径 = 有解除条件的盖子/实验 → §1,纯功能面 → §2。
验证
node scripts/lifecycle-ledger-guard.mjs→OK: every BILI_* env var read from src/ is registered in LIFECYCLE.md(148/148,exit 0)关联