test: cover viewport replacement with saved mount and task ownership
Verify Tessera GUI / verify (push) Failing after 8m33s

This commit is contained in:
2026-10-23 01:38:18 +08:00
parent d452b95e57
commit 4df99cb2aa
4 changed files with 74 additions and 0 deletions
+3
View File
@@ -176,3 +176,6 @@ Pending bridge layouts now retain a Mount checkpoint. cancel_layout_frame closes
New viewport targets now coalesce pending refresh work. The runtime cancels only an unfinished bridge layout, restores its Mount checkpoint, preserves completed per-window drafts/callback effects and restarts traversal with the latest viewport map. refreshRestarts counts target replacements; layoutCancels counts replacements that actually closed a pending VM layout. Unchanged targets resume the same job. A new external target resets its convergence budget; internal settling does not. Ordinary source/event mutations still serialize behind refresh rather than roll back application effects.
Cancellation checkpoints own explicit VM roots until restored or released. Initial presentations may have no mount dictionary; cancellation restores that absence too. Saved metadata values retain object-valued attributes. A pending refresh can restart while keeping already completed window drafts; no onMount/onUnmount callback is replayed merely because the viewport target changed. Mount-owned tasks are cancelled immediately before an actual onUnmount callback, never during abandoned preparation.