chore: stop tracking generated runtime artifacts
Memind CI / Test, build, and release guards (push) Failing after 9m20s
Memind CI / Test, build, and release guards (push) Failing after 9m20s
This commit is contained in:
@@ -353,11 +353,10 @@ test('canary release and rollback remote shells remain syntactically valid', asy
|
||||
assertShellParses(edgeRollback, '105 edge rollback shell');
|
||||
});
|
||||
|
||||
test('release readiness ignores only the generated canary artifact cover path', async () => {
|
||||
test('release readiness no longer needs a legacy tracked runtime exception', async () => {
|
||||
const source = await fs.readFile(
|
||||
path.join(ROOT, 'scripts', 'check-release-ready.sh'),
|
||||
'utf8',
|
||||
);
|
||||
assert.match(source, /:\(exclude\)\.runtime\/portal\/public\/plaza-covers\/\*\*/);
|
||||
assert.doesNotMatch(source, /:\(exclude\)\.runtime\/\*\*/);
|
||||
assert.doesNotMatch(source, /:\(exclude\)\.runtime\//);
|
||||
});
|
||||
|
||||
@@ -113,8 +113,7 @@ export function filterGeneratedWorktreeStatus(status) {
|
||||
.filter((line) => {
|
||||
if (!line) return false;
|
||||
const path = line.slice(3).replace(/^"|"$/g, '');
|
||||
return !path.startsWith('.release-gate/')
|
||||
&& !path.startsWith('.runtime/portal/public/plaza-covers/');
|
||||
return !path.startsWith('.release-gate/');
|
||||
})
|
||||
.join('\n');
|
||||
}
|
||||
|
||||
@@ -58,11 +58,17 @@ test('exclusive suites finish before parallel suites start', async () => {
|
||||
assert.ok(events.indexOf('end:mutating') < events.indexOf('start:parallel-b'));
|
||||
});
|
||||
|
||||
test('worktree cleanliness ignores only release-gate and generated plaza cover paths', () => {
|
||||
test('worktree cleanliness ignores release-gate output but keeps runtime changes', () => {
|
||||
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');
|
||||
assert.equal(
|
||||
filterGeneratedWorktreeStatus(status),
|
||||
[
|
||||
' D .runtime/portal/public/plaza-covers/cover.jpg',
|
||||
' M release-gate/runner.mjs',
|
||||
].join('\n'),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user