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

推荐订阅源

Recent Announcements
Recent Announcements
J
Java Code Geeks
U
Unit 42
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
L
LangChain Blog
D
Docker
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
I
InfoQ
The Cloudflare Blog
小众软件
小众软件
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
爱范儿
爱范儿
Hugging Face - Blog
Hugging Face - Blog
P
Proofpoint News Feed
V
V2EX
月光博客
月光博客
Martin Fowler
Martin Fowler

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: interleave cold full-suite shards · openclaw/opencl...
steipete · 2026-05-06 · via Recent Commits to openclaw:main

@@ -25,6 +25,7 @@ import {

2525

buildFullSuiteVitestRunPlans,

2626

createVitestRunSpecs,

2727

listFullExtensionVitestProjectConfigs,

28+

orderFullSuiteSpecsForParallelRun,

2829

parseTestProjectsArgs,

2930

resolveParallelFullSuiteConcurrency,

3031

resolveChangedTargetArgs,

@@ -38,70 +39,6 @@ import {

3839

let releaseLock = () => {};

3940

let lockReleased = false;

404141-

const FULL_SUITE_CONFIG_WEIGHT = new Map([

42-

["test/vitest/vitest.gateway.config.ts", 180],

43-

["test/vitest/vitest.gateway-server.config.ts", 180],

44-

["test/vitest/vitest.gateway-core.config.ts", 179],

45-

["test/vitest/vitest.gateway-client.config.ts", 178],

46-

["test/vitest/vitest.gateway-methods.config.ts", 177],

47-

["test/vitest/vitest.commands.config.ts", 175],

48-

["test/vitest/vitest.agents-core.config.ts", 170],

49-

["test/vitest/vitest.agents-pi-embedded.config.ts", 169],

50-

["test/vitest/vitest.agents-support.config.ts", 168],

51-

["test/vitest/vitest.agents-tools.config.ts", 167],

52-

["test/vitest/vitest.extension-voice-call.config.ts", 169],

53-

["test/vitest/vitest.extensions.config.ts", 168],

54-

["test/vitest/vitest.extension-provider-openai.config.ts", 167],

55-

["test/vitest/vitest.runtime-config.config.ts", 166],

56-

["test/vitest/vitest.contracts-channel-config.config.ts", 85],

57-

["test/vitest/vitest.contracts-channel-surface.config.ts", 60],

58-

["test/vitest/vitest.contracts-channel-session.config.ts", 50],

59-

["test/vitest/vitest.contracts-channel-registry.config.ts", 35],

60-

["test/vitest/vitest.contracts-plugin.config.ts", 20],

61-

["test/vitest/vitest.tasks.config.ts", 165],

62-

["test/vitest/vitest.channels.config.ts", 164],

63-

["test/vitest/vitest.unit-fast.config.ts", 160],

64-

["test/vitest/vitest.auto-reply-reply.config.ts", 155],

65-

["test/vitest/vitest.infra.config.ts", 145],

66-

["test/vitest/vitest.secrets.config.ts", 140],

67-

["test/vitest/vitest.cron.config.ts", 135],

68-

["test/vitest/vitest.wizard.config.ts", 130],

69-

["test/vitest/vitest.unit-src.config.ts", 125],

70-

["test/vitest/vitest.extension-matrix.config.ts", 100],

71-

["test/vitest/vitest.extension-discord.config.ts", 98],

72-

["test/vitest/vitest.extension-providers.config.ts", 96],

73-

["test/vitest/vitest.extension-telegram.config.ts", 94],

74-

["test/vitest/vitest.extension-whatsapp.config.ts", 92],

75-

["test/vitest/vitest.auto-reply-core.config.ts", 90],

76-

["test/vitest/vitest.cli.config.ts", 86],

77-

["test/vitest/vitest.media.config.ts", 84],

78-

["test/vitest/vitest.plugins.config.ts", 82],

79-

["test/vitest/vitest.bundled.config.ts", 80],

80-

["test/vitest/vitest.extension-slack.config.ts", 78],

81-

["test/vitest/vitest.commands-light.config.ts", 48],

82-

["test/vitest/vitest.plugin-sdk.config.ts", 46],

83-

["test/vitest/vitest.auto-reply-top-level.config.ts", 45],

84-

["test/vitest/vitest.unit-ui.config.ts", 40],

85-

["test/vitest/vitest.plugin-sdk-light.config.ts", 38],

86-

["test/vitest/vitest.daemon.config.ts", 36],

87-

["test/vitest/vitest.boundary.config.ts", 34],

88-

["test/vitest/vitest.tooling.config.ts", 32],

89-

["test/vitest/vitest.unit-security.config.ts", 30],

90-

["test/vitest/vitest.unit-support.config.ts", 28],

91-

["test/vitest/vitest.extension-zalo.config.ts", 24],

92-

["test/vitest/vitest.extension-bluebubbles.config.ts", 22],

93-

["test/vitest/vitest.extension-irc.config.ts", 20],

94-

["test/vitest/vitest.extension-feishu.config.ts", 18],

95-

["test/vitest/vitest.extension-mattermost.config.ts", 16],

96-

["test/vitest/vitest.extension-messaging.config.ts", 14],

97-

["test/vitest/vitest.extension-imessage.config.ts", 13],

98-

["test/vitest/vitest.extension-line.config.ts", 12],

99-

["test/vitest/vitest.extension-signal.config.ts", 11],

100-

["test/vitest/vitest.extension-acpx.config.ts", 10],

101-

["test/vitest/vitest.extension-diffs.config.ts", 8],

102-

["test/vitest/vitest.extension-memory.config.ts", 6],

103-

["test/vitest/vitest.extension-msteams.config.ts", 4],

104-

]);

10542

const releaseLockOnce = () => {

10643

if (lockReleased) {

10744

return;

@@ -198,39 +135,6 @@ async function runLoggedVitestSpec(spec) {

198135

};

199136

}

200137201-

function resolveConfigSortWeight(config, shardTimings) {

202-

return shardTimings.get(config) ?? (FULL_SUITE_CONFIG_WEIGHT.get(config) ?? 0) * 1000;

203-

}

204-205-

function interleaveSlowAndFastSpecs(sortedSpecs) {

206-

const ordered = [];

207-

let slowIndex = 0;

208-

let fastIndex = sortedSpecs.length - 1;

209-

while (slowIndex <= fastIndex) {

210-

ordered.push(sortedSpecs[slowIndex]);

211-

slowIndex += 1;

212-

if (slowIndex <= fastIndex) {

213-

ordered.push(sortedSpecs[fastIndex]);

214-

fastIndex -= 1;

215-

}

216-

}

217-

return ordered;

218-

}

219-220-

function orderFullSuiteSpecsForParallelRun(specs, shardTimings = new Map()) {

221-

const hasMatchingShardTiming = specs.some((spec) => shardTimings.has(spec.config));

222-

const sortedSpecs = specs.toSorted((a, b) => {

223-

const weightDelta =

224-

resolveConfigSortWeight(b.config, shardTimings) -

225-

resolveConfigSortWeight(a.config, shardTimings);

226-

if (weightDelta !== 0) {

227-

return weightDelta;

228-

}

229-

return a.config.localeCompare(b.config);

230-

});

231-

return hasMatchingShardTiming ? interleaveSlowAndFastSpecs(sortedSpecs) : sortedSpecs;

232-

}

233-234138

function isFullExtensionsProjectRun(specs) {

235139

const fullExtensionProjectConfigs = new Set(listFullExtensionVitestProjectConfigs());

236140

return (