From 011e44f88a8a68f04fd044d9f7dab26586ed9ad0 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 22 Nov 2026 09:10:42 +0700 Subject: [PATCH] ui-contract: a measuring run may read where commands were shown last pass; only real runs register it --- crates/ui-contract/src/runtime/layout_memory.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/ui-contract/src/runtime/layout_memory.rs b/crates/ui-contract/src/runtime/layout_memory.rs index f4d56fd8a..26b7a5bc0 100644 --- a/crates/ui-contract/src/runtime/layout_memory.rs +++ b/crates/ui-contract/src/runtime/layout_memory.rs @@ -1288,6 +1288,10 @@ pub(crate) mod guard { ("contract::body::scroll::Jumps", "scroll jumps: taken through take_queued"), ("runtime::edit::CancelAll", "edit cancels: read; a measuring run ends nothing"), ("runtime::commands::board::Board", "commands: read; registration and publishing are effects skipped in measuring runs"), + ( + "runtime::memory::FactRecord", + "where commands were shown: last pass's, read; registered by real runs only (a measuring run is not parted)", + ), ( "shell::app_shell::dialogs::Hosts", "dialog hosts: one handle per window, made on first use; dialogs open on clicks, which only real runs sense",