Bind managed Block properties with read-only dependency tracking
Verify Tessera GUI / verify (push) Failing after 7m31s

This commit is contained in:
2026-10-21 21:19:36 +08:00
parent dff49770fa
commit 8d980745ea
11 changed files with 571 additions and 12 deletions
+11
View File
@@ -8,6 +8,7 @@
| endor_host.rs | Aster compilation, fresh PUT candidates retained after successful publication, shared Console/program VM, bounded execution, root cleanup and AST developer tree for function/class/member assignment nodes |
| endor_script.rs | Batch complete inputs for Aster's Interactive parser/compiler, retain Module entry, and rebase Aster spans to the original snapshot |
| ui_bridge.rs | Inheritable native nominal constructors with source fields, shared type method tables and bound receiver dispatch, tab registry, Page lifecycle/navigation and immutable frame extraction |
| binding.rs | Target-owned managed property bindings, weak Subscription tokens, read-only compute and borrowed dependency/output caches |
| block.rs | Aster-managed Block/Cell/data graph, stable child slots, content-owned field storage, shared assignment, cycle validation and explicit text bindings |
| snapshot.rs | Property and visual-method identity dependencies across shared field-storage paths, reverse parent links and cached immutable visual derivation |
| mount.rs | Managed per-occurrence contexts, weak reverse links, ordered mount/unmount hooks, geometry and focus queries |
@@ -95,3 +96,13 @@ are filtered by their published runtime generation. Native window/surface failur
are returned to the host diagnostics rather than panicking the event loop; main
window initialization errors propagate to process exit. The stopped-window and
cross-generation regression sources are compiled, not locally executed.
Native visual scalar parameters live in the Block's managed property storage.
Snapshot extraction validates and reads those fields, and records exact property
invalidation keys. Payload kind values remain constructor defaults; drawing uses
the property projection. Binding refresh traverses the weak visual registry and
deduplicates forwarded content, including hidden objects. It records object-level
read versions and borrowed output values for equality without adding GC roots;
cache updates do not mutate the connection's business version. Target content
traces the compute function. Subscription tokens are weak and also support bindings.
All binding work settles before published frames; compute failure stops the VM.