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

推荐订阅源

B
Blog RSS Feed
B
Blog
N
Netflix TechBlog - Medium
量子位
月光博客
月光博客
博客园_首页
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
M
MIT News - Artificial intelligence
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG
L
LangChain Blog
GbyAI
GbyAI
IT之家
IT之家
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理

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(scripts): add docker e2e scheduler help · openclaw/op...
vincentkoc · 2026-05-26 · via Recent Commits to openclaw:main

@@ -41,13 +41,51 @@ const DEFAULT_GITHUB_WORKFLOW = "openclaw-live-and-e2e-checks-reusable.yml";

4141

const IS_MAIN = process.argv[1]

4242

? path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)

4343

: false;

44-

const cliArgs = new Set(IS_MAIN ? process.argv.slice(2) : []);

45-

if (IS_MAIN) {

46-

for (const arg of cliArgs) {

47-

if (arg !== "--plan-json") {

48-

throw new Error(`unknown argument: ${arg}`);

44+45+

export function dockerAllUsage() {

46+

return [

47+

"Usage: node scripts/test-docker-all.mjs [--plan-json]",

48+

"",

49+

"Options:",

50+

" --plan-json Print the resolved Docker E2E plan as JSON and exit.",

51+

" -h, --help Show this help.",

52+

"",

53+

"Lane selection and scheduler settings are configured with OPENCLAW_DOCKER_ALL_* env vars.",

54+

].join("\n");

55+

}

56+57+

export function parseDockerAllCliArgs(argv) {

58+

const options = {

59+

help: false,

60+

planJson: false,

61+

};

62+

for (const arg of argv) {

63+

if (arg === "--plan-json") {

64+

options.planJson = true;

65+

} else if (arg === "--help" || arg === "-h") {

66+

options.help = true;

67+

} else {

68+

throw new Error(`unknown argument: ${arg}\n\n${dockerAllUsage()}`);

4969

}

5070

}

71+

return options;

72+

}

73+74+

let cliOptions = {

75+

help: false,

76+

planJson: false,

77+

};

78+

if (IS_MAIN) {

79+

try {

80+

cliOptions = parseDockerAllCliArgs(process.argv.slice(2));

81+

} catch (error) {

82+

console.error(error instanceof Error ? error.message : String(error));

83+

process.exit(1);

84+

}

85+

if (cliOptions.help) {

86+

console.log(dockerAllUsage());

87+

process.exit(0);

88+

}

5189

}

52905391

function parsePositiveInt(raw, fallback, label) {

@@ -1107,7 +1145,7 @@ async function main() {

11071145

const timingsEnabled = parseBool(process.env.OPENCLAW_DOCKER_ALL_TIMINGS, true);

11081146

const buildEnabled = parseBool(process.env.OPENCLAW_DOCKER_ALL_BUILD, true);

11091147

const planJson =

1110-

cliArgs.has("--plan-json") || parseBool(process.env.OPENCLAW_DOCKER_ALL_PLAN_JSON, false);

1148+

cliOptions.planJson || parseBool(process.env.OPENCLAW_DOCKER_ALL_PLAN_JSON, false);

11111149

const planReleaseAll = parseBool(process.env.OPENCLAW_DOCKER_ALL_PLAN_RELEASE_ALL, false);

11121150

const profile = parseProfile(process.env.OPENCLAW_DOCKER_ALL_PROFILE);

11131151

const releaseProfile = normalizeReleaseProfile(