惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
Martin Fowler
Martin Fowler
博客园_首页
量子位
T
Tailwind CSS Blog
博客园 - Franky
G
Google Developers Blog
D
DataBreaches.Net
Vercel News
Vercel News
B
Blog
Recent Announcements
Recent Announcements
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
爱范儿
爱范儿
博客园 - 【当耐特】
The Cloudflare Blog
H
Help Net Security
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
C
Check Point Blog
有赞技术团队
有赞技术团队
Microsoft Security Blog
Microsoft Security Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
test: speed up changed unit checks · openclaw/openclaw@85...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -1,29 +1,11 @@

11

import { describe, expect, it } from "vitest";

2-

import {

3-

collectExtensionPluginSdkBoundaryInventory,

4-

main as extensionPluginSdkMain,

5-

} from "../scripts/check-extension-plugin-sdk-boundary.mjs";

6-

import {

7-

collectSdkPackageExtensionImportBoundaryInventory,

8-

main as sdkPackageMain,

9-

} from "../scripts/check-sdk-package-extension-import-boundary.mjs";

10-

import {

11-

collectSrcExtensionImportBoundaryInventory,

12-

main as srcExtensionMain,

13-

} from "../scripts/check-src-extension-import-boundary.mjs";

2+

import { main as extensionPluginSdkMain } from "../scripts/check-extension-plugin-sdk-boundary.mjs";

3+

import { main as sdkPackageMain } from "../scripts/check-sdk-package-extension-import-boundary.mjs";

4+

import { main as srcExtensionMain } from "../scripts/check-src-extension-import-boundary.mjs";

145

import { createCapturedIo } from "./helpers/captured-io.js";

15616-

const srcInventoryPromise = collectSrcExtensionImportBoundaryInventory();

177

const srcJsonOutputPromise = getJsonOutput(srcExtensionMain, ["--json"]);

18-

const sdkPackageInventoryPromise = collectSdkPackageExtensionImportBoundaryInventory();

198

const sdkPackageJsonOutputPromise = getJsonOutput(sdkPackageMain, ["--json"]);

20-

const srcOutsideInventoryPromise =

21-

collectExtensionPluginSdkBoundaryInventory("src-outside-plugin-sdk");

22-

const pluginSdkInternalInventoryPromise =

23-

collectExtensionPluginSdkBoundaryInventory("plugin-sdk-internal");

24-

const relativeOutsidePackageInventoryPromise = collectExtensionPluginSdkBoundaryInventory(

25-

"relative-outside-package",

26-

);

279

const srcOutsideJsonOutputPromise = getJsonOutput(extensionPluginSdkMain, [

2810

"--mode=src-outside-plugin-sdk",

2911

"--json",

@@ -53,10 +35,6 @@ async function getJsonOutput(

5335

}

54365537

describe("src extension import boundary inventory", () => {

56-

it("stays empty", async () => {

57-

expect(await srcInventoryPromise).toEqual([]);

58-

});

59-6038

it("script json output stays empty", async () => {

6139

const jsonOutput = await srcJsonOutputPromise;

6240

@@ -67,10 +45,6 @@ describe("src extension import boundary inventory", () => {

6745

});

68466947

describe("sdk/package extension import boundary inventory", () => {

70-

it("stays empty", async () => {

71-

expect(await sdkPackageInventoryPromise).toEqual([]);

72-

});

73-7448

it("script json output stays empty", async () => {

7549

const jsonOutput = await sdkPackageJsonOutputPromise;

7650

@@ -81,46 +55,29 @@ describe("sdk/package extension import boundary inventory", () => {

8155

});

82568357

describe("extension src outside plugin-sdk boundary inventory", () => {

84-

it("stays empty and sorted", async () => {

85-

const inventory = await srcOutsideInventoryPromise;

58+

it("script json output stays empty", async () => {

8659

const jsonResult = await srcOutsideJsonOutputPromise;

876088-

expect(inventory).toEqual([]);

89-

expect(

90-

[...inventory].toSorted(

91-

(left, right) =>

92-

left.file.localeCompare(right.file) ||

93-

left.line - right.line ||

94-

left.kind.localeCompare(right.kind) ||

95-

left.specifier.localeCompare(right.specifier) ||

96-

left.resolvedPath.localeCompare(right.resolvedPath) ||

97-

left.reason.localeCompare(right.reason),

98-

),

99-

).toEqual(inventory);

10061

expect(jsonResult.exitCode).toBe(0);

10162

expect(jsonResult.stderr).toBe("");

10263

expect(jsonResult.json).toEqual([]);

10364

});

10465

});

1056610667

describe("extension plugin-sdk-internal boundary inventory", () => {

107-

it("stays empty", async () => {

108-

const inventory = await pluginSdkInternalInventoryPromise;

68+

it("script json output stays empty", async () => {

10969

const jsonResult = await pluginSdkInternalJsonOutputPromise;

11070111-

expect(inventory).toEqual([]);

11271

expect(jsonResult.exitCode).toBe(0);

11372

expect(jsonResult.stderr).toBe("");

11473

expect(jsonResult.json).toEqual([]);

11574

});

11675

});

1177611877

describe("extension relative-outside-package boundary inventory", () => {

119-

it("stays empty", async () => {

120-

const inventory = await relativeOutsidePackageInventoryPromise;

78+

it("script json output stays empty", async () => {

12179

const jsonResult = await relativeOutsidePackageJsonOutputPromise;

12280123-

expect(inventory).toEqual([]);

12481

expect(jsonResult.exitCode).toBe(0);

12582

expect(jsonResult.stderr).toBe("");

12683

expect(jsonResult.json).toEqual([]);