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

推荐订阅源

WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
雷峰网
雷峰网
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)
云风的 BLOG
云风的 BLOG
V
V2EX
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
N
Netflix TechBlog - Medium
Vercel News
Vercel News
美团技术团队
人人都是产品经理
人人都是产品经理
The Cloudflare 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(ci): reject malformed ci timing limits · openclaw/ope...
vincentkoc · 2026-06-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1,6 +1,7 @@

11

#!/usr/bin/env node

22
33

import { execFileSync } from "node:child_process";

4+

import { parsePositiveInt } from "./lib/numeric-options.mjs";

45
56

const DEFAULT_GITHUB_REPOSITORY = "openclaw/openclaw";

67

const RUN_JOBS_PAGE_SIZE = 20;

@@ -337,31 +338,58 @@ function printSection(title, jobs, metric) {

337338

}

338339
339340

export function parseRunTimingArgs(args) {

340-

const recentIndex = args.indexOf("--recent");

341-

const limitIndex = args.indexOf("--limit");

342-

const ignoredArgIndexes = new Set();

343-

for (const [index, arg] of args.entries()) {

344-

if (arg === "--" || arg === "--latest-main") {

345-

ignoredArgIndexes.add(index);

341+

let explicitRunId;

342+

let limit = 15;

343+

let recentLimit = null;

344+

let useLatestMain = false;

345+
346+

for (let index = 0; index < args.length; index += 1) {

347+

const arg = args[index];

348+

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

349+

continue;

346350

}

351+

if (arg === "--latest-main") {

352+

useLatestMain = true;

353+

continue;

354+

}

355+

const limitOption = consumePositiveIntFlag(args, index, "--limit");

356+

if (limitOption) {

357+

limit = limitOption.value;

358+

index = limitOption.nextIndex;

359+

continue;

360+

}

361+

const recentOption = consumePositiveIntFlag(args, index, "--recent");

362+

if (recentOption) {

363+

recentLimit = recentOption.value;

364+

index = recentOption.nextIndex;

365+

continue;

366+

}

367+

explicitRunId ??= arg;

347368

}

348-

if (limitIndex !== -1) {

349-

ignoredArgIndexes.add(limitIndex);

350-

ignoredArgIndexes.add(limitIndex + 1);

351-

}

352-

if (recentIndex !== -1) {

353-

ignoredArgIndexes.add(recentIndex);

354-

ignoredArgIndexes.add(recentIndex + 1);

355-

}

356-

const limit =

357-

limitIndex === -1 ? 15 : Math.max(1, Number.parseInt(args[limitIndex + 1] ?? "", 10) || 15);

358-

const recentLimit =

359-

recentIndex === -1 ? null : Math.max(1, Number.parseInt(args[recentIndex + 1] ?? "", 10) || 10);

369+
360370

return {

361-

explicitRunId: args.find((_arg, index) => !ignoredArgIndexes.has(index)),

371+

explicitRunId,

362372

limit,

363373

recentLimit,

364-

useLatestMain: args.includes("--latest-main"),

374+

useLatestMain,

375+

};

376+

}

377+
378+

function consumePositiveIntFlag(args, index, flag) {

379+

const arg = args[index];

380+

const inlinePrefix = `${flag}=`;

381+

if (arg.startsWith(inlinePrefix)) {

382+

return {

383+

nextIndex: index,

384+

value: parsePositiveInt(arg.slice(inlinePrefix.length), flag),

385+

};

386+

}

387+

if (arg !== flag) {

388+

return null;

389+

}

390+

return {

391+

nextIndex: index + 1,

392+

value: parsePositiveInt(args[index + 1], flag),

365393

};

366394

}

367395