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

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
MyScale Blog
MyScale Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
Last Week in AI
Last Week in AI
罗磊的独立博客
G
Google Developers Blog
Y
Y Combinator Blog
博客园 - 【当耐特】
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
J
Java Code Geeks
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
美团技术团队
宝玉的分享
宝玉的分享
Jina AI
Jina AI
小众软件
小众软件
T
Tailwind CSS Blog
A
About on SuperTechFans

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(release): require beta smoke run url · openclaw/openc...
vincentkoc · 2026-06-16 · via Recent Commits to openclaw:main

@@ -264,74 +264,17 @@ export function parseWorkflowRunIdFromOutput(output: string): string | undefined

264264

return /\/actions\/runs\/(\d+)/u.exec(output)?.[1];

265265

}

266266267-

type WorkflowRunListEntry = {

268-

createdAt?: string;

269-

created_at?: string;

270-

databaseId?: number | string;

271-

id?: number | string;

272-

};

273-274-

function normalizeRunId(value: unknown): string | undefined {

275-

if (typeof value === "number" && Number.isFinite(value)) {

276-

return String(value);

277-

}

278-

if (typeof value === "string" && value.trim()) {

279-

return value.trim();

280-

}

281-

return undefined;

282-

}

283-284-

export function selectNewestDispatchedRunId(params: {

285-

beforeIds: ReadonlySet<string>;

286-

runs: readonly WorkflowRunListEntry[];

287-

}): string | undefined {

288-

return params.runs

289-

.filter((entry) => {

290-

const id = normalizeRunId(entry.databaseId ?? entry.id);

291-

return id !== undefined && !params.beforeIds.has(id);

292-

})

293-

.toSorted((a, b) =>

294-

(b.createdAt ?? b.created_at ?? "").localeCompare(a.createdAt ?? a.created_at ?? ""),

295-

)

296-

.map((entry) => normalizeRunId(entry.databaseId ?? entry.id))

297-

.find((id): id is string => id !== undefined);

298-

}

299-300-

function listWorkflowDispatchRuns(repo: string, workflow: string): WorkflowRunListEntry[] {

301-

const encodedWorkflow = encodeURIComponent(workflow);

302-

const response = ghJson(

303-

repo,

304-

`actions/workflows/${encodedWorkflow}/runs?event=workflow_dispatch&per_page=50`,

305-

) as { workflow_runs?: WorkflowRunListEntry[] };

306-

return response.workflow_runs ?? [];

307-

}

308-309-

async function findDispatchedWorkflowRunId(params: {

310-

beforeIds: ReadonlySet<string>;

311-

repo: string;

312-

workflow: string;

313-

}): Promise<string> {

314-

for (let attempt = 0; attempt < 60; attempt++) {

315-

const runId = selectNewestDispatchedRunId({

316-

beforeIds: params.beforeIds,

317-

runs: listWorkflowDispatchRuns(params.repo, params.workflow),

318-

});

319-

if (runId) {

320-

return runId;

321-

}

322-

await new Promise((resolve) => {

323-

setTimeout(resolve, 5_000);

324-

});

267+

export function requireWorkflowRunIdFromOutput(output: string, workflow: string): string {

268+

const runId = parseWorkflowRunIdFromOutput(output);

269+

if (!runId) {

270+

throw new Error(

271+

`gh workflow run ${workflow} did not return an Actions run URL; refusing to guess from recent workflow_dispatch runs`,

272+

);

325273

}

326-

throw new Error(`could not find dispatched run for ${params.workflow}`);

274+

return runId;

327275

}

328276329277

async function dispatchTelegram(options: Options, packageSpec: string): Promise<string> {

330-

const beforeIds = new Set(

331-

listWorkflowDispatchRuns(options.repo, TELEGRAM_BETA_WORKFLOW_FILE)

332-

.map((entry) => normalizeRunId(entry.databaseId ?? entry.id))

333-

.filter((id): id is string => id !== undefined),

334-

);

335278

const output = run(

336279

"gh",

337280

[

@@ -351,15 +294,7 @@ async function dispatchTelegram(options: Options, packageSpec: string): Promise<

351294

],

352295

{ capture: true },

353296

);

354-

const runId = parseWorkflowRunIdFromOutput(output);

355-

if (runId) {

356-

return runId;

357-

}

358-

return await findDispatchedWorkflowRunId({

359-

beforeIds,

360-

repo: options.repo,

361-

workflow: TELEGRAM_BETA_WORKFLOW_FILE,

362-

});

297+

return requireWorkflowRunIdFromOutput(output, TELEGRAM_BETA_WORKFLOW_FILE);

363298

}

364299365300

export async function pollRun(

@@ -508,7 +443,7 @@ async function main(): Promise<void> {

508443

}

509444510445

if (!options.skipParallels) {

511-

runParallels(options.beta, options.model);

446+

runParallels(version, options.model);

512447

}

513448514449

if (telegramRunId) {