test: repair root smoke harness - #16
Merged
ranxianglei merged 1 commit intoAug 13, 2026
Merged
Conversation
Owner
|
前面的我尽可能的都合并了,新进来再修可能的问题 |
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.
问题
仓库文档要求在 build 后运行
node smoke.mjs,但 root smoke 仍导入重构前的./dist/index.js;当前 monorepo 实际产物位于packages/billion-context-opencode/dist/index.js,因此 smoke 在加载插件前就失败。路径修复后还暴露出两个 harness 问题:
~/.cache/opencode-bili-acp,会误删用户其他会话的压缩状态。修改
packages/产品源码、公共 API 或持久化 schema。验证
npm run typecheck:PASSnpm test:26/26 PASSnpm run build:PASSnode smoke.mjs:PASS(当前 master,assistant ref 路径)git diff --check:PASS范围
该 PR 只修复 root smoke harness。assistant 必须不带标签的严格行为断言仍由 PR #12 的 converter 单测负责,本 PR 不重复定义产品行为。