fix: address render performance review

Issue: #451
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-04 23:45:57 +03:00
parent f8b3445dc3
commit cb68492c99
41 changed files with 6985 additions and 6600 deletions
+11
View File
@@ -105,6 +105,17 @@ function relocateEditorPatch(patch, cardSource, editorSource) {
// `find` обязан встречаться в файле ровно один раз: патч, который ложится «куда
// попало», проверяет не то, что объявлен проверять. Это контролирует --check.
const MUTANT_DEFINITIONS = [
{
id: 'render-invalidation-renders-irrelevant-ha',
guard: 'node demo/smoke_render_invalidation.mjs',
because: 'an irrelevant HA state row must still enter lifecycle intake without scheduling '
+ 'a full Lit render; the production smoke owns this card/runtime wiring (#451)',
patches: [{
file: 'src/houseplan-card.ts',
find: ' if (!render) return;',
replace: ' if (false && !render) return;',
}],
},
{
id: 'draft-delete-drops-the-promise',
guard: 'node demo/smoke_free_walls.mjs',