Merge branch 'stewardship/verified-pr-batch-3538-3566' into stewardship/verified-pr-batch-3602-3621-owned

This commit is contained in:
haelyra committed 2026-10-20 18:28:33 -04:00
commit fcff074e6f
9 files changed
+58 -672

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ const commands = [
if (process.platform === 'win32') {
console.log('Skipped: Santa Loop examples require Bash');
console.log('Passed: 0');
console.log('Failed: 0');
process.exit(0);
}
+13
View File
@@ -172,6 +172,19 @@ async function runTests() {
assert.strictEqual(groupFailures(runs).size, 3);
})) passed += 1; else failed += 1;
if (await test('keeps dotted diagnostic prose after extensionless Windows paths separate', async () => {
const reasons = [
String.raw`Command C:\tools\node failed to open config.json: EACCES`,
String.raw`Command D:\tools\node timed out opening config.json: EACCES`,
];
assert.deepStrictEqual(reasons.map(normalizeFailureReason), [
'command <path> failed to open config.json: eacces',
'command <path> timed out opening config.json: eacces',
]);
const runs = reasons.map((failureReason, index) => makeSkillRun({ id: `dotted-${index}`, failureReason }));
assert.strictEqual(groupFailures(runs).size, 2);
})) passed += 1; else failed += 1;
if (await test('groupFailures handles mixed outcome casing', async () => {
const runs = [
makeSkillRun({ id: 'r1', outcome: 'FAILURE', failureReason: 'timeout' }),