mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:50:45 +00:00
fix(plugins): print gauntlet failure details
This commit is contained in:
@@ -567,6 +567,14 @@ async function main() {
|
||||
process.stdout.write(
|
||||
`[plugin-gauntlet] plugins=${selectedPlugins.length}/${matrix.length} rows=${rows.length} failures=${failures.length} observations=${summary.observations.length}\n`,
|
||||
);
|
||||
for (const failure of failures) {
|
||||
process.stdout.write(
|
||||
`[plugin-gauntlet] failure phase=${failure.phase} plugin=${failure.pluginId ?? "<none>"} status=${failure.status} timedOut=${failure.timedOut} wallMs=${Math.round(failure.wallMs)} log=${failure.logPath}\n`,
|
||||
);
|
||||
}
|
||||
for (const observation of summary.observations.slice(0, 20)) {
|
||||
process.stdout.write(`[plugin-gauntlet] observation ${JSON.stringify(observation)}\n`);
|
||||
}
|
||||
if (failures.length > 0) {
|
||||
process.exitCode = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user