From 54a4b700014fe238f96da2653bb598fc7c160903 Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Wed, 30 Sep 2026 12:12:29 +0200 Subject: [PATCH] :construction: WIP Step 16.2 Renames and fixes --- frontend/test/benches/render_wasm/cases.cljs | 9 +++++---- frontend/test/benches/render_wasm/upload.cljs | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend/test/benches/render_wasm/cases.cljs b/frontend/test/benches/render_wasm/cases.cljs index d44119ba63..b9f276800f 100644 --- a/frontend/test/benches/render_wasm/cases.cljs +++ b/frontend/test/benches/render_wasm/cases.cljs @@ -7,9 +7,10 @@ ;; Discovery loads each scene and its transitive requires, including any ;; colocated operation functions. Stripping :run! only makes output plain ;; data; it cannot isolate browser dependencies. Keep this entire import -;; graph safe for Node. Browser adapters supply execution capabilities in -;; rtx; discovery must never invoke operation bodies. Ticket 06 must prove -;; collection with a real pan body present, not just metadata-only cases. +;; graph safe for Node. Browser adapters will supply execution capabilities in +;; rtx; discovery must never invoke operation bodies. Collection with a +;; real body present is proven by `contracts-scene/case`, not by the +;; metadata-only rects cases. (ns benches.render-wasm.cases "Case collection for the renderer benchmarks. @@ -106,7 +107,7 @@ :scene-seed (core/derive-seed master-seed (:scene registered) (:params registered))))] - (as-invalid-case! #(core/check-collected-case! projected)))) + (as-invalid-case! #(core/check-collected-case projected)))) (defn scene-ids "Registered scene ids in declaration order." diff --git a/frontend/test/benches/render_wasm/upload.cljs b/frontend/test/benches/render_wasm/upload.cljs index 815fda9db1..603cb62460 100644 --- a/frontend/test/benches/render_wasm/upload.cljs +++ b/frontend/test/benches/render_wasm/upload.cljs @@ -9,7 +9,7 @@ In order to emulate editor behaviour, `upload-scene!` derives parent-before-child order from a validated scene - snapshot and uploads it with `serialize-shapes-batch!` + snapshot and uploads it with `serialize-shapes-batch` Validation, timing, lifecycle (`_begin/_end_loading`), host font/image/grid sequencing and text layouts stay in the callers (tickets 02/05). @@ -23,7 +23,7 @@ (defn prepare-scene "Derives the parent-before-child shape vector from a validated `snapshot`. Call it outside measured regions, then pass the result to - `serialize-shapes-batch!` inside." + `serialize-shapes-batch` inside." [snapshot] (common/upload-order snapshot)) @@ -38,4 +38,4 @@ Returns the prepared shape vector." [snapshot opts] - (serialize-shape/serialize-shapes-batch! (prepare-scene snapshot) opts)) + (serialize-shape/serialize-shapes-batch (prepare-scene snapshot) opts))