fix: ignore generated gate artifacts in cleanliness check
Memind CI / Test, build, and release guards (push) Successful in 1m59s
Memind CI / Test, build, and release guards (push) Successful in 1m59s
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
|
||||
import { parseRunnerArgs, runSuitesWithConcurrency, runWithConcurrency } from './runner.mjs';
|
||||
import {
|
||||
filterGeneratedWorktreeStatus,
|
||||
parseRunnerArgs,
|
||||
runSuitesWithConcurrency,
|
||||
runWithConcurrency,
|
||||
} from './runner.mjs';
|
||||
|
||||
test('runner accepts a bounded suite concurrency and rejects unsafe values', () => {
|
||||
assert.equal(
|
||||
@@ -52,3 +57,12 @@ test('exclusive suites finish before parallel suites start', async () => {
|
||||
assert.ok(events.indexOf('end:mutating') < events.indexOf('start:parallel-a'));
|
||||
assert.ok(events.indexOf('end:mutating') < events.indexOf('start:parallel-b'));
|
||||
});
|
||||
|
||||
test('worktree cleanliness ignores only release-gate and generated plaza cover paths', () => {
|
||||
const status = [
|
||||
'?? .release-gate/ea07f6f/report.json',
|
||||
' D .runtime/portal/public/plaza-covers/cover.jpg',
|
||||
' M release-gate/runner.mjs',
|
||||
].join('\n');
|
||||
assert.equal(filterGeneratedWorktreeStatus(status), ' M release-gate/runner.mjs');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user