test: register the space-switch witness for the two renderers (#525)

`smoke-select` answered НЕОПРЕДЕЛЁННОСТЬ on this diff: the smoke does not
name `_renderDevice` or `_renderOpenings` anywhere — it switches spaces the
ordinary way and reads running transitions off the nodes those renderers
produced. That is exactly the case `scripts/smoke-links.mjs` exists for, and
without the record the next edit to either renderer selects no witness at all.

Issue: #525
User-Visible: no
This commit is contained in:
Claude
2026-09-11 01:42:46 +00:00
committed by claude[bot]
parent 8d5bade656
commit ab296302d1
+9
View File
@@ -27,6 +27,15 @@
/** @type {SmokeLink[]} */
export const SMOKE_LINKS = [
{
symbols: ['_renderDevice', '_renderOpenings'],
smokes: ['smoke_space_switch_transitions.mjs'],
because: '#525: the smoke never names these renderers — it switches spaces the ordinary way '
+ 'and reads running transitions off the nodes they produced. The contract it guards is '
+ 'list identity: a keyless list reuses a node by position, and the leaf of the next space '
+ 'then animates from the previous door\'s angle. Any edit to either renderer can drop the '
+ 'key without a single identifier of the smoke changing',
},
{
symbols: ['LoadedSummaryPanelRuntime', 'SummaryPanelPresentation', 'renderSummaryPanelEditor',
'summaryPanelCss', 'summaryPanelEditorCss', 'summaryPanelDialogCss', 'summaryIcon'],