fix(test): opencode setup.sh 不再拷不存在的 lib/#72
Merged
Conversation
tests/opencode/setup.sh 从上游照搬了 `cp -r $REPO_ROOT/lib`,但本 fork 没有 lib/ 目录,导致 test-plugin-loading.sh 在 setup 阶段就 cp 失败、 整个 opencode 测试套件飘红(既有问题,CI 不跑、不拦门)。 本 fork 的 opencode 插件(.opencode/plugins/superpowers.js)自包含、 仅 readFileSync 读取 ../../skills,不依赖 lib,故删除该多余拷贝。 验证:bash tests/opencode/run-tests.sh → STATUS: PASSED(1 passed/0 failed)。
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.
陈旧测试修复:setup.sh 从上游照搬了 cp lib,但 fork 无 lib/,导致 opencode 测试套件飘红。fork 插件不依赖 lib,删除该拷贝。验证 STATUS: PASSED。