mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
The registry tests mock the RPC and check every call recorded while the mock is installed. A component sync deletes the thumbnails of the frames it changes 200 ms later, so a sync at the end of an earlier test of the suite can call the mock in that window: under the coverage run, the frontend suite failed in register-test, a different test each time, with an extra :delete-file-object-thumbnails call. The mock now records and answers only the plugin profile commands; any other call gets an empty answer. Also in this commit: - Update the component memories for the audit and fix phase. The contract memory says how the code now holds it: the eager cascade and where it lives, the automatic text name, the children of a transformed copy shape, measured text sizes on both renderers, repairs as derived writes, the tolerance of "differs" and the :set-touched operation. The debugging recipes add the override scanner; the data model and the composable test notes follow the changes. AI-assisted-by: claude-opus-5-5