mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:00:44 +00:00
refactor: simplify plugin dependency handling
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths. Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
This commit is contained in:
committed by
GitHub
parent
2e8e9cd6ca
commit
ed8f50f240
@@ -340,15 +340,6 @@ describe("detectChangedScope", () => {
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["scripts/e2e/bundled-channel-runtime-deps-docker.sh"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["scripts/e2e/agents-delete-shared-workspace-docker.sh"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
@@ -385,15 +376,6 @@ describe("detectChangedScope", () => {
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["src/plugins/bundled-runtime-deps.ts"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
});
|
||||
|
||||
it("runs changed-smoke for Docker-covered core runtime surfaces", () => {
|
||||
|
||||
Reference in New Issue
Block a user