From 5d09e722e450024c68fe54c7bdab19015a5975fb Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Sat, 5 Sep 2026 12:03:48 +0300 Subject: [PATCH] test: link live editor contract to browser smokes Issue: #460 User-Visible: no --- docs/specs/460-live-editor-settlement.md | 5 +++-- scripts/smoke-links.mjs | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/specs/460-live-editor-settlement.md b/docs/specs/460-live-editor-settlement.md index ec55216e..1b215041 100644 --- a/docs/specs/460-live-editor-settlement.md +++ b/docs/specs/460-live-editor-settlement.md @@ -53,8 +53,9 @@ Issue: [#460](https://github.com/Matysh/houseplan-card/issues/460) - `src/live-editor.ts` — ревизии, ожидания и terminal-null routing. - `src/houseplan-editor-runtime.ts` — внутренний awaitable-метод для browser harness. -- `test/live-editor.test.mjs` и `scripts/mutation-gate.mjs` — unit- и - mutation-доказательства. +- `test/live-editor.test.mjs`, `scripts/mutation-gate.mjs` и + `scripts/smoke-links.mjs` — unit-, mutation- и smoke-selection + доказательства. - `demo/smoke_furniture.mjs`, `demo/smoke_decor.mjs`, `demo/smoke_decor_text.mjs` — потребители контракта. - `docs/DEVELOPMENT.md`, оба changelog и сгенерированные bundle-деревья — diff --git a/scripts/smoke-links.mjs b/scripts/smoke-links.mjs index 8e877e63..14d7585c 100644 --- a/scripts/smoke-links.mjs +++ b/scripts/smoke-links.mjs @@ -27,6 +27,16 @@ /** @type {SmokeLink[]} */ export const SMOKE_LINKS = [ + { + symbols: [ + 'LiveEditorState', 'finishRevision', 'hoverProperties', + 'routeHouseplanEditorUpdate', 'whenHouseplanEditorSettled', + ], + smokes: ['smoke_furniture.mjs', 'smoke_decor.mjs', 'smoke_decor_text.mjs'], + because: 'the #460 production-bundle scenarios consume the internal settlement contract ' + + 'through the lazy editor runtime and prove that furniture hover cleanup, preview/commit ' + + 'parity and decor gestures observe the latest coalesced live-editor frame', + }, { symbols: [ 'renderZigbeeTopologyOverlay', 'resolveTopologyHover', 'mapTopologyNodes',