mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
Stack a delayed derived change into its applied undo group when that group exists, instead of an unrelated later entry or transaction. Preserve an older entry's selection and exclude the redo tail. The delayed-font regression fails before the fix and passes afterward. Async transaction controls pass 18 assertions; the completion suite passes 17 tests / 646 assertions. Full frontend passes 1,563 tests / 10,860 assertions, including unchanged goldens. Lint and formatting pass. A standalone-text WASM history passes 9 checks, with exact undo/redo, full-sync consistency, the original page restored and no pending work. Benchmark ratios against the unchanged Phase 1e baseline: main 10/100/1,000 copies 0.62/0.59/0.62; three levels 0.68; dependency chain 0.54; library update 0.54; many shapes 0.48; variant switch 0.76. All worlds pass without regression flags. The separate late copy-measurement path remains tracked as F222. AI-assisted-by: gpt-6