Skip to content

[PR] ci-fixes -> master: converge master CI gate fixes (docs-sync, unused-exports) #4599 - #5348

Closed
ranxianglei wants to merge 4 commits into
masterfrom
ci-fixes
Closed

ranxianglei wants to merge 4 commits into
masterfrom
ci-fixes

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Converges the red master-CI gates onto the persistent ci-fixes branch (CI Control Center #4599). Head tracks current master (includes 485c5ea dns-wedge work).

Lanes addressed on this branch:

docs-sync — #5319 documented the new "chat" builtin prompt pack in CONFIGURATION.md / CONFIGURATION.zh-CN.md but never updated the single-source seed website/config-reference/compress.yaml, so regeneration dropped the pack and the gate failed. Added "chat" to the compress.promptPack seed (type/desc_en/desc_zh) and regenerated website/docs/index.html to match.

unused-exports — CodexWindowSource (src/codex-models.ts) and PackInstallOptions (src/pack-install.ts) are referenced only inside their own modules and imported nowhere else; dropped the leading export (INTERNAL_ONLY), same pattern as ResolverWedgeWire (e212ccd).

lifecycle-ledger-guard — already resolved upstream: the LIFECYCLE.md entries for BILI_SESSION_CONTENT_STORE_PIN / BILI_SPAWN_FINGERPRINT (0371089) reached master via the #5322 merge; carried here unchanged.

Verified locally at this head: lifecycle-ledger-guard OK, check-unused-exports clean, gen-config-docs regenerate equals committed artifacts (zero drift). Full-suite verdict is the CI test lanes on this head.

ework-agent added 3 commits October 31, 2026 18:03
Converging master's red gates onto ci-fixes. lifecycle-ledger-guard is already fixed here (LIFECYCLE.md entries for BILI_SESSION_CONTENT_STORE_PIN / BILI_SPAWN_FINGERPRINT from the prior sentinel pass, preserved through the master merge); this commit clears the other two.

docs-sync: #5319 documented the new 'chat' builtin prompt pack in CONFIGURATION.md/.zh-CN.md but never updated the single-source seed, so regeneration dropped it and the gate failed. Add 'chat' to the compress.promptPack seed (type/desc_en/desc_zh) and regenerate website/docs/index.html to match.

unused-exports: CodexWindowSource (src/codex-models.ts) and PackInstallOptions (src/pack-install.ts) are referenced only inside their own modules and imported nowhere else; drop the leading export (INTERNAL_ONLY) as the guard prescribes.

Verified locally: lifecycle-ledger-guard OK, check-unused-exports clean, gen-config-docs regenerate matches committed artifacts (zero drift).
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: ci-fixes (cbdd67d)

Latest build — install this exact version

npm install -g billion-context@0.0.7517-pr.5348.fb85d0c

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

Recent builds (commit → version)

commit version build
cbdd67d billion-context@0.0.7517-pr.5348.fb85d0c build
0d69e27 billion-context@0.0.7503-pr.5348.5c95135 build

Download artifact

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

Install instructions are refreshed on each push.

@ranxianglei ranxianglei changed the title ci-fixes -> master: converge master CI gate fixes (docs-sync, unused-exports) #4599 [PR] ci-fixes -> master: converge master CI gate fixes (docs-sync, unused-exports) #4599 Oct 31, 2026
…safe family gate)

pack-install.ts took the last 3 npm stderr lines via split+slice(-3), tripping the #816/#1615 family gate in tests/text-safe.test.ts even though the receiver is an array of lines (code-unit-safe). Use a non-negative computed start index so the literal negative-slice token is gone; output is identical (last up-to-3 lines clamped to 300 chars). Inherited from #5340, which shipped without satisfying the gate.
@ranxianglei

Copy link
Copy Markdown
Owner Author

关单说明:本 PR 是 #5347 的真子集(codex-models + pack-install + 生成物),两者价值均已被 #5327 覆盖(裸 .slice(-3) 改为 safePrefix、CodexWindowSource 去导出、issue5103 文案钉更新)。唯一残留=#5347 里 compress.yaml 的 chat-pack 文档小笔,如需保留请基于新 master 单独开 docs-only PR。—— 由 #5327 交付方代为关闭。

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