Repository navigation
[PR] fix: green the two red CI static gates (unused-exports + docs-sync) #3870 - #3887
Merged
Merged
Conversation
added 3 commits
October 20, 2026 08:14
…#3870) The generated param-ref block carried a bad-merge residue: storage.unified (pre-#3818 'unset (shadow)' text) and storage.sqliteAutoDownload (missing the #3788 cooldown sentence) each appeared twice — new + old row coexisting. The seeds are correct, so regenerating converges to a pure deletion of the 4 stale duplicate rows; no key description is lost.
…ow full (#3870) The hand-written long env description of BILI_STORAGE_UNIFIED still ended 'Default off.' / '默认关闭。' — stale since the #3818 storage-full flip that made unset default to full (the generated rows already say 'unset (full)'). Same root cause as the dedup above, flagged during the #3860 audit. Correct the trailing sentence to state the real default.
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4601-pr.3887.cfdeba8This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr3887.tgz
npm install -g packageInstall instructions are refreshed on each push. |
ranxianglei
pushed a commit
that referenced
this pull request
Oct 20, 2026
The five ContextView* shapes and ModelSwitchStats are consumed structurally (buildContextView's return value / cache-ledger internals); nothing outside their own files names them, so the #1440 P6 gate flags them as INTERNAL_ONLY. Drop the leading export keyword only - no behavior change. The remaining local gate hit (src/log-mask.ts maskUrlForPublish) is pre-existing master drift tracked by #3870 with fixes in flight (#3871/#3887); deliberately not bundled here.
This was referenced Oct 20, 2026
Owner
Author
(ai: vllm-qwen/qwen3.8-27b) 独立本地验证:把本 PR 的三个文件(CONFIGURATION.md / CONFIGURATION.zh-CN.md / src/log-mask.ts)应用到当前 master 树上后, 重叠提示:更早提交的 #3871 修的是同样两个缺陷、动的是同样三个文件。两者合入任意一个即可,另一个即冗余可直接关闭(先来后到建议优先 #3871);合入后我的 #3886 会 rebase 到修复后的 master,届时其测试矩阵才会真正跑起来。 |
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.628-master.ed635f7 # this exact build
npm install -g billion-context@master # always the newest merged build
|
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.
Closes #3870
What
Two independent defects left master's
unused-exportsanddocs-syncstatic gates red since 2026-10-19 ~14:49Z. Because the test/static-gates jobs list both gates in theirneeds, every PR's test lanes were skipped wholesale — no full-regression evidence was obtainable for any in-flight PR, and master stayed red. Both gates are verified green locally after this change (run exactly as CI).Three labeled commits — no behavior change:
exportonmaskUrlForPublish(src/log-mask.ts:121). [security][web] Diagnostics blob prints private relay hosts verbatim in the config section — the "secrets masked" header only masks values, not hosts | 诊断包 config 段原样输出内网中转地址:标题说"密钥已遮蔽",但只遮值不遮主机 #3811 exported it but onlymaskUrlsForPublishin the same file calls it → an INTERNAL_ONLY orphan the gate flags. No external importer exists (AST gate + repo-wide grep);tests/log-mask.test.tsdoes not import it either. Made module-local.param-refblock — bad-merge residue wherestorage.unified(pre-Storage wrap-up: 6 fixes + switch default mode to full (single PR) | 存储收尾六修 + 缺省模式翻 full(一个 PR 统一处理) #3818unset (shadow)text) andstorage.sqliteAutoDownload(missing the SQLite unified storage degraded to legacy-only (bili v0.1.201, node v20.19.5, win32-x64) #3788 cooldown sentence) each appeared twice (new + old row coexisting). Seeds are correct, so regeneration converges to a pure deletion; no key description lost.BILI_STORAGE_UNIFIED, which still ended "Default off." / "默认关闭。" — stale since the Storage wrap-up: 6 fixes + switch default mode to full (single PR) | 存储收尾六修 + 缺省模式翻 full(一个 PR 统一处理) #3818 storage-full flip made unset default tofull. Same root cause as fix: address all code review findings (condense, routing, session-id, dead code) #2, flagged during the [PR] feat: add supported session cleanup (bili sessions ls/rm/prune + VACUUM) #3860 audit. This line sits OUTSIDE the generated blocks, so it neither broke nor was fixed by the docs-sync gate; corrected to state the real default.Verification (local, mirrors the CI gates)
node scripts/check-unused-exports.mjs→✓ clean (5 waived), exit 0node tools/gen-config-docs.mjs generate && git diff --exit-code -- CONFIGURATION.md CONFIGURATION.zh-CN.md website/main.js website/docs/index.html→ clean, working tree pristinesrc/log-mask.ts1 line; each CONFIGURATION −3/+1); every line in scopeBehavior change: none — pure gate repair plus a doc wording fix that merely catches up to code whose default is already
full.