Notes: Copy link to heading corrupts the saved body (duplicated links) #1440
Closed
opened 2026-10-08 04:15:58 +00:00 by kayg
·
27 comments
No Branch/Tag specified
dev
wip/cards2-1083
wip/cards-1083
wip/canvas-visual
wip/canvasvis2-976
wip/calhdr-1112
wip/blocks-1125
wip/allday-1107
wip/agenda-1086
wip/trayicons2-1095
wip/trayicons-1095
wip/sidebar3-1094
wip/previewcard-1098
wip/palette2-1123
wip/palette-1093
wip/nlpchip-1127
wip/mchrome-1084
wip/mailghost2-1094
wip/mailghost-1094
wip/kbpreview2-1118
wip/kbpreview-1118
wip/kanban-1092
wip/editreg-1132
wip/editorrail3-1113
wip/editorrail2-1113
wip/editorrail-1113
wip/draw4-1101
wip/draw3-1101
wip/draw2-1101
wip/draw-1101
wip/delete-1119
job/txentry-1198
job/rev1586
job/rev2-money-ident
job/rev2-webperf
job/morph-1104
job/previewcard-1098
job/importhang-1121
job/kanban-1092
job/merge-round-7b
job/merge-round-7c
job/calcards-1115
job/collabrev3-1197
job/e2e-b-1071
job/agenda-1086
job/agenda-decks
job/allday-1107
job/browserfix
job/calact9
job/adv7c-1105
wip/collabrev3-1197
wip/calcards-1115
wip/calact9
wip/calact10
wip/browserfix
wip/agenda-decks
wip/adv7c-1105
wip/txentry-1198
wip/rev2-webperf
wip/rev2-money-ident
wip/rev1586
wip/morph-1104
wip/merge-round-7c5
wip/merge-round-7c4
wip/merge-round-7c3
wip/merge-round-7c2
wip/merge-round-7c
wip/importhang-1121
wip/fix1586
wip/e2e-b2-1071
wip/e2e-b-1071
job/noncanon-1618
wip/noncanon-1618
job/edrevert-1616
job/partial-1605
wip/partial-1605
job/calact6
job/cold-1586
job/perfvm-1587
wip/cold-1586
job/cal404-1581
wip/calact6
wip/cal404-1581
job/dname-1584
wip/dname-1584
job/merge41
wip/merge41b
wip/merge41
job/rev1573c
job/hscroll-1579
wip/rev1573c
job/rev1573b
job/rev1573
wip/fix1573
wip/hscroll2
wip/hscroll-1579
job/rev1574
wip/fix1574
wip/rev1574
job/startup-1573c
job/merge40
wip/startup-1573d
wip/startup-1573c
job/calact5
wip/remtext2
wip/merge40c
wip/merge40b
wip/merge40
job/calact4
job/startup-1573
job/calprof
wip/calprof
wip/startup-1573
job/fs1575
job/fix1570
job/calact3
job/rec1540c
wip/fix1570
job/rev1570-review
wip/calact3
job/calact2
wip/calact2
job/calcold-1560
wip/calcold-1560
wip/rec1540c
job/fix1569
wip/fix1569
job/calact-1557
wip/calact-1557
job/remtext-1568
wip/remtext-1568
job/fix1566
wip/fix1566
job/rec1540b
job/reconcile-1540
job/money2rev
wip/money2rev
job/merge39
wip/merge39
wip/reconcile-1540
job/tabswitch2
job/merge38
wip/merge38
job/autherr-1553
wip/autherr-1553
job/money-688
wip/money688rev3
wip/money688rev2
wip/money688rev
wip/money688l
wip/money688k
wip/money688j
wip/money688i
wip/money688h
wip/money688g
wip/money688f
wip/money688e
wip/money688d
wip/money688c
wip/money688b
wip/money-688
wip/tabswitch2
wip/merge37
job/merge37
job/jobnames-1538
wip/jobnames-1538
job/tabcomp-perf
job/calscript-1492
wip/tabcomp-perf
wip/calscript-1492
job/mailbody-1533
wip/mailbody-1533
job/intlfmt-1461
job/merge36
wip/intlfmt2
wip/intlfmt-1461
wip/merge36
job/merge35c
job/tagperf-1186
wip/tagrev2
wip/tagrev
wip/tagperf4
wip/tagperf2-1186
wip/tagperf-1186
wip/tagfix5
wip/tagfix3
wip/tagfast2
wip/tagfast
wip/merge35c
job/notesel-1493
wip/notesel2
wip/notesel-1493
job/merge35b
wip/merge35b
wip/m35btriage
wip/m35bratchet
wip/calsel-1491
job/calsel-1491
job/notifread-1387
job/bulkwrite-1393
wip/notifread2
wip/notifread-1387
job/slowsel-1392
wip/bulkwrite-1393
wip/bulkrev4
wip/bulkrev3
wip/bulkrev2
wip/bulkrev
wip/bulkfix4
wip/bulkfix3
wip/bulkfix2
wip/bulkfix
job/mail7-1340
job/bigscroll-1481
job/searchperf-1425
wip/mailrev4
wip/mailrev3
wip/mailrev2
wip/mailrev
wip/mail7f
wip/mail7e
wip/mail7d
wip/searchperf2
wip/searchperf-1425
wip/mail7c
wip/mail7b
wip/mail7-1340
job/photoopen-1367
job/mailsel-1449
wip/bigscroll-1481
wip/slowsel3
wip/slowsel2
wip/slowsel-1392
wip/selroot
job/journaldup
wip/journaldup8
wip/journaldup7
wip/journaldup6
wip/journaldup5
wip/journaldup4
wip/journaldup3
wip/journaldup2
wip/journaldup
wip/jdrev5
wip/jdrev4
wip/jdrev3
wip/jdrev2
wip/jdrev
wip/jdfix9
job/bignote-1349
wip/mailsel-1449
wip/bignote3
wip/bignote2
wip/bignote-1349
job/statusmark-1457
wip/statusmark-1457
wip/photoopen4
wip/photoopen3
wip/photoopen2
wip/photoopen-1367
job/authflash-1473
job/merge35
wip/authflash-1473
job/phototags-1370
wip/phototags-1370
wip/merge35
wip/m35triage
job/tick-1446
wip/tick-1446
job/restartidx-1450
job/exmove-1333
job/coldnote-1451
wip/restartidx-1450
wip/exmove-1333
wip/coldnote-1451
job/undo412-1430
wip/undo412-1430
job/calwrite-1441
job/xcancel-1443
job/calscroll-1362
wip/xcancel-1443
wip/calwrite-1441
job/xsub-1445
wip/calscroll3
wip/calscroll2
wip/calscroll-1362
wip/xsub-1445
job/linkdup-1440
wip/linkdup2
wip/linkdup-1440
wip/tabswitch4
wip/tabswitch3
wip/tabswitch-1233
wip/navrev
job/tabswitch-1233
job/mdpaste-1431
job/taskundo-1433
job/directory-1199
wip/taskundo-1433
job/remind-1432
job/nfd-1411
wip/remind-1432
wip/dirfix4
wip/dirfix3
wip/dirfix2
wip/dirfix-1199
wip/directory-1199-r
wip/directory-1199
job/readerx-1427
wip/readerx-1427
job/scrollfade-1416
job/tipphone-1439
wip/nfd-1411
job/purge-1420
job/notifrow-1414
wip/purge-1420
wip/notifrow-1414
job/slop-1385
wip/slop2
wip/slop-1385
job/tbover-1409
job/qltitle-1408
job/grantlive-1405
job/taskclick-1434
wip/tbover-1409
wip/taskclick-1434
wip/qltitle-1408
job/scrub-1422
job/hotfix35
job/ticks-1361
wip/scrub-1422
job/taskprev-1401
wip/grantlive-1405
job/ghost-1323
wip/ticks3
wip/ticks2
wip/ticks-1361
wip/taskprev-1401
job/bash3-settings
wip/ghost-1323
job/mailmorph-1368
wip/bash3-settings
job/apiaudit-1374
wip/bash3-filesphotos
job/bash3-filesphotos
job/xuser39-1402
job/bash3-money
job/mailhtml-1372
wip/mailhtml2
wip/mailhtml-1372
job/bash3-interop
job/bash3-calendar
wip/bash3-money
wip/bash3-interop
wip/bash3-calendar
wip/mailmorph2
wip/mailmorph-1368
wip/bash3-tasks
job/outro-1391
job/linkpick-1379
job/linkdel-1384
wip/linkpick2
wip/linkpick-1379
wip/linkdel3
wip/linkdel2
wip/linkdel-1384
job/mailrows-1390
wip/mailrows-1390
wip/apiaudit2
wip/apiaudit-1374
job/bash-core
wip/outro-1391
wip/bash-core2
wip/bash-core
job/bash3-notes
job/bash3-tasks
job/merge34
job/notifdel-1363
wip/merge34
wip/notifdel2
wip/notifdel-1363
job/wklink-1371
wip/wklink-1371
job/searchbar-1360
wip/searchbar2
wip/searchbar-1360
job/merge33-1122
wip/merge33c
wip/merge33b
wip/merge33-1122
job/bash-security
job/mailglass-1373
wip/bash-security2
wip/bash-security
wip/mailglass-1373
job/instaudit-1369
wip/instaudit-1369
job/tabstorm-1338
wip/tabstorm2
wip/tabstorm-1338
wip/bash-files2
wip/bash-files
job/bash-files
job/bash-money
job/editfuzz-1335
wip/bash-money
wip/moneyrev
job/tasksperf-1286
wip/tasksperf3
wip/tasksperf2
wip/tasksperf-1286
wip/editfuzz2
wip/editfuzz-1335
review/dirrev-1199
job/merge32
wip/merge32b
wip/merge32
job/bash-chrome
job/tagdnd-1187
job/bash-notes
wip/bash-notes2
wip/bash-notes
wip/bash-chrome
wip/reconcile-c1
wip/adv-c1
wip/tagdnd2-1187
wip/tagdnd-1187
job/bash-calendar
job/deploy-c1
job/editbreak-1334
job/bash-perf
wip/bash-calendar2
wip/bash-calendar
wip/bash-perf
job/hunt-20261006
job/bash-interop
job/collabloss-1197
wip/collabrev-1197
wip/collabloss5-1197
wip/collabloss4-1197
wip/collabloss3-1197
wip/collabloss2-1197
wip/collabloss-1197
wip/bash-interop
job/bash-mail
wip/bash-mail
job/vis-1293
wip/vis-1293
wip/restyle-search-r
wip/restyle-search-fix2
wip/restyle-search-fix
wip/restyle-search
job/restyle-settings
job/restyle-search
wip/restyle-settings-fix
wip/restyle-settings
job/adv31
wip/advfix-a
wip/adv31
job/bash-tasks
wip/bash-tasks
job/restyle-files
wip/restyle-files-fix
wip/restyle-files
job/fmtbar-1210
wip/fmtbar2-1210
wip/fmtbar-1210
job/perf2-1124
wip/perf2-1124
job/proflog-1204
job/merge31
wip/restyle-notes
wip/merge31
wip/proflog-1204
job/restyle-notes
job/fix-1213
wip/fix-1213
job/hide-1153
job/restyle-mailmoney
job/notestatus-1209
wip/hide-1153
wip/hiderev2-1153
wip/hiderev-1153
wip/hide5-1153
wip/hide4-1153
wip/hide3-1153
wip/hide2-1153
job/sidebarblur-1208
wip/notestatus-1209
wip/sidebarblur-1208
wip/restyle-mailmoney
job/onboard-1141
wip/onboard2-1141
wip/onboard-1141.aborted-early
wip/onboard-1141
job/adv-1202
job/segmented-1200
wip/segmented-1200
job/merge30
job/notifloop-1194
job/toastmorph-1201
wip/notifloop-1194
job/perf-1124
job/tocrail-1191
job/cards-1179
wip/cards2-1179
wip/cards-1179
wip/tocrail-1191
wip/perf-1124
wip/merge30j
job/wizchoices-1140
wip/wizchoices-1140
wip/restyle-1190
job/moneyfmt-1180
wip/moneyfmt2-1180
wip/moneyfmt-1180-r
wip/moneyfmt-1180
job/pillglass-1189
job/flags-1181
wip/flags-1181
job/restyle-1190
job/settingsreg-1195
job/wizard-1140
site/website
wip/wizardrev2-1140
wip/wizardrev-1140
wip/wizard5-1140
wip/wizard4-1140
wip/wizard3-1140
wip/wizard2-1140
wip/wizard-1140
wip/pillglass-1189
wip/settingsreg-1195
job/merge29
job/fu-1171
wip/merge29j
wip/fu-1171
job/fu-1166
job/txresearch-1188
wip/fu-1166
job/merge28
job/search-1066
wip/search-1066
wip/merge28j
job/gateslot-1182
job/bulkimport-1157
job/mailnet-1160
wip/mailnetrev-1160
wip/mailnet-1160
wip/bulkrev-1157
wip/bulkimport-1157
job/startup-1161
wip/startup-1161
job/merge27
job/linkcards-1151
wip/linkcards3-1151
wip/linkcards2-1151
wip/linkcards-1151
job/traydate-1144
wip/traydate3-1144
wip/traydate2-1144
wip/traydate-1144
job/draw-1101
wip/merge27j
job/blockpill-1152
wip/blockpill3-1152
wip/blockpill2-1152
wip/blockpill-1152
job/minihover-1149
wip/minihover2-1149
wip/minihover-1149
job/merge25
wip/merge25-r
wip/merge25b
wip/merge25
job/inspector-1129
job/tags-1110
wip/inspector3-1129
wip/inspector2-1129
wip/inspector-1129
wip/tagsrev-1110
wip/tags2-1110
wip/tags-1110
job/dates-1148
wip/datesrev-1148
wip/dates2-1148
wip/dates-1148
job/licence-1145
wip/licence2-1145
wip/licence-1145
job/selfhost-1156
fixbatch-25
job/merge23
wip/merge23
job/tagfilter-1109
wip/tagfilter2-1109
wip/tagfilter-1109
job/kbd-1134
wip/kbd2-1134
wip/kbd-1134
job/palfoot-1137
wip/selfhost-1156
wip/palfoot2-1137
wip/palfoot-1137
job/toggle-1158
wip/toggle-1158
fixbatch-23
job/kbpreview-1118
job/docratchet-1155
job/perflint-1133
job/devtests-1159
wip/docratchet-1155
wip/devtests-1159
job/segv-1136
wip/toast-1142
wip/segv-1136
job/toast-1142
job/blockreload-1147
wip/blockreload-1147
job/font-1150
wip/font-1150
job/importui-1120
job/minimonth-1149
wip/importui-1120
wip/minimonth-1149
job/depcheck-1146
wip/perflint-1133
wip/depcheck-1146
job/blocks-1125
job/plus-1128
job/shift-1138
wip/plus2-1128
wip/plus-1128
wip/shift-1138
job/moneyfid-1130
job/editorrail-1113
wip/moneyrev-1130
wip/moneyfid-1130
job/noext-851
wip/noext-851
wip/noext3-851
wip/noext2-851
job/week-1135
wip/week-1135
job/editreg-1132
job/smoke-1122
wip/smoke-1122
job/docs-1143
job/palette2-1123
job/calhdr-1112
job/nlpchip-1127
job/mailghost-1094
job/reconnect-1131
wip/reconnect-1131
job/trayicons-1095
job/delete-1119
hotfix-sidebar2
job/cards-1083
job/palette-1093
job/mchrome-1084
job/e2e-a-1071
job/canvas-visual
wip/e2e-a2-1071
wip/e2e-a-1071
backup/canvas-visual-before-reconcile
wip/surfaces-p2
job/merge-round-9
wip/merge-round-9
job/7cfix-small
wip/7cfix-small
job/mailui-1078
job/merge-round-8
wip/merge-round-8
wip/mailui-1078
job/mailround-1038
job/applemail-accept
wip/settitle-1068
wip/mailround2-1038
wip/mailround-1038
wip/e2e-7b
job/crash-1069
wip/crash-1069
job/searchlost-1066
wip/searchlost-1066
job/7b-reconcile
job/flake-1065
wip/flake-1065
wip/merge-round-7b7
wip/merge-round-7b6
wip/merge-round-7b5
wip/merge-round-7b4
wip/7b-reconcile
job/appupdate-1059
job/nfd-1044
wip/appupdate-1059
job/e2e-7b
job/loop-1062
wip/loop-1062
job/pdfprev-1045
job/invtoggle-1053
wip/pdfprev-1045
wip/nfd-1044
wip/invtoggle-1053
job/7bfix-e2e
job/mailstress-b
wip/7bfix-e2e
wip/mailstress-b
job/7bfix-adv
wip/7bfix-adv
job/mailstress-a
job/stack-1054
wip/stack-1054
wip/mailstress-a
job/mailstress-1038
wip/mailstress-1038
job/upload500-1051
wip/upload500-1051
job/share-1034
wip/share-1034
job/syncerr-1037
job/7bfix-photos
wip/7bfix-photos
job/paste-1036
job/setside-1039
wip/setside-1039
wip/paste-1036
job/lease-1042
wip/syncerr-1037
wip/lease-1042
job/7bfix-data
job/passkeybind-1043
wip/apprevoke-1041
job/invite-1035
wip/invite-1035
job/merge-round-7b2
wip/merge-round-7b2
job/mailproxy-486
job/apprevoke-1041
job/rebuild-1033
job/pillborder-1029
wip/pillborder-1029
wip/mailproxy-486
wip/applemail-486
job/headless-998
wip/headless-998
job/groups-1028
wip/groups-1028
job/rebuildwarn-1016
wip/rebuildwarn-1016
job/startup-1011
wip/startup-1011
job/monthpill-1009
job/bgthumb-1025
job/sharetitle-1012
wip/monthpill-1009
wip/bgthumb-1025
wip/sharetitle-1012
job/canvas-cards-977
wip/canvas-cards-977
job/canvas-pencil-978
job/canvas-sketch-990
wip/canvas-sketch-990
wip/canvas-pencil-978
job/canvas-files-989
wip/canvas-files-989
job/canvas-collab-991
wip/canvas-collab-991
job/weekscroll-1018
wip/weekscroll-1018
wip/canvas-core-976
job/canvas-core-976
job/round-drag
wip/round-drag
job/round-settings
wip/oapi-974
job/oapi-974
job/hist2-integrate
job/mailhtml-726
wip/mailhtml-726
wip/hist2-integrate
job/moneyfu-984
job/drag-1015
wip/drag-1015
job/rename-1017
wip/rename-1017
job/hist2-api
wip/hist2-api
job/oneacct-1014
wip/oneacct-1014
wip/moneyfu-984
job/hist2-bench
job/hist2-restore
wip/hist2-bench
job/hist2-write
job/hotfix-724
wip/hotfix-724
wip/hist2-write
wip/hist2-restore
job/hist2-store
job/hist2-ui
wip/hist2-ui
wip/hist2-store
job/searchstarve-965
job/shutdown-963
wip/shutdown-963
wip/pubedit-981
job/pubedit-981
job/analytics-973
wip/searchstarve-965
job/authflash-850
job/weeklane-969
job/pvtitle-1004
job/hist-975
wip/authflash-850
job/voicepill-617
wip/pvtitle-1004
job/headring-1003
wip/weeklane-969
wip/voicepill-617
wip/headring-1003
wip/analytics-973
job/agentscope-980
wip/thumbsandbox-988
job/thumbsandbox-988
wip/hist-975
job/links-856
wip/links-856
job/davetag-966
wip/davetag-966
job/filesstorm-1000
job/hoverpad-725
wip/filesstorm-1000
job/ffmpegblas-993
job/merge-round-7a
wip/hoverpad-725
wip/ffmpegblas-993
job/nowdot-1002
wip/verify-7a
job/noteid-857
wip/nowdot-1002
wip/noteid-857
wip/merge-round-7a
wip/agentscope-980
job/imapedge
job/a11yfix2
wip/imapedge-941
wip/imapedge
wip/a11yfix2
job/notetask-986
job/logheading
wip/logheading-998
job/textthumb-652
job/photolive-987
wip/photolive-987
job/davactive-983
job/savefix-985
job/tabicons-607
wip/davactive-983
wip/tabicons-607
wip/notetask-986
wip/savefix-985
job/dirid-627
job/buildspeed-1007
wip/dirid-627
job/staging-imap
job/perfguards-impl
job/undo-a11y
wip/undo-a11y
job/mailperf
job/wal-824
wip/settings-50
job/settings-50
job/notesfilter-606
wip/notesfilter-606
job/surfaces-p2
wip/wal-824
job/maillayouts
wip/mailperf
wip/maillayouts
job/taskmeta-659
job/money-ident
wip/money-ident
wip/taskmeta-659
job/errstates
wip/perfguards-impl
job/headings-881
wip/headings-881
wip/errstates
job/voice-619
job/gaps-827
job/notesperf
wip/notesperf
wip/voice-619
job/hddsql-549
job/perf-stream-668
wip/perf-stream-668
wip/deeplinks-fix
job/deeplinks-fix
job/authfix
job/docsfix-rust
wip/docsfix-rust
job/webperf
job/docsfix-web
job/datafix2
job/webdav-lock-476
job/copyfix
wip/copyfix
wip/webperf
job/focus-658
wip/protofix
job/mediafix
job/protofix
wip/mediafix
job/agentfix
job/hhmm-724
wip/agentfix
job/undo-722
job/reuse
wip/webdav-lock-476
wip/reuse
job/scopefix
job/datafix
wip/hhmm-724
wip/undo-722
job/surfaces-p1
wip/hddsql-549
job/voicememos-618
wip/datafix2
wip/surfaces-p1
job/fix-940
wip/fix-940
job/blaze-surfaces
wip/datafix
wip/blaze-surfaces
job/taskday-655
job/linknav-639
wip/linknav-639
wip/gaps-827
job/isolation-707
job/audiophotos-720
wip/audiophotos-720
job/advfind-664
wip/voicememos-618
wip/taskday-655
wip/isolation-707
wip/advfind-664
wip/scopefix
wip/focus-658
job/testgaps
wip/testgaps
job/overscroll-718
wip/authfix
job/deps
wip/overscroll-718
job/rev2-agentfix
job/rev2-mailperf
wip/deps
job/hardening-728
wip/hardening-728
job/searchgen-832
wip/searchgen-832
job/photopw-849
job/mailsql-825
wip/photopw-849
job/sharefix
wip/sharefix
job/rev2-mailhtml-726
job/rev2-perfguards
job/copyval-723
job/lightglass-r2
wip/lightglass-r2
wip/docsfix-web
job/copy-audit
job/macinterop-staging-r2
job/design-sync
job/rev2-taskmeta-659
job/docs-audit
job/rev2-advfind-664
job/rev2-mailproxy-486
job/states-audit
job/rev2-datafix
job/design-drift
job/test-gaps
job/rev2-voicememos-618
job/rev2-mediafix
job/rev2-deps
job/rev2-datafix2
job/licence-audit
job/issue-hygiene
job/rev2-protofix
job/rev2-voice-619
job/rev2-isolation-707
job/rev2-surfaces-p1
job/deeplink-audit2
job/rev2-audiophotos-720
wip/test-gaps
job/rev2-overscroll-718
job/rev2-undo-722
wip/states-audit
job/rev2-dropmd-719
job/rev2-linknav-639
job/merge-7b-plan
wip/merge-7b-plan
job/rev2-taskday-655
wip/mailsql-825
job/rev2-webdav-lock-476
job/rev2-browserfix
wip/design-drift
job/rev2-hddsql-549
wip/deeplink-audit2
job/rev2-scopefix
job/rev2-authfix
job/rev2-hardening-728
job/rev2-wal-824
job/rev2-sharefix
job/calsidebar-638
job/chrome-audit
job/ioperf
wip/ioperf
wip/chrome-audit
wip/calsidebar-638
job/dropmd-719
wip/dropmd-719
job/ocr-build
wip/ocr-build
job/blaze-settings
wip/copyval-723
job/toastring-721
wip/toastring-721
job/deployfix-732
wip/deployfix-732
wip/blaze-settings
job/money-import-recheck
job/rev-a11y
job/perf-arch-db
job/rev-7b-data
wip/textthumb-652
wip/perf-arch-db
job/sec-protocols
job/sidehdr-660
job/rev-7b-security
job/research-surfaces
job/rev-design-gaps
job/rev-mcp-api
wip/sidehdr-660
job/perf-arch-memory
wip/sec-protocols
job/perf-arch-bundle
job/snapedge-714
wip/rev-mcp-api
job/sec-supplychain
wip/research-surfaces
job/perf-arch-sync
job/rev-consistency
job/perf-arch-server
wip/perf-arch-server
wip/perf-arch-memory
job/perf-arch-io
job/perf-arch-client
job/sec-fs
job/sec-mcp-scopes
job/sec-sharing
job/perf-guards
job/sec-browser
job/sec-admin-deploy
job/sec-auth
wip/snapedge-714
job/bgpicker-717
wip/perf-arch-bundle
wip/money-import-recheck
job/advsetup-654
wip/bgpicker-717
wip/advsetup-654
job/burst-709
job/kbdcaps-710
job/app-pw-chooser
wip/burst-709
wip/app-pw-chooser
job/imaptest-625
wip/kbdcaps-710
job/fix-499
wip/fix-499
job/perf-mut-667
job/calimg-589
job/perf-snap-666
wip/calimg-589
wip/perf-snap-666
wip/perf-mut-667
job/perf-cache-665
wip/perf-cache-665
job/voicefiles-620
wip/voicefiles-620
job/admin-burst-705
wip/admin-burst-705
job/voicememos-review
wip/voicememos-review
wip/ryw-653
job/ryw-653
job/writeonopen-661
job/instant-663
wip/writeonopen-661
job/money-import-review
wip/money-import-review
wip/importjs-610
review/integrations-407-round6
wip/integrations-review
job/dragghost-612
wip/dragghost-612
job/integrations
wip/integrations
job/decider-656
job/merge-round-6
job/perf-rerun
wip/merge-round-6
job/integrations-review-round5
job/selalign-576
wip/selalign-576
job/mcp-events-491
job/files-631
job/cal-e2e-569
wip/cal-e2e-569
job/reload-423
wip/reload-423
wip/mcp-events-491
wip/files-631
job/notesbridge-644
wip/notesbridge-644
job/editor-series
job/calcard-series
wip/calcard-series
job/mcp-events-review-491
wip/mcp-events-review
wip/editor-series
job/quirks-546
job/integrations-recheck
job/tocrail-636
wip/tocrail-636
wip/quirks-546
wip/reminders-643
job/reminders-643
wip/davscale-573
job/davscale-573
job/integrations-review
wip/ocr-eval-584
job/ocr-eval-584
job/esc-537
wip/esc-537
job/toastname-586
wip/toastname-586
job/submenu-579
wip/submenu-579
job/tasks-mode
wip/tasks-mode
job/agentdocs-630
job/dupwrite-634
wip/agentdocs-630
wip/dupwrite-634
job/lightglass-588
wip/lightglass-588
job/tabswitch-549
job/ghosttask-623
wip/ghosttask-623
job/toaststack-616
job/weekstate-609
job/mailsync-613
wip/mailsync-613
wip/weekstate-609
job/maildup-626
wip/tabswitch-549
wip/maildup-626
wip/toaststack-616
job/motion-611
wip/motion-611
job/tlstest-601
wip/tlstest-601
job/perf-495
job/floating-sheet
wip/floating-sheet
job/remdup-585
wip/remdup-585
job/fix-502
wip/fix-502
job/attachplay-622
job/perf-batch
wip/perf-batch-563
wip/perf-495
hotfix/mail-sync-diag
job/mail-m3
wip/mail-m3
job/attach-poof-603
job/calhover-608
job/editorbar-604
job/mentions-605
job/merge-round-4
job/allday-514
wip/merge-round-4
wip/allday-514
job/merge-round-4a
wip/merge-round-4a
job/sharestack-580
job/fix-501
wip/sharestack-580
wip/fix-501
job/perf-batch-563
job/theme-detail
job/apw-cache-review
wip/apw-cache-review
job/probe-520
wip/probe-520
job/mac-393
wip/mac-393
job/header-571
job/flake-513
wip/flake-513
job/docs-thumb-547
wip/header-571
job/webcal-572
wip/webcal-572
wip/shortcuts-542
job/shortcuts-542
wip/docs-thumb-547
job/caldav-stress
wip/caldav-stress
wip/sweep-478
job/apw-cache-512
wip/apw-cache-512
job/money-empty-540
wip/restart-505
wip/money-empty-540
wip/fix-510
job/restart-505
job/fix-503
job/perf-496
wip/perf-496
job/fix-498
wip/fix-498
job/info-inspector-465
wip/info-inspector-465
job/fix-510
job/fix-507
wip/fix-507
wip/fix-503
job/fix-493
job/money-kinds
wip/money-kinds
job/hygiene-548
job/merge-round-3
wip/fix-493
job/drag-snap-536
wip/merge-round-3
wip/merge-round-0930
wip/drag-snap-536
job/align-538
wip/align-538
job/bg-flash
wip/bg-flash
job/money-import
job/search-count-544
wip/search-count-544
wip/money-import
job/settings-key-541
wip/settings-key-541
job/toast-539
job/preview-421
wip/preview-421
wip/toast-539
job/tasks-500-531
job/title-plain-526
wip/title-plain-526
wip/tasks-500-531
job/notes-bridge
wip/parity-484
job/parity-484
job/files-slow
job/crash-525
wip/notes-bridge
wip/files-slow
wip/crash-525
job/kbd-motion-527
wip/bg-422
job/analytics-504
wip/analytics-504
wip/kbd-motion-527
job/upload-pill-523
wip/upload-pill-523
wip/tray-order
job/tray-order
wip/overflow-mid
wip/merge-round-2
job/perf-494
wip/perf-494
job/merge-round-3-pre-rebuild
wip/mcp-fast-492
wip/motion-477
wip/asr-ab-489
wip/theme-variants-506
wip/overflow-511
wip/week-header-508
wip/attach-427
job/dav-delete-471
job/iso-435
wip/iso-435
wip/files-sel-keys
wip/dav-delete-471
job/align-253
job/siwc-490
wip/siwc-490
job/money-kinds-review
wip/align-253
wip/money-kinds-review
job/small-bugs-3
wip/overlay-title-487
wip/multiget-500
wip/hidden-420
wip/webcal-ui
wip/webcal-431
job/perf-367
job/location
wip/small-bugs-3
wip/location
wip/perf-367
wip/admin-deny-483
job/tag-unicode-473
wip/tag-unicode-473
job/blur-436
wip/photos-470
wip/blur-436
wip/small-bugs-4
wip/hunt-20260930
wip/settings-hdr-482
wip/chips-416
job/dedup-375
wip/dedup-375
job/doc-stack
wip/doc-stack
job/tokens-literals
wip/tokens-literals
job/jobs-leftovers
wip/send-fast
wip/paste-467
wip/money-numbers
job/money-plugin
wip/money-plugin
backup/doc-stack-r3-reset-source
job/break-dav
wip/merge-batch
wip/crossday-469
wip/mac-verify
wip/mail-m2
wip/break-dav
wip/money-review2
job/money-md
job/modes-424
wip/money-md
wip/jobs-leftovers
job/agenda-413
wip/agenda-413
job/dedup-375-clean
job/dedup-375-before-rebase
wip/modes-424
job/recog-417
wip/recog-417
wip/bounce-425
wip/ab-384-luna
backup/doc-stack-round3-before-rebuild
job/webdav-perf
wip/webdav-perf
job/toast-ring
wip/toast-ring
job/money-review
wip/money-review
wip/micro-motion
wip/settings-card
wip/minical
job/notes-imap-428
job/least-priv
wip/ui-small-2
wip/flaky-426
wip/drag-end-418
job/jank
wip/jank
wip/least-priv
wip/docs-site
job/agenda
job/sec-batch
wip/sec-batch
wip/per-user-index
job/area-calendars
wip/area-calendars
job/parity
wip/parity
job/documents-research
wip/documents-research
job/test-infra
job/reminders-sync
wip/small-bugs-2
wip/reminders-sync
wip/gestures
job/google-oauth
wip/tags-merge
wip/tags
job/e2e-theme
wip/e2e-theme
job/icon-align
wip/test-infra
wip/select-align
wip/editor-385
job/voice
wip/webdav
job/webdav
job/app-pw-ui
job/editor-integrity
wip/editor-integrity
wip/voice
wip/quota
wip/cal-followups
wip/icon-align
job/composer-scale
wip/composer-scale
job/jobs-page
wip/jobs-page
job/hig-type
wip/hig-type
wip/app-pw-ui
job/motion-spring
job/mcp
wip/motion-spring
wip/mcp
job/small-bugs
wip/push-hosts
job/profile-sign
wip/touch-369
wip/profile-sign
job/mobile-focus
wip/mobile-focus
wip/ui-polish-354
wip/small-bugs
wip/dup-task
job/toast-polish
job/app-pw-scopes
wip/toast-polish
wip/app-pw-scopes
wip/cli-agent
wip/selection-pills
job/preview-attach
wip/preview-attach
job/dav-proppatch
wip/dav-proppatch
wip/cal-switcher
job/atomic-race
wip/atomic-race
job/photos-shared
wip/photos-shared
wip/cal-grid
wip/note-rewrite
wip/search-rebuild
job/mail-m1
job/paperless-import
wip/paperless-import
wip/mail-m1
wip/hidden-activity
wip/search-d
wip/pricing-research
wip/cursors
wip/auto-scheme
job/single-pills
wip/single-pills
wip/xuser-matrix
wip/money-format
wip/app-pw-setup
wip/purge-dos
wip/vault-health
wip/caldav-apple
wip/xuser-audit
wip/e2e-green
wip/tabbar
wip/adv-harness
wip/maple-mono
job/search-fix
wip/search-fix
wip/search-perf-c
job/adv-harness
wip/sidebar-headers
job/glass
wip/temp-index
job/polish
wip/polish
wip/file-protocols
wip/money-research
wip/glass
wip/voice-models
wip/collab-redo
job/voice-research
wip/hunt-20260928
wip/notes-actions-research
wip/search-pad
wip/search-perf
wip/search-sticky
wip/editor-undo
wip/chrome-rules
wip/motion
wip/appearance-research
wip/appearance
wip/audit-bugs
wip/cal-glass
wip/block-actions
wip/authz-order
wip/event-stripes
wip/chrome-sidebar
wip/auth-flaky
wip/robust-2
wip/gate-fix
wip/menu-blur
wip/import-calternaljs
wip/tray-fix
job/import-calternaljs
wip/index-order
wip/audit-fixes
wip/search-chevrons
research/mail
wip/phone-chrome
wip/dedup-break
wip/csp
wip/ui-audit
wip/select-toast
wip/perf
wip/flat-layout
wip/fonts
wip/event-tint
wip/sync-converge
wip/data-split
wip/glass-audit
wip/robustness
wip/sync-chaos
wip/search-thumbs
wip/fuzz
wip/menu-icons
wip/search-pill
wip/sync-changing
wip/heading-links
wip/date-formats
wip/a11y
wip/break-editor
wip/e2e-fix
wip/settings-sections
wip/sync-root-guard
wip/search-palette
wip/share-edit
job/toasts
wip/toasts
wip/cont-analytics
wip/authz-review
wip/popovers
wip/overlay-glass
wip/change-feed
wip/editor-modes
wip/composer-align
wip/cont-agenda
wip/agenda-merge
job/agent-conventions
wip/agent-conventions
wip/backend-misc
job/route-audit
wip/route-audit
wip/ui-batch
wip/heif-hardening
wip/grid-resize
wip/ask-page
wip/webmcp
job/deeplink-audit
wip/deeplinks
wip/shortcuts
wip/cont-tz-days
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/calternal-v0#1440
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem (data corruption, in production
d395b6e25)Copy link to a heading corrupts the saved Note body about 1–2 s later. Reproduced twice by bug bash round 3 (#1396) on fresh API-created Notes, Chromium, production build.
Note body: a
Linksheading; a paragraph with a Markdown link and a bare URL; a next paragraph with an autolink and a[[wikilink]].Steps: open the Note, click Copy link to Links once, wait 1–2 s, do not edit.
Expected: only the heading gains its stable
^block-id; nothing else changes.Actual: body intact at 500 ms; by 1.5–2 s the saved body merged the next paragraph into the first and duplicated the autolink and wikilink content (8 autolink references and 4 wikilink references, from one each). The screenshot shows
https://example.org/barehttps://example.org/autolink,Bash3 wiki target./example.org/autolink, repeated runs. Evidence: worktree bash3-notes,artifacts/bash3-notes/copy-link-before-same-1440-light.png,copy-stage-after-pointer-1440.png; comments on #1371.This likely explains the owner's report of "multiple link icons" in Notes and may relate to #1384 (deleted link blocks coming back).
Expected fix
^idto the heading; (2) real-browser: the exact steps above, then read the API body at 0.5, 2, 5 s and after reload; it must equal the source plus the anchor only. Also run it for: Copy link on a paragraph, a list item and a Task; two links in one paragraph; a link at paragraph end.Gates: bun run check, bun run test (apps/web and packages/editor), cargo gates for any crate touched. Quote verbatim.
Started #1440 on
job/linkdup-1440, based395b6e25da20d8c67b8b9fc1a593b813939c8a7. Tracing the Block ID transaction, live editor link processing, and the Markdown save path. Will add lossless round-trip and real-browser API persistence regressions. No user-content repair will be applied.Production Chromium probe reproduced data loss with the screenshot-shaped single-line-break link body. The Block ID transaction retained the complete link paragraph. A later unmarked ReplaceStep removed its first character (
Markdown linkbecamearkdown link), and the API persisted the change at 2 s and 5 s. Two separate paragraphs did not reproduce in the first probe. Tracing the caller of the later replacement; Markdown round-trip tests currently pass for both shapes.Root cause: the read-only inline-link plugin dispatched metadata transactions synchronously from focusin/focusout. Copy link replaces the focused heading action during ProseMirror updateState. Its focus event re-entered updateState while the DOM was incomplete; the DOM observer subsequently emitted an unmarked ReplaceStep and the live room saved it. The trace records the DOM-observer caller, not an autolink/input-rule or Markdown-converter caller. The fix queues/coalesces focus presentation updates in a microtask before paint and skips unchanged state. A regression that emits the focus pair inside view.update fails with the old handlers and passes with the fix. Markdown round-trip suite: 130 passed; complete editor suite: 447 passed. Production browser cases and final gates follow.
The real-browser paragraph case found a second byte-preservation defect: assigning the Block ID canonicalized an existing
<https://example.org/autolink>to[https://example.org/autolink](<https://example.org/autolink>). The heading cases now preserve their bodies; this paragraph case changes syntax beyond the anchor. Extending the existing source patch inpackages/editor/src/markdown.tsandcrates/calternal-collab/src/markdown.rs: a verified first-anchor-only delta appends the suffix to the raw source span instead of serializing unchanged prose. Canonical parser/writer behavior is unchanged. New tests cover paragraph, list and Task prefixes, source separators and LF/CRLF; the focused TypeScript suite now passes 135 tests. Rust compilation and crate gates are running.Anchor-only source preservation is committed as
c9b2e7070; the reentrant focus fix is072e64887. The new Rust source tests pass for paragraphs, lists, Tasks, LF/CRLF and sole autolinks. Final editor gates:svelte-check found 0 errors and 0 warnings;Test Files 22 passed (22),Tests 453 passed (453). Final web check:svelte-check found 0 errors and 4 warnings in 2 files;perf-lint: PASS; 0 violations; 22544 scoped exceptions. Full Rust and web suites are still running. The final real-browser probe will use the patched local server. No dependency, UI style or migration changes.The full
cargo test -p calternal-collab -- --test-threads=4gate passed, including the cross-language contract, persistence race and untouched-source-byte tests.cargo clippy -p calternal-collab --all-targets -- -D warningspassed. No existing assertion, timeout or fixture was changed.Verbatim test summaries:
Attached 12 actual-size macOS-emulated Chromium captures of the existing heading Copy link action: pointer and keyboard states at 390, 820 and 1440 px, in Mono and Noir. The real Note is loaded. Server and web build identities match; there is no Update available toast.
Download all screenshots
The keyboard captures expose the existing full-editor focus outline. This cosmetic gap is filed as #1448, with the active element and input-modality trace. It is not hidden in the evidence. No UI style or global focus-modality change is part of #1440.
The live sole-autolink regression found a third chain defect.
insertBlockAnchor()used ProseMirrorinsertText, which inherits marks at the insertion point. When the last text run had a Link mark, the new anchor became part of its label and saved as[https://example.org/autolink \^id](<https://example.org/autolink>). This was an actual saved-body mismatch, not a debounce delay.The insertion now uses an explicit schema text node with an empty mark set. New tests call the real
ensureAnchorAt()transaction after a sole autolink, a paragraph-ending Markdown link and a bold heading. They check the parsed document, the unmarked suffix and exact source-aware bytes. The Task browser case passes all four reads after targeting plain text; the test must avoid the deliberate native menu on link text. Re-running web gates and rebuilding production assets for the new anchor fix.Head:
52e8dfbee392e6bc9a0cdb4c4c8ebe4eca2a7b7c. Branch:job/linkdup-1440. Base:d395b6e25da20d8c67b8b9fc1a593b813939c8a7.Fixed the Copy link content corruption in #1440.
Root cause: replacing the focused heading Copy link widget fired focus events during ProseMirror updateState. The Notes link presentation plugin dispatched another transaction inside that DOM update. The DOM observer then read the half-built DOM as an unmarked ReplaceStep. Live save persisted that unintended edit. The original anchor transaction kept the other blocks intact. The local reproduction lost the first letter of a Markdown link at the observer step. The focused unit test fails with the old synchronous handlers and passes with the deferred handlers.
The fix coalesces focus updates in a microtask, after the active DOM update and before paint. It skips unchanged presentation state and ignores destroyed views. The browser probe found a second storage-only change: an anchor on a paragraph canonicalized its autolink spelling. The client and server source patchers now append a first anchor to the original source span. Their existing full-document projection check still verifies the edit. Ordinary text edits use the existing path. The sole-autolink browser case found another defect: ProseMirror insertText inherited the final Link mark and made the anchor part of its label. Anchor insertion now creates an explicitly unmarked text node. The actual transaction is tested after a sole autolink, a paragraph-ending link and a bold heading.
Files:
Reuse: existing Notes inline-link plugin, Block ID grammar, source spans, projection checks, editor fixtures and Notes e2e harness. No new visible control or local style. Existing heading Copy link and Block menu actions remain in use.
Expected cost: one coalesced microtask per focus burst, with no IO. Anchor insertion creates one unmarked text node. The existing ID checks scan the document. First-anchor patching adds linear work in the changed block. The rare sole-autolink server case uses two bounded parses of that block. The existing full-source validation remains. No per-row observer, layout read, new query or lock. This is a correctness fix, not a performance job; no perf VM measurement under the verification policy.
UX gaps closed: Copy link preserves unchanged prose, raw link spelling, paragraph boundaries and existing Block IDs. Idle save and reload must retain the same bytes.
Known gaps / UX gaps left: a repeated adjacent link run is a review hint. A User may repeat links on purpose. The fixture scan is report-only; it cannot recover original user text or prove every corruption pattern. No production User content was read or rewritten. The existing editor outline after a block shortcut is filed as #1448 and shown in the captures. No style or global modality change was included. The one cold Note load failure is filed as #1451; the later fresh-case and complete reruns pass. Real Apple-client interop, the full Notes e2e suite and combined adversarial matrices remain for the merge round.
Decisions: use a microtask to avoid reentrant DOM updates without waiting for motion. Preserve source spelling for first-anchor edits and retain the existing projection guard. The 500 ms API read allows the original bytes while the existing 750 ms save debounce is pending; later reads require the anchor-only body. Do not infer or apply a repair from repeated links.
For the merge round:
cd apps/web && bun run test:e2e:notesagainst the combined server/web build must prove the existing Notes workflows still pass. Run the round's combined adversarial matrices and Mac interop as required by its contract. No API endpoint or permission was added.Browser verification:
NOTES_E2E_COPY_LINK_1440_ONLY=1 CALTERNAL_E2E_ASSET_OVERRIDE=1 CALTERNAL_E2E_MAC=1 bun e2e/notes.mjs --screenshots ../../artifacts/copy-link-1440with the patched local server and no case filter. All nine cases passed: two heading boundaries, paragraph, list item, Task, two links, heading over an ending link, paragraph ending in a link, and sole autolink. Each case checks 500 ms, 2 s, 5 s and reload. The 500 ms result is the original source while debounce is pending; every later result is the exact source plus its anchor.Verbatim final browser output:
Gate output (verbatim summaries; full logs in the evidence archive):
cargo fmt --check— exit 0No output.
cargo clippy -p calternal-collab --all-targets -- -D warnings— exit 0cargo test -p calternal-collab -- --test-threads=4— exit 0cargo clippy -p calternal-server --all-targets -- -D warnings— exit 0cargo test -p calternal-server -- --test-threads=4— exit 0cd apps/web && bun run check— exit 0cd apps/web && bun run test --maxWorkers=1— exit 0cd packages/editor && bun run check— exit 0cd packages/editor && bun run test— exit 0Earlier verification findings: two 5-second web-test timeouts passed unchanged in focused and full reruns. One Chromium closure interrupted fixture creation; the final complete browser run passed. Task test clicks were corrected to plain text; the app deliberately keeps the native menu on link text. Existing test assertions, timeout values and fixtures were not changed. Three new transaction regression cases were added.
Cleanup:
cargo cleanremoved 19.7 GiB. Ignored web build/output directories were removed after verification. No dependencies, lockfiles or migrations changed. No push or deploy. The required one-time origin/dev fetch/merge was already up to date. Screenshots are uncommitted review artifacts.Download final evidence: all gate logs, successful browser output, load-failure trace and 12 current actual-size screenshots.
Started hotfix35 on job/hotfix35. Base:
d395b6e25. Will merge exactly52e8dfbee3, then run the requested gates, real-server Notes regression, 20-Note byte checks, two-tab check and focused adversarial round. No push or deploy. The exact-merge instruction takes precedence over the generic origin/dev merge instruction. Browser plugin is not available; use the repository Playwright harness.Exact hotfix merge completed without conflicts. Head:
8ab88bb47f. Parents:d395b6e25dand52e8dfbee3. No other branch merged. Root cause from the fix: a focus callback dispatched a presentation transaction during ProseMirror DOM replacement, which re-entered a half-built view; the DOM observer then saved duplicated link text. The fix coalesces focus updates in a microtask. The branch also preserves raw Markdown bytes on first Block ID assignment and inserts anchor text without inherited marks. cargo fmt --check exited 0 (no output). Dependencies installed from frozen lockfiles; no lockfile changes. Remaining checks are running.Verification checkpoint. Head remains
8ab88bb47f; working tree clean. No extra merge.cargo fmt --check: exit 0, no output.cargo clippy -p calternal-collab -p calternal-plugin-notes --all-targets -- -D warnings: exit 0. Final output verbatim:cd apps/web && bun run check: exit 0. Final output verbatim:Full web tests and Rust test-binary compilation continue. Frozen lockfiles installed without changes. Actual preset target is /home/kayg/build/targets/hotfix35; /mnt/hdd/targets/jobs/hotfix35 aliases it so the prescribed build path works without overriding CARGO_TARGET_DIR.
Verification continues at committed head
8ab88bb47f. Working tree clean; no additional source changes or merges.cd apps/web && bun run test --maxWorkers=2: exit 0. Output verbatim:cd packages/editor && bun run test --maxWorkers=2: exit 0. Output verbatim:cd apps/web && bun run build: exit 0. The full output is in the attached web-gates-verbatim.tar.gz, with web check, web tests, editor tests, formatting and clippy logs. Rust test-binary compilation now reached calternal-collab. Release build and real-server checks follow.Head remains
8ab88bb47f.cargo test -p calternal-collabexited 0. Test summary output verbatim:The full log will be attached in the final evidence archive. Notes Plugin test compilation is running; release server and real-server checks follow.
All requested code gates completed at
8ab88bb47f.cargo test -p calternal-plugin-notes: exit 0. Output verbatim:The four ignored tests are existing opt-in migration/Voice performance profiles and a Daily Log E2E fixture generator. No expectations or ignore markers changed. Release server is compiling. Next: Copy link regression/screenshots, full Notes e2e, 20-Note/three-anchor byte check including two tabs, and one 30-minute Notes/collab adversarial sweep.
Real-server #1440 regression passed at
8ab88bb47f. Release build output verbatim:Command: NOTES_E2E_COPY_LINK_1440_ONLY=1 CALTERNAL_SERVER_BIN=/mnt/hdd/targets/jobs/hotfix35/release/calternal-server bun e2e/notes.mjs --screenshots ../../artifacts/hotfix35/screenshots
All nine cases passed API reads at 500 ms, 2 s, 5 s and after reload. Only original bytes pending debounce were allowed at 500 ms; later bytes were exact source plus anchors. Repair output verbatim:
12 screenshots are attached: 390, 820 and 1440 px; Mono and Noir; pointer and keyboard states; Mac platform emulation; device scale 1. The keyboard editor outline is the existing cosmetic finding #1448. Pointer captures have no outline. No focus or UI style change was added to this exact hotfix merge.
The existing full Notes e2e suite is running, followed by the 20-Note/three-anchor exact-byte check (including two tabs) and the 30-minute Notes/collab adversarial sweep.
BLOCKING #1440 data-safety result at
8ab88bb47f. The nine single-anchor browser regression cases pass, but the requested three-anchor check fails. Note 1 passed with a second tab open. Note 2, one tab, changed a Markdown destination spelling after Copy link on its heading, paragraph and list item before one live save:The strict API byte diff failed after the five-second wait. This is a non-anchor source rewrite; the required data-safety criterion is not met. Current verdict: NOT READY. The original probe log is retained as spot.log. A collecting probe will check all 20 Notes and reloads without weakening the byte expectation. The one Notes/collab adversarial round is running.
Investigation point, not yet a proved root cause: patch_source_lines and patch_source_blocks preserve a first anchor only when one line/block is changed; several anchors in the same save can use a canonical replacement for a larger changed range. No further source change or merge has been made because this job authorizes exactly the pinned hotfix merge.
The full existing Notes e2e suite also exited 1 at notes.mjs:622, waiting 20 s for the Files/Recent Markdown editor to become contenteditable while identity hydration was deliberately paused (#606). This is retained in notes-e2e.log. No test expectation was changed.
NOT READY: Copy link on several blocks still changes non-anchor Note source bytes after save and reload. The existing Notes e2e suite also fails.
Head:
8ab88bb47f3e55809b331d3ce385eae9743028a5onjob/hotfix35. Exact no-ff merge parents:d395b6e25da20d8c67b8b9fc1a593b813939c8a7and52e8dfbee392e6bc9a0cdb4c4c8ebe4eca2a7b7c. No conflicts. No other merge, source edit, push or deploy. Working tree is clean.What was built: the pinned hotfix defers/coalesces focus presentation updates, inserts unmarked Block IDs, and preserves raw Markdown on first-anchor edits. Built the production web app and this branch's own release server with four cargo jobs. Server SHA-256:
cb31454745f016e0a35abe99142c130381682e1d0bed1d8b5bcd08b0818bb984.Files in the merge:
Gate output (verbatim result lines; full unedited command output is in the attached gate archives):
cargo fmt --check: exit 0; no output.cargo clippy -p calternal-collab -p calternal-plugin-notes --all-targets -- -D warnings: exit 0.cargo test -p calternal-collab: exit 0.cargo test -p calternal-plugin-notes: exit 0.cd apps/web && bun run check: exit 0.cd apps/web && bun run test --maxWorkers=2: exit 0.cd packages/editor && bun run test --maxWorkers=2: exit 0.Build output, verbatim:
Runtime verification:
NOTES_E2E_COPY_LINK_1440_ONLY=1 bun e2e/notes.mjs: exit 0. All nine incoming cases pass at 2 s, 5 s and reload; the 500 ms checks accept the original bytes while the save debounce is pending. Repair report scanned ten test Notes, found one deliberately damaged link-run fixture, and rewrote nothing. CSP reports: zero.bun run test:e2e:notes: exit 1. At notes.mjs:622 the #606 Files/Recent Markdown case waits 20 s for a cached editable editor while auth/me is held. A focused run reproduces it: the existing Note is shown as missing, with no editor surface. Filed #1456. The cause is not established. Capture-harness MutationObserver errors are retained in the diagnostic log. No expectation was changed.Example non-anchor change from the first strict run:
The collecting probe reproduced durable normalization after reload. No duplicated prose was observed in these probes, but the requested source-plus-anchors byte invariant fails. Investigation point only: Rust source patching limits anchor-preserving replacement to a single changed line/block; coalesced anchor changes can reach a larger canonical replacement. The cause still needs a focused regression and fix.
EDITOR_ONLY=1 ADVERSARIAL_SERVER_BIN=<branch release> ADVERSARIAL_SKIP_WEB_BUILD=1 timeout -k 30s 30m bash tests/adversarial/run.sh: one round, exit 1. Native sandbox checks and the editor/collab scenarios completed, including untouched bytes/mtime, mixed Markdown, 10,002 blocks, 1 MB paragraph, concurrent writes, offline reconciliation, delete/edit, external body write and server restart. The sole editor finding is the known #1413 raw-text anchor assertion, with the same seed; loopback image proxy requests returned 400. No assertions were changed. Remaining checks after that probe assertion are not proved by this run.Visual evidence: twelve actual-size macOS-emulated captures, at 390, 820 and 1440 px, light/dark, pointer/keyboard, after Copy link and reload. All are attached for orchestrator review. The keyboard capture retains the known focus outline #1448; no local restyling was added. The #1456 failure capture is also attached.
UX gaps closed: the incoming single-anchor regression covers the original link duplication case, marked-anchor insertion and standalone autolink spelling. UX gaps left: multi-anchor source preservation (#1440), cached Files editor (#1456), keyboard focus outline (#1448), and the #1413 adversarial probe mismatch. Four pre-existing opt-in Notes Rust tests remain ignored. No new test expectations were relaxed.
Decisions: no product design decisions. Kept the exact pinned merge instead of the generic final origin/dev merge, because the job explicitly says merge that commit and nothing else. Used per-crate clippy under the shared-host rule. The preset CARGO_TARGET_DIR was /home/kayg/build/targets/hotfix35; retained it and provided /mnt/hdd/targets/jobs/hotfix35 as a symlink to that same target. Installed frozen Bun dependencies for the test harness. Tests used fixture data only. No benchmark was run: this is a hotfix verification job, not a performance issue, and the current policy reserves perf runs for performance issues.
Cleanup: cargo clean and removal of apps/web/build and apps/web/.sveltekit. Review artifacts are ignored and attached, not committed. Changed module and function comments were re-read. No secrets were displayed.
Evidence:
NOT READY: durable non-anchor source changes after multi-block Copy link; full Notes e2e fails.
Cleanup path correction: the Svelte build directory is
apps/web/.svelte-kit(with a hyphen), not.sveltekit. It andapps/web/buildare removed. Cargo clean output, verbatim:Working tree remains clean. Final verdict remains NOT READY.
Continue #1440 on job/linkdup-1440, base/head
52e8dfbee. First compare #1456 on pinnedd395b6e25and8ab88bb47with production web builds and release servers, then fix multi-anchor byte preservation. No push or deploy.Multi-anchor regression reproduced in packages/editor: the new twenty-Note fixture test failed for LF and CRLF with link becoming link and the same change for the list item. Headings have block spans but no inline source spans; the source visitor rejected the heading anchor and reserialized the whole changed range. Reusing the existing block spans for anchor-only writes makes the focused Markdown test pass: Test Files 1 passed (1); Tests 138 passed (138). Rust also limits anchor preservation to a single changed line/block; added batched raw-line/block patching with complete projection validation. Rust verification and pinned #1456 comparison are in progress.
Multi-anchor source patches now pass all nine focused Rust source-patching tests, including twenty Notes across LF, CRLF and CR, adjacent heading/paragraph source spans, several anchors within one list, and own-line table/quote anchors. Result: test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 130 filtered out; finished in 0.58s. The source patch keeps the original ending pending while it inserts an own-line anchor; otherwise an added anchor line bypassed the raw-byte path. The extra adjacent fixture initially assigned an anchor inside a multi-line paragraph; fixed the new fixture to put IDs on real block ends. No existing test assertion was changed. Client gates: Test Files 22 passed (22), Tests 462 passed (462). Web gates: perf-lint: PASS; 0 violations; 22544 scoped exceptions; svelte-check found 0 errors and 4 warnings in 2 files; Test Files 297 passed (297), Tests 2120 passed (2120). Full Rust gates and both remaining real-server runs are in progress.
Confirmed pre-existing on both pinned revisions. Each revision used its own production web build and release server, with CALTERNAL_E2E_ASSET_OVERRIDE=1 and NOTES_E2E_606_ONLY=1.
d395b6e25: exit 1 at notes.mjs:620.8ab88bb47: exit 1 at notes.mjs:622.Both fail with the exact same output:
The assertion waits for the existing cached editor while /auth/me is held. The baseline contains no #1440 hotfix changes, so #1456 predates this branch. No expectation or focus code was changed. Leaving #1456 open per the job instruction. The pinned server checksums and full logs will be attached to #1440 with the final report.
Real-server twenty-Note check passed on the updated release server and production web build. Three Copy links each (heading, paragraph, list item); compared persisted API bytes at 5 s and after reload, plus the first Note with a peer editor tab. All sixty Copy links changed only Block ID suffixes.
Verbatim output:
The full calternal-collab gate passed as well. Notes Rust gate and the nine incoming cases with twelve macOS-emulated screenshots are in progress. No push, deploy or data repair.
Final comment/source review found an extra first-anchor edge: a setext heading containing only https://example.org/heading uses a different canonical link spelling once it owns an anchor. A new regression failed on LF, CRLF and CR: the fallback converted that heading to https://example.org/heading and added angle brackets to the neighbouring unwrapped link. Fixed the semantic autolink fallback to reuse the heading text-line insertion point before the original underline. Focused result: Test Files 1 passed (1); Tests 148 passed (148). No existing assertion was changed. Final frontend gates and real-server byte checks are being rerun after this change; Rust gates already passed and Rust code is unchanged.
#1440 linkdup2 final report
Ready for merge. Branch
job/linkdup-1440, initial head52e8dfbee, final headaf202e1514955ddf0f8b4b3d2503c780d807ed84. No push, deploy or issue closure. Fetched origin once and mergedorigin/devbefore final gates:Already up to date.(d395b6e25).Built and files
crates/calternal-collab/src/markdown.rs: batch anchor saves splice every changed source line or block. The patch preserves raw Markdown, whitespace and LF, CRLF or CR endings. It validates the complete canonical projection before accepting the patch. Container anchors retain their own line; setext anchors stay before the underline.packages/editor/src/markdown.ts: source-aware anchor serialization uses parsed block sources for headings as well as inline text spans. A coalesced heading and paragraph save keeps authored URL spelling. Sole-autolink setext headings use the same insertion boundary.packages/editor/src/markdown.test.ts: twenty Note shapes, all three line endings, adjacent heading/paragraph blocks, list items, table and quote containers, and sole-autolink setext regressions. Rust tests cover the same twenty shapes: links, bare URLs, autolinks, wikilinks, Tasks, tables, code and Unicode.apps/web/e2e/notes.mjs: repeatable twenty-Note / sixty-Copy-link byte probe, plus a sole-autolink setext real-server case. Existing test expectations stay intact.#1456 comparison
Both pinned revisions used their own production web build and release server.
NOTES_E2E_606_ONLY=1fails identically on baselined395b6e25and hotfix8ab88bb47, with the cached editable Markdown assertion timing out while/auth/meis pending. This is pre-existing. Results were posted on #1456. No deferred focus code was changed; #1456 stays open as instructed.Verbatim common failure:
Real-server verification
Focused commands (set
CALTERNAL_SERVER_BINto this branch's release server,PLAYWRIGHT_MODULEto the installed Playwright module, andCALTERNAL_E2E_ASSET_OVERRIDE=1):The required hotfix35 fixture shapes all pass against the fixed release server and production web build: 20 Notes × 3 Copy links. Every Note was compared at five seconds and after reload. A peer tab was also checked on the first Note.
The complete focused Copy link run passes all ten cases (including the new sole-autolink setext case), with exit 0 and no CSP reports. All ten have anchor-only bytes at two seconds, five seconds and reload. The one suspect repair fixture is deliberately damaged test data; the repair report performs no writes.
The focused sole-autolink setext case also passes at 500 ms, 2 s, 5 s and reload. The 500 ms check allows unchanged source during the existing debounce; all later checks require exactly the anchor insertion. No link angle brackets are added. The fixture setup initially produced two h1 elements; the new fixture was corrected to use the normal Note title and a setext h2. Product code and existing test expectations were not changed for that harness failure.
Production build identity is
24639b7ba50c8e9e6e893c3b9f13bfb10939df80; the later commits contain comments and e2e test code only. The release server was rebuilt from the current collab source after the pinned-build comparison; native cache reuse across the detached comparison worktrees was explicitly invalidated. Server SHA-256 and build logs are included in the evidence archive.Gates (verbatim output)
cargo fmt --check: exit 0; no output.cargo clippy -p calternal-collab --all-targets -- -D warnings:cargo test -p calternal-collab -- --test-threads=4:cargo test -p calternal-plugin-notes -- --test-threads=4:cd apps/web && bun run check:cd apps/web && bun run test --maxWorkers=2:cd packages/editor && bun run test --maxWorkers=2:No dependencies or lockfiles changed. No migrations changed. Module and non-obvious function comments were read again before this report.
UX gaps closed
Copy link can assign several block identities in one save without rewriting unrelated Note text. Setext headings, container blocks and sole autolinks keep their source bytes. The existing heading Copy link button and block context menu are reused; no visible control or style was added. Reload and the peer tab preserve the same source.
Known gaps / UX gaps left
/auth/meon both pinned builds. Pre-existing; left open per the job instruction.Decisions and cost
No new product design decision. DESIGN §§9 and 33 remain the source of the canonical Markdown and identity grammar. Anchor-only persistence now preserves all other source bytes, as the job requires. The forward patch costs O(Note bytes + block count) and performs no extra filesystem or network operation. The runtime evidence covers twenty fixture Notes and sixty Copy links. No perf VM benchmark was run: the current verification policy reserves perf measurements for performance issues.
For the merge round
cd apps/web && bun e2e/notes.mjs: run the complete Notes e2e suite, including routes unrelated to this change.bash tests/adversarial/run.sh: run the merge round's full adversarial matrices.cargo clippy --all-targets -- -D warnings && cargo test -- --test-threads=4: run the combined workspace gates. This job ran the focused real-server byte regression and the requested per-crate gates; it did not run full matrices or deploy.Evidence
Twelve actual-size production screenshots cover macOS-emulated rendering at 390, 820 and 1440 px, light and dark, after pointer and keyboard Copy link. The Note data is loaded and no update toast is present. Screenshots are attached for Claude's visual review; this job makes no aesthetic approval claim.
Cleanup
cargo cleancompleted:Production web output,
.svelte-kit, test temporary files and both isolated comparison worktrees were removed. The job worktree is clean. Reports, logs and screenshots remain in ignoredartifacts/.Full gate, build, comparison and runtime logs: gate-runtime-evidence.tar.gz.
Deployed to calternal.cloud as a hotfix (
af202e151), 2026-10-08 16:24 IST. Backup: /srv/calternal/backup-pre-hotfix1440-20261008-1254. Production ready after 39 s; served build matches. Copy link on any number of blocks now changes only the anchors (20/20 Notes byte-identical). Owner can verify: Copy link on a heading in a Note with links, wait, reload — nothing else changes. Notes damaged before this deploy can be restored from Versions.