test: cap the two frontend cores with a ratchet (#425)

User-Visible: no
Issue: #425
This commit is contained in:
Codex
2026-09-03 00:26:47 +03:00
parent f399ad547b
commit d4ecace64c
3 changed files with 136 additions and 0 deletions
+13
View File
@@ -933,6 +933,19 @@ const MUTANT_DEFINITIONS = [
replace: " this._persistDecorStyle();\n }, 0);",
}],
},
{
id: 'core-budget-ignores-growth',
guard: 'node --test test/core-file-budget.test.mjs',
because: 'the two cores put on 500-1000 lines per release while everything new '
+ 'goes into new modules — a budget that does not notice growth of its own '
+ 'files is decoration, and the decomposition issue it replaces sat still for '
+ '25 days precisely because nobody was counting (#425, replaces #34)',
patches: [{
file: 'src/houseplan-card.ts',
find: 'export class HouseplanCard',
replace: `${'\n'.repeat(400)}export class HouseplanCard`,
}],
},
{
id: 'capture-allows-partial-raster',
guard: 'node --test test/capture-determinism-args.test.mjs',