Repository navigation
[PR] fix(verif): drop dev-machine absolute paths in wire harnesses + gate solver-dependent anthropic round-trip tests - #4084
Merged
Conversation
…nthropic round-trip tests The two new verif wire harnesses hardcoded /home/dog/tmp/bili-verif2/... so every CI run (any machine but the dev box) failed with ENOENT before a single assertion ran. Resolve the kernel wire sources relative to the test file (same pattern as verif-bug3691) and gate the two SMT-dependent anthropic round-trip tests behind haveSolver, exactly like their google sibling, so solverless environments (CI shards) skip instead of failing. The solver-free real-code replay baseline keeps running everywhere.
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4863-pr.4084.5b127f4This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr4084.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Third instance of the same miss as the anthropic round-trip harness: the #3989 view-latch induction judge calls solveSmt2 with no solver-availability gate, so every solverless CI shard fails with 'no solver available' instead of skipping per KDD #14. Same probe + skip pattern as the google harness; the solver-free behavior-matrix test keeps running everywhere.
This was referenced Oct 21, 2026
Merged
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.700-master.333a468 # this exact build
npm install -g billion-context@master # always the newest merged build
|
This was referenced Oct 21, 2026
Closed
Merged
Zhishulo
pushed a commit
to Zhishulo/billion-context
that referenced
this pull request
Oct 21, 2026
…4087 cleared the master red)
Merged
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.
(ai: zhipuai-lb/glm-5.3)
Fixes #4083
修了什么
两个 verif wire harness 把开发机绝对路径写死进了仓库:
tests/verif-wire-anthropic-roundtrip.test.ts:28—const KP = "/home/dog/tmp/bili-verif2/kernel/src/wire/anthropic.ts"tests/verif-wire-google-rebuild-stability.test.ts:44—file: "/home/dog/tmp/bili-verif2/kernel/src/wire/google.ts"CI runner 上没有
/home/dog/,translateFunction在 loadModule 的 readFileSync 处直接 ENOENT,一条断言没跑就红 —— 这就是 master(以及叠在 master 上的所有 PR,如 #4061)ubuntu22 两分片红的根因(d22508b / ebf4de1 带入)。顺带第二处:anthropic 往返 harness 的两条 SMT 依赖测试没有求解器跳过门(路径修好后它们会在无求解器的 CI 分片上以
no solver available失败,而不是按 KDD #14 设计跳过 —— google 兄弟文件在 :25 有 haveSolver 门)。改动(2 文件,每处最小 diff)
new URL("../kernel/src/wire/<x>.ts", import.meta.url).pathname—— 与tests/verif-bug3691-oscillation.test.ts:65同款,cwd 无关;haveSolver探测(与 google 文件同实现),两条 SMT 测试加{ skip: !haveSolver };不需要求解器的 real-code replay baseline 保持处处运行。验证
tests/verif-subset-guard.test.ts2/2 绿;npx tsc --noEmit干净。影响面
纯测试文件,无产品代码、无 kernel、无配置面。合并后 master ci.yml 分片与 #4061 等叠加 PR 的同款红应一并消除。