Commit Graph
3 Commits
Author SHA1 Message Date
twwu 353ef4f832 fix(workflow): simplify page-close draft saving
Remove the save-receipt schema, predecessor tracking, and collaboration protocol extensions from 488a8d9307. Dispatch keepalive saves immediately while later draft operations wait for completion, retaining existing hash checks and stale-response protection.

Concurrent-save reconciliation remains deferred. Validated with 110 frontend tests, 141 backend tests, Web type checking, and the full repository static check.
2026-11-03 16:40:08 +08:00
twwu 488a8d9307 fix(workflow): preserve final draft saves across editor teardown
Dispatch keepalive snapshots before teardown and persist save receipts in
the draft transaction. Validate base receipts and named predecessors to
reject stale saves even when the graph returns to its original hash.

Retain unacknowledged saves and variable patches for recovery, propagate
receipts through refresh, import, and collaboration, and support UUID
generation on HTTP deployments. Include the migration and API contracts.
2026-11-03 16:16:39 +08:00
Wu Tianwei bf8333bc77 fix(builder): avoid layout conflicts and serialize draft updates (#42601) 2026-09-21 09:48:02 +08:00