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

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Recent Commits to openclaw:main

fix(qa): stop Matrix phases after run timeout · openclaw/openclaw@f4b9d24 fix(agents): strip stale Anthropic thinking · openclaw/openclaw@66965f5 fix(doctor): validate bundled MCP tool schemas · openclaw/openclaw@a02fe52 fix(qa): kill timed out Matrix CLI runs · openclaw/openclaw@b8fc2f6 fix(dev): bound discord smoke waits · openclaw/openclaw@545ad7f feat(pixverse): add api region selection · openclaw/openclaw@b3083de feat(pixverse): add video generation provider · openclaw/openclaw@c183705 chore(pixverse): publish as external plugin · openclaw/openclaw@5366209 fix(qa): tolerate fast Matrix tool replies · openclaw/openclaw@a46e839 refactor: remove channel turn runtime aliases · openclaw/openclaw@6c37402 fix(test): bound qa otel receiver bodies · openclaw/openclaw@83ab0ba fix(lint): clean manifest registry installed checks · openclaw/openclaw@fd648ed fix(scripts): resolve npm package candidates through npm runner · openclaw/openclaw@7a7d9de fix(qa): hide Matrix tool progress marker in workspace · openclaw/openclaw@42f3550 fix(usage): forward cached token usage in chat completions (#82062) · openclaw/openclaw@12e5876 perf(gateway): cache stable plugin index fingerprints · openclaw/openclaw@2babe03 test(codex): align provider claim expectation · openclaw/openclaw@42387af fix(test): scan kitchen rpc readiness logs incrementally · openclaw/openclaw@1d4537a fix(onboard): preserve agents.list and bindings on rerun · openclaw/openclaw@bbdff39 fix: send bare direct Anthropic model ids · openclaw/openclaw@aa0a290 fix(deepinfra): load all DeepInfra models when user wants to browse t… fix(package): honor dist package exclusions in inventory · openclaw/openclaw@296fbde fix(qa): harden Matrix tool progress scenario · openclaw/openclaw@32b3fb6 fix(package): match npm globstar exclusions · openclaw/openclaw@f4bcd61 fix: preserve channel runResolved mock compatibility · openclaw/openclaw@c89298f fix(test): bound config reload log polling · openclaw/openclaw@329dad2 fix(lint): preserve JSONL parse cause · openclaw/openclaw@d6949d5 test(e2e): preserve macos smoke entrypoint path · openclaw/openclaw@5eba765 fix(test): await mcp timeout cleanup · openclaw/openclaw@109ba23 fix(test): harden mcp channel ws timeout · openclaw/openclaw@a4a75a8 fix(test): harden gateway network ws timeout · openclaw/openclaw@e50b20f fix(agents/harness): validate forced plugin harness support before pi… · openclaw/openclaw@730ac1a fix(test): bound codex media path log polling · openclaw/openclaw@40a2600 test: align extension inbound context assertions · openclaw/openclaw@98c0ad8 fix(install): skip Homebrew until macOS packages need it · openclaw/openclaw@527b7c2 fix(ci): bound additional boundary checks · openclaw/openclaw@351aac9 fix(release): reject empty beta smoke runs · openclaw/openclaw@4dfc2cf fix(build): cap tsdown heap in containers · openclaw/openclaw@e8dde30 fix(docker): skip declarations in runtime packages · openclaw/openclaw@cc662ba fix(package): omit unpacked test helpers from inventory · openclaw/openclaw@6c42fea fix(crabbox): reinitialize invalid changed-gate git dirs · openclaw/openclaw@ecdc925 fix(lint): shard core lint checks · openclaw/openclaw@1ba4448 fix(lint): cap oxlint helper memory locally · openclaw/openclaw@8caa44f fix(lint): split source lint shards · openclaw/openclaw@158bc69 fix(crabbox): full-sync local sparse container runs · openclaw/openclaw@b3e3b1b fix(test): enable live cache script gates · openclaw/openclaw@72c6813 fix(test): reject unknown live media providers · openclaw/openclaw@51dd548 fix(cli): reject loose model and gateway numeric options · openclaw/openclaw@6b391ef refactor: centralize inbound supplemental context · openclaw/openclaw@1507a97 fix(test): reject empty gateway cpu runs · openclaw/openclaw@ad3d197 fix(test): fail empty plugin gauntlet runs · openclaw/openclaw@b460ee4 fix: load Claude CLI OAuth for PI auth profiles (#87167) · openclaw/openclaw@cc704ca fix(agents): ignore failed subagent placeholders fix(agents): report approval resolutions in bridge mode · openclaw/openclaw@88bbc5b fix(qa): keep fallback delivery on latest targets fix(agents): preserve bridge hook context · openclaw/openclaw@2c3190d fix(qa): close remaining mock qa e2e regressions · openclaw/openclaw@14198a1 fix(qa): isolate mock bridge hook state · openclaw/openclaw@35248be fix(qa): stabilize mock QA scenario contracts · openclaw/openclaw@81c1892 fix(agents): classify direct fallback targets by channel grammar · openclaw/openclaw@79f7b93 fix(qa): scope mock image prompts to latest turn · openclaw/openclaw@c2d059d fix(agents): suppress Write/Edit failed warning on response-timeout f… · openclaw/openclaw@7e702bb fix(cron): surface classified run failure causes · openclaw/openclaw@3104f36 fix(test): fail empty extension test requests · openclaw/openclaw@57b1c0b fix(cli): reject loose numeric options · openclaw/openclaw@c95d348 docs(providers/openai): clarify OpenAI Realtime Platform credits · openclaw/openclaw@717003a fix(codex): keep attempt watchdog for queued terminal turns · openclaw/openclaw@ca990f2 fix(qqbot): gate fallback approval buttons (#87154) · openclaw/openclaw@08a73db fix(test): fail explicit empty vitest runs · openclaw/openclaw@7615c31 ci: fall back from stale workflow dispatch refs · openclaw/openclaw@8d99037 fix(lint): serialize oxlint shards on constrained hosts · openclaw/openclaw@c93b7d8 fix: reject partial numeric CLI options fix(agents): avoid duplicate Claude CLI skill prompts · openclaw/openclaw@f4e20f8 test: harden e2e instance package fixture fix(codex): preserve raw reasoning source-reply guard · openclaw/openclaw@284098d test(codex): verify completion idle watch arms after non-assistant ra… · openclaw/openclaw@4d6bcf9 fix(codex): keep raw assistant release path intact · openclaw/openclaw@4314ead test(codex): mirror raw reasoning event order · openclaw/openclaw@e718d47 fix(codex): arm completion idle watch after rawResponseItem/completed… · openclaw/openclaw@a36c82b fix(node-host): restart stale node host on version mismatch · openclaw/openclaw@819fd9f fix(e2e): bound tool search gateway proof · openclaw/openclaw@761c802 fix(discord): harden requester checks for guild actions · openclaw/openclaw@9ed1b02 fix: let skills JSON output flush naturally · openclaw/openclaw@84b1123 fix: support plugin generated help targets · openclaw/openclaw@ec377dd fix: route generated help targets to subcommands · openclaw/openclaw@1de9848 fix: validate gateway call timeouts · openclaw/openclaw@f407e4e fix: mark plugin command groups in root help · openclaw/openclaw@482018e fix: route nested root help targets · openclaw/openclaw@2bbef6c fix: keep root help plugin descriptor loading quiet · openclaw/openclaw@ef2ebee fix: preserve root options in generated help · openclaw/openclaw@b31c9e9 fix: route root help targets to command help · openclaw/openclaw@5f6293a fix: normalize generated help self-help · openclaw/openclaw@9015d0c perf(secrets): propagate snapshots and eliminate esm side-effects in … test: stabilize main ci lanes · openclaw/openclaw@f327df8 perf(gateway): keep agent session working store active-only · openclaw/openclaw@54eca3f test(e2e): harden shell helper env assertions · openclaw/openclaw@e6937f9 fix(doctor): warn on unsupported active tool schemas · openclaw/openclaw@4976851 test: fix main ci expectations · openclaw/openclaw@3684696 fix(e2e): bound Telegram credential setup · openclaw/openclaw@9b28603 perf(gateway): borrow agent session lookup safely · openclaw/openclaw@3b9fa16
fix(test): fail startup bench on bad samples · openclaw/openclaw@8c6da93
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -2,6 +2,7 @@ import { spawn } from "node:child_process";

22

import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";

33

import os from "node:os";

44

import path from "node:path";

5+

import { pathToFileURL } from "node:url";

5667

type CommandCase = {

78

id: string;

@@ -394,6 +395,17 @@ function parseRepeatableFlag(flag: string): string[] {

394395

}

395396396397

function parsePositiveInt(raw: string | undefined, fallback: number): number {

398+

if (!raw) {

399+

return fallback;

400+

}

401+

const parsed = Number.parseInt(raw, 10);

402+

if (!Number.isFinite(parsed) || parsed < 1) {

403+

return fallback;

404+

}

405+

return parsed;

406+

}

407+408+

function parseNonNegativeInt(raw: string | undefined, fallback: number): number {

397409

if (!raw) {

398410

return fallback;

399411

}

@@ -747,6 +759,25 @@ function printDelta(primary: SuiteResult, secondary: SuiteResult): void {

747759

}

748760

}

749761762+

export function collectFailedSamples(result: SuiteResult): string[] {

763+

const failures: string[] = [];

764+

for (const commandCase of result.cases) {

765+

if (commandCase.samples.length === 0) {

766+

failures.push(`${result.entry} ${commandCase.id}: no measured samples`);

767+

continue;

768+

}

769+

for (const [sampleIndex, sample] of commandCase.samples.entries()) {

770+

const label = `${result.entry} ${commandCase.id} sample ${sampleIndex + 1}`;

771+

if (sample.signal !== null) {

772+

failures.push(`${label}: exited via signal ${sample.signal}`);

773+

} else if (sample.exitCode !== 0) {

774+

failures.push(`${label}: exited with code ${String(sample.exitCode)}`);

775+

}

776+

}

777+

}

778+

return failures;

779+

}

780+750781

async function buildSuiteResult(params: {

751782

entry: string;

752783

options: CliOptions;

@@ -796,7 +827,7 @@ function parseOptions(): CliOptions {

796827

entryPrimary: parseFlagValue("--entry-primary") ?? parseFlagValue("--entry") ?? DEFAULT_ENTRY,

797828

entrySecondary: parseFlagValue("--entry-secondary"),

798829

runs: parsePositiveInt(parseFlagValue("--runs"), DEFAULT_RUNS),

799-

warmup: parsePositiveInt(parseFlagValue("--warmup"), DEFAULT_WARMUP),

830+

warmup: parseNonNegativeInt(parseFlagValue("--warmup"), DEFAULT_WARMUP),

800831

timeoutMs: parsePositiveInt(parseFlagValue("--timeout-ms"), DEFAULT_TIMEOUT_MS),

801832

json: hasFlag("--json"),

802833

output: parseFlagValue("--output"),

@@ -864,6 +895,10 @@ async function main(): Promise<void> {

864895

primary,

865896

secondary: secondary ?? null,

866897

};

898+

const failures = [

899+

...collectFailedSamples(primary),

900+

...(secondary ? collectFailedSamples(secondary) : []),

901+

];

867902868903

if (options.output) {

869904

mkdirSync(path.dirname(options.output), { recursive: true });

@@ -872,6 +907,12 @@ async function main(): Promise<void> {

872907873908

if (options.json) {

874909

console.log(JSON.stringify(report, null, 2));

910+

if (failures.length > 0) {

911+

process.exitCode = 1;

912+

for (const failure of failures) {

913+

console.error(`[startup-bench] ${failure}`);

914+

}

915+

}

875916

return;

876917

}

877918

@@ -894,9 +935,28 @@ async function main(): Promise<void> {

894935

printSuite(secondary);

895936

printDelta(primary, secondary);

896937

}

938+939+

if (failures.length > 0) {

940+

process.exitCode = 1;

941+

console.error("\nFailed startup benchmark samples:");

942+

for (const failure of failures) {

943+

console.error(`- ${failure}`);

944+

}

945+

}

897946

} finally {

898947

rmSync(tmpDir, { recursive: true, force: true });

899948

}

900949

}

901950902-

await main();

951+

export const testing = {

952+

collectFailedSamples,

953+

parseNonNegativeInt,

954+

parsePositiveInt,

955+

};

956+957+

if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {

958+

await main().catch((error: unknown) => {

959+

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

960+

process.exit(1);

961+

});

962+

}