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

推荐订阅源

U
Unit 42
Vercel News
Vercel News
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
量子位
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
博客园 - 【当耐特】
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
IT之家
IT之家
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)

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
fix(test): route nested e2e helper changes · openclaw/ope...
vincentkoc · 2026-06-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -651,6 +651,14 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([

651651

"scripts/e2e/lib/plugin-lifecycle-matrix/measure.mjs",

652652

["test/scripts/plugin-lifecycle-measure.test.ts"],

653653

],

654+

[

655+

"scripts/e2e/lib/kitchen-sink-plugin/sweep.sh",

656+

["test/scripts/kitchen-sink-plugin-assertions.test.ts"],

657+

],

658+

["scripts/e2e/lib/plugins/clawhub.sh", ["test/scripts/plugins-assertions.test.ts"]],

659+

["scripts/e2e/lib/plugins/fixtures.sh", ["test/scripts/plugins-assertions.test.ts"]],

660+

["scripts/e2e/lib/plugins/marketplace.sh", ["test/scripts/plugins-assertions.test.ts"]],

661+

["scripts/e2e/lib/plugins/sweep.sh", ["test/scripts/plugins-assertions.test.ts"]],

654662

[

655663

"scripts/e2e/release-media-memory-docker.sh",

656664

["test/scripts/docker-e2e-plan.test.ts", "test/scripts/release-media-memory-scenario.test.ts"],

@@ -1765,10 +1773,15 @@ function resolveConventionalToolingTestTargets(changedPath, cwd = process.cwd())

17651773

const stem = match[1];

17661774

const basename = path.posix.basename(stem);

17671775

const dashedStem = stem.replaceAll("/", "-");

1776+

const e2eLibStem = stem.startsWith("e2e/lib/") ? stem.slice("e2e/lib/".length) : null;

1777+

const e2eLibDashedStem = e2eLibStem?.replaceAll("/", "-");

17681778

const candidates = [

17691779

`test/scripts/${stem}.test.ts`,

17701780

`test/scripts/${dashedStem}.test.ts`,

17711781

`test/scripts/${basename}.test.ts`,

1782+

...(e2eLibDashedStem

1783+

? [`test/scripts/${e2eLibDashedStem}.test.ts`, `test/scripts/e2e-${e2eLibDashedStem}.test.ts`]

1784+

: []),

17721785

`src/scripts/${stem}.test.ts`,

17731786

`src/scripts/${dashedStem}.test.ts`,

17741787

`src/scripts/${basename}.test.ts`,

Original file line numberDiff line numberDiff line change

@@ -306,6 +306,59 @@ describe("scripts/test-projects changed-target routing", () => {

306306

});

307307

});

308308
309+

it("routes nested e2e library helpers through owner tests", () => {

310+

const expectedTargets = new Map([

311+

[

312+

"scripts/e2e/lib/bundled-plugin-install-uninstall/probe.mjs",

313+

["test/scripts/bundled-plugin-install-uninstall-probe.test.ts"],

314+

],

315+

[

316+

"scripts/e2e/lib/kitchen-sink-plugin/assertions.mjs",

317+

["test/scripts/kitchen-sink-plugin-assertions.test.ts"],

318+

],

319+

[

320+

"scripts/e2e/lib/live-plugin-tool/assertions.mjs",

321+

["test/scripts/live-plugin-tool-assertions.test.ts"],

322+

],

323+

[

324+

"scripts/e2e/lib/plugins/assertions.mjs",

325+

["test/scripts/plugins-assertions.test.ts"],

326+

],

327+

[

328+

"scripts/e2e/lib/release-user-journey/assertions.mjs",

329+

["test/scripts/release-user-journey-assertions.test.ts"],

330+

],

331+

["scripts/e2e/lib/run-with-pty.mjs", ["test/scripts/e2e-run-with-pty.test.ts"]],

332+

]);

333+
334+

for (const [source, targets] of expectedTargets) {

335+

expect(resolveChangedTestTargetPlan([source]), source).toEqual({

336+

mode: "targets",

337+

targets,

338+

});

339+

}

340+

});

341+
342+

it("routes nested e2e shell helpers through their sourced owner tests", () => {

343+

const expectedTargets = new Map([

344+

[

345+

"scripts/e2e/lib/kitchen-sink-plugin/sweep.sh",

346+

["test/scripts/kitchen-sink-plugin-assertions.test.ts"],

347+

],

348+

["scripts/e2e/lib/plugins/clawhub.sh", ["test/scripts/plugins-assertions.test.ts"]],

349+

["scripts/e2e/lib/plugins/fixtures.sh", ["test/scripts/plugins-assertions.test.ts"]],

350+

["scripts/e2e/lib/plugins/marketplace.sh", ["test/scripts/plugins-assertions.test.ts"]],

351+

["scripts/e2e/lib/plugins/sweep.sh", ["test/scripts/plugins-assertions.test.ts"]],

352+

]);

353+
354+

for (const [source, targets] of expectedTargets) {

355+

expect(resolveChangedTestTargetPlan([source]), source).toEqual({

356+

mode: "targets",

357+

targets,

358+

});

359+

}

360+

});

361+
309362

it("routes unmatched script changes to the tooling suite instead of skipping tests", () => {

310363

const targets = [

311364

"scripts/check-no-raw-http2-imports.mjs",