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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain 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
feat(qa-lab): select runtime parity tiers · openclaw/open...
vincentkoc · 2026-05-18 · via Recent Commits to openclaw:main

@@ -42,7 +42,11 @@ import {

4242

type QaProviderModeInput,

4343

} from "./run-config.js";

4444

import type { RuntimeId } from "./runtime-parity.js";

45-

import { readQaScenarioPack } from "./scenario-catalog.js";

45+

import {

46+

QA_RUNTIME_PARITY_TIERS,

47+

readQaScenarioPack,

48+

type QaRuntimeParityTier,

49+

} from "./scenario-catalog.js";

4650

import { resolveQaScenarioPackScenarioIds } from "./scenario-packs.js";

4751

import { runQaSuiteFromRuntime } from "./suite-launch.runtime.js";

4852

import { readQaSuiteFailedScenarioCountFromSummary } from "./suite-summary.js";

@@ -163,6 +167,47 @@ function parseQaRuntimePair(value: string | undefined): [RuntimeId, RuntimeId] |

163167

return ["pi", "codex"];

164168

}

165169170+

function parseQaRuntimeParityTierFilters(input: string[] | undefined): QaRuntimeParityTier[] {

171+

const rawValues = [

172+

...new Set(

173+

(input ?? [])

174+

.flatMap((value) => value.split(","))

175+

.map((value) => value.trim().toLowerCase())

176+

.filter(Boolean),

177+

),

178+

];

179+

const validTiers = new Set<string>(QA_RUNTIME_PARITY_TIERS);

180+

for (const value of rawValues) {

181+

if (!validTiers.has(value)) {

182+

throw new Error(

183+

`--runtime-parity-tier must be one of ${QA_RUNTIME_PARITY_TIERS.join(", ")}, got "${value}".`,

184+

);

185+

}

186+

}

187+

return rawValues as QaRuntimeParityTier[];

188+

}

189+190+

function resolveQaRuntimeParityTierScenarioIds(params: {

191+

scenarioIds: string[];

192+

runtimeParityTiers: readonly QaRuntimeParityTier[];

193+

}): string[] {

194+

if (params.runtimeParityTiers.length === 0) {

195+

return params.scenarioIds;

196+

}

197+

const tierSet = new Set(params.runtimeParityTiers);

198+

const matchingScenarioIds = readQaScenarioPack()

199+

.scenarios.filter(

200+

(scenario) => scenario.runtimeParityTier && tierSet.has(scenario.runtimeParityTier),

201+

)

202+

.map((scenario) => scenario.id);

203+

if (matchingScenarioIds.length === 0) {

204+

throw new Error(

205+

`--runtime-parity-tier matched no scenarios for ${params.runtimeParityTiers.join(", ")}.`,

206+

);

207+

}

208+

return [...new Set([...params.scenarioIds, ...matchingScenarioIds])];

209+

}

210+166211

async function readQaFailedScenarioCountFromSummary(summaryPath: string) {

167212

let summaryText: string;

168213

try {

@@ -513,17 +558,23 @@ export async function runQaSuiteCommand(opts: {

513558

disk?: string;

514559

preflight?: boolean;

515560

runtimePair?: string;

561+

runtimeParityTier?: string[];

516562

}) {

517563

const repoRoot = path.resolve(opts.repoRoot ?? process.cwd());

518564

const transportId = normalizeQaTransportId(opts.transportId);

519565

const runner = (opts.runner ?? "host").trim().toLowerCase();

520-

const scenarioIds = resolveQaScenarioPackScenarioIds({

566+

const explicitScenarioIds = resolveQaScenarioPackScenarioIds({

521567

pack: opts.pack,

522568

scenarioIds: resolveQaParityPackScenarioIds({

523569

parityPack: opts.parityPack,

524570

scenarioIds: opts.scenarioIds,

525571

}),

526572

});

573+

const runtimeParityTiers = parseQaRuntimeParityTierFilters(opts.runtimeParityTier);

574+

const scenarioIds = resolveQaRuntimeParityTierScenarioIds({

575+

scenarioIds: explicitScenarioIds,

576+

runtimeParityTiers,

577+

});

527578

const allowFailures = opts.allowFailures === true;

528579

if (runner !== "host" && runner !== "multipass") {

529580

throw new Error(`--runner must be one of host or multipass, got "${opts.runner}".`);