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

推荐订阅源

U
Unit 42
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
有赞技术团队
有赞技术团队
B
Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
The Cloudflare Blog
Martin Fowler
Martin Fowler
H
Hackread – Cybersecurity News, Data Breaches, AI and More
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
博客园 - Franky
小众软件
小众软件

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(testing): route command root target to both shards · ...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1024,6 +1024,14 @@ function isExistingFileTarget(arg, cwd) {

10241024

}

10251025

}

10261026
1027+

function isExistingDirectoryTarget(arg, cwd) {

1028+

try {

1029+

return fs.statSync(path.resolve(cwd, arg)).isDirectory();

1030+

} catch {

1031+

return false;

1032+

}

1033+

}

1034+
10271035

function isGlobTarget(arg) {

10281036

return /[*?[\]{}]/u.test(arg);

10291037

}

@@ -1166,6 +1174,10 @@ function expandExplicitSourceTestTargets(targetArgs, cwd) {

11661174

}).length;

11671175

const forceFullImportGraph = sourceTargetCount > EXPLICIT_SOURCE_FULL_IMPORT_GRAPH_THRESHOLD;

11681176

return targetArgs.flatMap((targetArg) => {

1177+

const relative = toRepoRelativeTarget(targetArg, cwd);

1178+

if (relative === "src/commands" && isExistingDirectoryTarget(targetArg, cwd)) {

1179+

return [COMMANDS_LIGHT_VITEST_CONFIG, COMMANDS_VITEST_CONFIG];

1180+

}

11691181

const targets = resolveExplicitSourceTestTargets(targetArg, cwd, {

11701182

forceFullImportGraph,

11711183

});

Original file line numberDiff line numberDiff line change

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

17281728

]);

17291729

});

17301730
1731+

it("routes the full commands test root to both command shards", () => {

1732+

expect(findUnmatchedExplicitTestTargets(["src/commands"])).toEqual([]);

1733+

expect(buildVitestRunPlans(["src/commands"], process.cwd())).toEqual([

1734+

{

1735+

config: "test/vitest/vitest.commands-light.config.ts",

1736+

forwardedArgs: [],

1737+

includePatterns: null,

1738+

watchMode: false,

1739+

},

1740+

{

1741+

config: "test/vitest/vitest.commands.config.ts",

1742+

forwardedArgs: [],

1743+

includePatterns: null,

1744+

watchMode: false,

1745+

},

1746+

]);

1747+

});

1748+
17311749

it("routes unit-fast light tests to the cache-friendly unit-fast lane", () => {

17321750

const plans = buildVitestRunPlans(

17331751

["src/commands/status-overview-values.test.ts"],