Spike: compositor session state as EDN (jqlssg/moonedn)
CI / test (push) Failing after 16s

compositor/session round-trips a toy snapshot of server state (counters, clients, toplevels) through
EDN and edits one field by path: groundwork for persisting compositor state across a component swap.
Adds the jqlssg/moonedn dependency. Builds and passes on native and wasm.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-25 02:18:36 -08:00
1 parent e769566d8f
commit 95b7275b3a
4 files changed
+35

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
///|
test "edn round trip and edit" {
let v = @edn.read(sample())
inspect(@edn.write(v) == @edn.write(@edn.read(@edn.write(v))), content="true")
let out = bump_serial(sample())
inspect(out.contains(":next-serial 500"), content="true")
inspect(out.contains("\"foot\""), content="true")
}