INCIDENT: Notes change events loop on production (~2,500/min), Log entry writes time out #1062
Closed
opened 2026-10-04 15:22:55 +00:00 by kayg
·
12 comments
No Branch/Tag specified
dev
wip/restyle-mailmoney
wip/restyle-files
wip/previewcard-1098
wip/palette2-1123
wip/palette-1093
wip/onboard2-1141
wip/onboard-1141.aborted-early
wip/onboard-1141
wip/nlpchip-1127
wip/morph-1104
wip/merge-round-7c5
wip/merge-round-7c4
wip/merge-round-7c3
wip/merge-round-7c2
wip/merge-round-7c
wip/mchrome-1084
wip/mailghost2-1094
wip/mailghost-1094
wip/kbpreview2-1118
wip/kbpreview-1118
wip/kanban-1092
wip/importhang-1121
wip/hiderev-1153
wip/hide4-1153
wip/hide3-1153
wip/hide2-1153
wip/hide-1153
wip/editreg-1132
wip/editorrail3-1113
wip/editorrail2-1113
wip/editorrail-1113
wip/e2e-b2-1071
wip/e2e-b-1071
wip/draw4-1101
wip/draw3-1101
wip/draw2-1101
wip/draw-1101
wip/directory-1199-r
wip/directory-1199
wip/delete-1119
job/merge30
wip/collabrev-1197
wip/collabloss2-1197
wip/collabloss-1197
wip/cards2-1083
wip/cards-1083
wip/canvas-visual
wip/canvasvis2-976
wip/calhdr-1112
wip/calcards-1115
wip/browserfix
wip/blocks-1125
wip/allday-1107
wip/agenda-decks
wip/agenda-1086
wip/adv7c-1105
wip/txentry-1198
wip/trayicons2-1095
wip/trayicons-1095
wip/tagperf-1186
wip/sidebar3-1094
wip/rev2-webperf
wip/rev2-money-ident
job/restyle-notes
job/tagperf-1186
job/adv-1202
job/notifloop-1194
job/restyle-mailmoney
job/onboard-1141
wip/restyle-notes
job/segmented-1200
job/hide-1153
wip/notifloop-1194
job/txentry-1198
job/collabloss-1197
job/perf-1124
job/perf2-1124
job/tocrail-1191
job/restyle-settings
wip/restyle-settings
wip/segmented-1200
job/restyle-files
job/tagdnd-1187
job/cards-1179
wip/cards2-1179
wip/cards-1179
wip/tocrail-1191
wip/tagdnd-1187
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/restyle-search
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/directory-1199
job/proflog-1204
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
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
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/calcards-1115
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
job/importhang-1121
job/cards-1083
job/palette-1093
job/mchrome-1084
job/e2e-a-1071
job/canvas-visual
job/previewcard-1098
job/allday-1107
wip/e2e-a2-1071
wip/e2e-a-1071
job/e2e-b-1071
job/adv7c-1105
job/kanban-1092
job/agenda-1086
job/merge-round-7c
job/morph-1104
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
job/browserfix
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/agenda-decks
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-money-ident
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/rev2-webperf
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/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
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
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
wip/modes-424
job/recog-417
wip/recog-417
wip/bounce-425
wip/ab-384-luna
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
Notifications
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#1062
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?
Production incident (2026-10-04,
c39ffe5d9, ongoing)Since 15:26:54 CEST the server publishes a Files change event for every Note (~688 distinct Notes/ paths, each ~35× per 10 min, ≈2,500 events/min). The owner's Log entry "Send all" requests time out after the 20 s client timeout.
Evidence (read-only):
files_events: 23,871 rows in 10 min; 23,801 underNotes/, 688 distinct paths, uniform ~35 each.calternal_webdav::profilelinesstage="change_event_commit"andstage="sse_wakeup_signal"(crates/plugins/files/src/lib.rspublish_inner, called viapublish_home_changefrombridge_note_changes(Notes plugin events) andwatch_home_changesin crates/calternal-server/src/wire.rs). No other stages, so these are not real uploads.Wanted (blocking, hotfix)
changed(); a client-driven refetch loop through SSE; CalDAV REPORT handling; a periodic projection refresh (#643/#647 refetch-without-Markdown-change).Starting #1062 on branch job/loop-1062, base
c39ffe5d9(production). Production stays read-only. Tracing unchanged Note indexing and shared event-bus lag recovery; will reproduce with 700 Notes, a browser SSE subscriber, and CalDAV polling before reporting a hotfix.Owner closed calternal on every device (app + all browser tabs) at ~17:24 CEST. Change-event rate afterwards per 30 s: 1205, 1225, 1175, 1170, 1209, 1155, so unchanged. The loop is not driven by an open web/PWA client. Remaining candidates: a server-side periodic pass, or a background protocol client that keeps running when the app is closed (the iPhone/Mac Calendar or Reminders CalDAV account "16pm caldav", Files/WebDAV clients, the Notes IMAP edge). Start with server-side timers and CalDAV REPORT/PROPFIND handling.
Root cause confirmed in code at production base
c39ffe5d9: Notesreconcile_usercallstasks_store::reconcile_user, which callsstore::indexfor every Note, thenstore::reconcile_user, which indexes every Note again.index_note_projectionunconditionally emitsnotes/indexed, even thoughimap::record_changealready detects an unchanged content hash. For 688 Notes one pass emits at least 1,376 events into the 1,024-slot shared bus. The Notes subscriber is busy running that same reconciliation; its next receive isLagged, which runs full reconciliation again. Each pass reads every Note without modifying Markdown andbridge_note_changesturns everyindexednotification into a durablefiles_eventsrow. This explains the uniform per-path rate, read-only inotify evidence, persistence across restart, and writer contention without a looping durable job or a client.Fix in progress: reuse the existing transactional IMAP content-hash comparison to emit
indexedonly for a changed source, preserve dependency projection rebuilds, and restrict the Notes-to-Files bridge to durable file mutation kinds. A projection notification must not become a second file mutation publication. Local 700-Note reproduction and steady-state probe follow.More evidence (17:28–17:31 CEST):
sson production shows no inbound connection to :8080 at all while the loop runs. Outbound: two :443 peers (provider sync or calendar subscription fetches). The loop is server-internal.calternal_plugin_notes::tasks_store: Skipped a Task projection with an empty title (#623)every ~10–13 s, in step with the per-pass Note reads. The tasks projection is re-indexing on every pass. Look for a periodic pass, or a self-triggering Notes event → bridge → watcher/adopt → re-index → event cycle that persists across restarts (for example a persisted cursor or queue that never advances).Local production-base reproduction completed (
c39ffe5d9, 700 Notes: 350 Daily notes with 24 timed Log bullets each, 350 ordinary Notes; 2,414,890 Markdown bytes). Real Chromium production app had an open Files SSE stream.Minute samples: current web 976 Files events (975.92/min); current web with CalDAV area REPORT polling 1,621 (1,598.90/min); historical 2026-10-03 web app source
22f13995awith the same installed package dependencies 1,882 (1,881.97/min); idle after one Log write 1,364 (1,363.98/min). A single Log POST eventually returned 201 after 74,066.36 ms, beyond the production client's 20 s timeout. Its request plus the following 5 s had 2,170 Files events. This is a server-side feedback loop; neither a stale client nor DAV is required to drive it.The Notes hash fix is committed as
8ebca1b755. The 700-Note focused regression and Notes clippy passed; full Notes tests passed:test result: ok. 193 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 135.84splus Apple replaytest result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s. Fetched origin and merged origin/dev once:Already up to date.Files and server gates are running, followed by the same hotfix idle probe. No production changes.READY FOR HOTFIX: yes, for the event-loop repair. Cold-start latency remains a SLOW limitation.
Branch: job/loop-1062. Base:
c39ffe5d9. Head:c358622337. Six atomic commits; no push, merge into dev, deploy or production changes.Built: stop the Notes reconciliation feedback loop.
reconcile_userindexes every Note through Task and Notes passes. Unconditionalnotes/indexedpublication produced more than 1,024 events for 688 Notes, overflowed its own subscriber, and triggered full reconciliation again. The Files bridge converted projection notifications into durable file events. No client is needed to sustain this loop.The patch reuses the existing transactional IMAP hash/path/deletion comparison. Unchanged sources do not emit indexed/removed notices; dependency projections still rebuild. The Notes-to-Files bridge accepts durable file mutation kinds only. The filesystem watcher publishes after Notes adoption, so Calendar reads committed projections. Added a 700-Note bus-capacity/read/duplicate-write/removal regression and a bridge-kind regression. Existing test expectations are unchanged.
Files: crates/plugins/notes/src/{imap.rs,store.rs,lib.rs}; crates/calternal-server/src/wire.rs; tests/adversarial/notes_idle.mjs; bench/notes-idle.mjs.
Evidence: real local server, production browser build with macOS platform emulation, open Files SSE, 700 Notes (350 Daily notes with 24 timed Log bullets; 350 ordinary Notes), CalDAV REPORT polling every 15 s, and the fully historical 2026-10-03 app/UI/editor build
22f13995a. Production-base reproduction had 976–1,882 Files events per minute and a single Log POST took 74,066.36 ms. Baseline fixture also ran legitimate upgrade backfills; treat rates as reproduction evidence, not a calibrated throughput comparison. The patched full-minute probe had zero Files events and zero change_event_commit stages in all four phases, unchanged Markdown bytes and timestamps, and a Log POST returned 201 in 1,461.78 ms with four events. On the final watcher-ordering binary, the 700-Note run again had zero events and unchanged Markdown in all three pre-write phases (15 s each), but the Log POST hit TimeoutError after 20,221.56 ms; fresh initialization took 264,717.34 ms. This cold-start timing result is not hidden or classified as a pass. A final focused 24-Note run passed: all three idle phases were zero, Log returned 201 in 4,879.89 ms with four events, Send all returned 201 in 3,970.72 ms with three events, and its entry appeared in Calendar. The fully historical client was used in both 700-Note patched runs. Artifacts: hotfix-idle.json/log, final-idle.log, final-focused.json/log and the full gate logs under artifacts/loop-1062/.Performance: local busy host, load average 21.21/22.81/20.83 in the full-minute run. CPU samples were 109.37%, 68.9%, 30.6%, 32.35%; RSS 581,554,176 through 719,163,392 bytes while initial background indexing settled. No matching idle-event metric exists in docs/perf/baseline.json. These are incident measurements, not isolated perf VM results or p50/p95 estimates. Profile command: CALTERNAL_SERVER_BIN= NOTES_IDLE_OLD_BUILD= node bench/notes-idle.mjs.
Gates (OPENSSL_NO_VENDOR=1, CARGO_PROFILE_DEV_DEBUG=line-tables-only, CARGO_INCREMENTAL=0, CARGO_BUILD_JOBS=4; apps/web production build completed first):
No web source changed, so bun run check is not required. Both new JavaScript entry points pass node --check. Fetched origin and merged origin/dev once before final gates: Already up to date.
Decisions: reuse the existing IMAP source hash rather than add another ledger or short-circuit dependency repairs; exclude derived Notes notifications from the Files mutation bridge; move the watcher hint after adoption to preserve Calendar freshness. Seed completed upgrade ledgers only while the fixture server is stopped, because production has already completed those upgrades; the probe performs real projection initialization before idle measurement. No schema, dependency or API contract changes.
UX gaps closed: The repeated repair storm stops; the successful 700-Note run shows bounded Log events. The final focused run verifies Send all projection freshness. UX gaps left / known gaps: cold Home initialization still takes a finite full scan (94,762.7 ms and 264,717.34 ms across the two 700-Note runs); the second migrated fixture still exceeded the 20 s Log timeout after setup. Exact remaining lock contention was not isolated. This is a recorded SLOW finding and does not invalidate the zero-event regression, but this hotfix does not promise a 20 s write bound on this busy host. No cold-start performance redesign in this hotfix. No UI code changed. Production remains untouched. The orchestrator must deploy and verify steady-state production counters and Log / Send all after deployment.
Cleanup completed: cargo clean reported
Removed 17954 files, 10.1GiB total. Generated web builds, historical fixture and local test data were removed. Git status is clean. Re-read the doc comments in all six changed files.Hotfix deployed to production (2026-10-04 19:12 CEST,
dcad855ee)Cherry-picked
8ebca1b75(publish projection changes only when the source hash changes) anddfa15d38b(keep projection notices out of the Notes→Files mutation bridge) onto productionc39ffe5d9.Production change-event rate per 30 s: before ~1,200; after the deploy 0, 0, 0, 0. Healthy in 12 s; no panics or errors.
Gates on the hotfix:
cargo fmt --checkclean; clippy clean (notes, files). Notes tests: 192 passed, 1 failed. The failure is the newseven_hundred_notes_reconcile_without_feedback, which overflows the process-global event bus when it runs in parallel with other tests. Alone it passes 3/3 (test result: ok. 1 passed). That is test isolation, filed separately. The idle-rate probe (6153d62d0) joins the next round.Round 7b7 started on job/7b-reconcile at
1b08bac4d. The job brief replaces the original read-only scope of #867. Fetched origin/dev and started its merge. Three conflicts are in wire.rs, notes/imap.rs and notes/store.rs. I will preserve the #1062 hash-change and durable-mutation bridge guards, fix the Notes Files identity response profile, then run the requested regression, idle SSE check and gates. No push or deploy.Remaining hotfix gates (
dcad855ee): clippy clean for calternal-plugin-files and calternal-server; testscalternal-plugin-files passed=158 failed=0,calternal-server passed=164 failed=0. The only red item is the parallel-run flake tracked in #1065.The #1062 merge keeps 7b's transaction retries and User-derived IMAP UIDVALIDITY. Projection notices use the transaction's source-change result. The bridge accepts created, updated, moved, retitled, trashed and deleted only. Both branches' server tests remain.
The response leak was caused by checking the Markdown extension before existence. The Cross-User matrix replaces all path characters except slashes, so its missing control has no Markdown extension. The route now validates and resolves a path only inside the caller's Home before it checks the file type. Foreign Markdown and missing paths use the same Root metadata lookup and 404 envelope. Traversal still returns 400. A new route regression and a real HTTP probe cover the three denial cases and a positive own-Note read.
The first web check failed at a stale perf exception for record_change. The hotfix changes 206 function-bound fingerprints in imap.rs/store.rs; the route changes seven more. Exact unchanged calls are rebound. New Home-path operations are pure bindings. The source Option check is also pure. This removes one exception and allows the new bounded metadata lookup to stay explicit as IO debt owned by #702, without increasing the ratchet. No latency or projection-adoption result is invented.
The first Rust compile failed on byte-array fixture readers. The new fixtures now pass byte slices to Root::write. The first full web test gate passed: 222 files and 1510 tests.
The round 7b7 local correctness probe passed on a real branch server. Command:
python3 tests/adversarial/notes_idle.py --server "$CARGO_TARGET_DIR/debug/calternal-server" --data-root "$PWD/target/tmp" --json artifacts/7b7/idle.json.The Instance had 700 Notes and an open Files SSE client. After startup repair, the 60-second idle window produced zero Files event rows and zero SSE change frames. One actual Note body edit produced four Files events. This proves the #1062 guard on the assembled branch.
The probe also alternated 20 requests per denial case: another User's existing Markdown path, the extensionless missing-path control, and a valid missing Markdown path. Every case returned 404 with the same 57-byte body. The runtime build identity and timings follow verbatim:
{
"success": true,
"load": [
22.5966796875,
25.18359375,
24.15771484375
],
"build": {
"source_commit": "
5a10cbccce","binary_sha256": "c9d4ae0ea626c8f16757be17d1a732bef2fda6a72f2fb2d725658f58a26f6b65"
},
"notes": 700,
"idle_seconds": 60.002,
"files_events": 0,
"files_events_per_minute": 0.0,
"sse_change_frames": 0,
"response_profiles": {
"status": 404,
"body_bytes": 57,
"samples_per_case": 20,
"cases": [
{
"p50_ms": 4.569,
"p95_ms": 10.406
},
{
"p50_ms": 4.158,
"p95_ms": 8.32
},
{
"p50_ms": 4.663,
"p95_ms": 5.561
}
]
},
"single_edit_files_events": 4
}
Round 7b7 finished. Final head:
21420777f39e31e230db85151c9d5ac474295df2. Branch:job/7b-reconcile.Merge round 7b7 — #867 and #1062
Date: 2026-10-04. Branch:
job/7b-reconcile.Changes
origin/devatdcad855ee063927c5d95c0a539559377c3db1129into the job base1b08bac4d. Keep 7b startup tests, access tests, transaction retries and User-derived IMAP UIDVALIDITY. Keep the #1062 source-change result and durable-mutation bridge filter. Commit:0eabbe53e.c59564131.tests/adversarial/notes_idle.py. It uses the existing local-server fixture. It waits for startup repair, checks an open Files SSE connection for one minute, compares three HTTP denial cases and checks one real Note edit. Commit:5a10cbccc.Files
crates/calternal-server/src/wire.rscrates/plugins/notes/src/imap.rscrates/plugins/notes/src/store.rscrates/plugins/notes/src/lib.rscontracts/perf/registry.jsoncontracts/perf/exceptions.jsontests/adversarial/notes_idle.pydocs/audits/merge-round-7b7.mdLocal proof
The standalone
seven_hundred_notes_reconcile_without_feedbackcommand passed. The bridge filter regression passed in the Server suite. The Files-origin route regression passed in the Notes suite.The live probe passed with 700 Notes. The open Files SSE connection stayed open for 60.002 seconds. It received no change frames. The durable Files event count did not change. One real Note body edit produced four Files events.
Each denial case had 20 alternating requests: foreign Markdown, missing path with no Markdown extension, and missing Markdown. All cases returned 404 with the same 57-byte body. Their p50/p95 times were 4.569/10.406 ms, 4.158/8.320 ms and 4.663/5.561 ms. These are local correctness samples on a shared host, not performance budget samples.
Runtime source:
5a10cbcccee8756baf39f48df0a77a7e23296e7b.Binary SHA-256:
c9d4ae0ea626c8f16757be17d1a732bef2fda6a72f2fb2d725658f58a26f6b65.Load at probe start: 22.5967, 25.1836, 24.1577.
Decisions
The design does not specify the order of file-type checks on this route. Use one Home-relative metadata lookup before the type check. This gives missing and foreign paths the same lookup and response. It adds one bounded metadata lookup to a successful open.
UX gaps closed
No UI changed. The API denial profile no longer exposes the file-type validation order through this Cross-User control.
UX gaps left
No new UI gap was found in this API-only work. This round does not repeat the earlier UI reviews.
Verification
All Cargo commands use
CARGO_PROFILE_DEV_DEBUG=line-tables-only,CARGO_INCREMENTAL=0,CARGO_BUILD_JOBS=4and the worktreetarget/tmp. The preset Cargo target directory was kept. No workspace Rust gate ran.cargo fmt --check: exit 0, no output.calternal-plugin-notes
cargo clippy -p calternal-plugin-notes --all-targets -- -D warnings:cargo test -p calternal-plugin-notes -- --test-threads=4:calternal-plugin-files
cargo clippy -p calternal-plugin-files --all-targets -- -D warnings:cargo test -p calternal-plugin-files -- --test-threads=4:calternal-server
The first clippy attempt failed because
apps/web/buildwas absent. The real production web build then passed. The clippy retry passed:cargo clippy -p calternal-server --all-targets -- -D warnings:cargo test -p calternal-server -- --test-threads=4:Web
bun run checkfirst failed at stale performance source pins. The updated pins passed.bun run test --maxWorkers=2passed.bun run buildpassed and supplied the real embedded assets for the Server gates.calternal-search
cargo clippy -p calternal-search --all-targets -- -D warnings:cargo test -p calternal-search -- --test-threads=4:Focused regressions
cargo test -p calternal-plugin-notes seven_hundred_notes_reconcile_without_feedback -- --test-threads=1:cargo test -p calternal-plugin-notes daily_log_projection_rebuild_resumes_without_markdown_writes -- --test-threads=1:The standalone rebuild passed with its original 650 files and assertions. The earlier full-suite failure remains a failed gate. No full suite was run again. All requested scenarios finished; none are deferred.
Known gaps
The full Notes gate failed at
daily_log_projection_rebuild_resumes_without_markdown_writes. Its original 650-file fixture and assertions were kept. It receivedJobError { message: "Index is busy; retry shortly" }. This result is recorded on #1022 and #867. It is not classified as SLOW.Two Notes tests, three Files tests, three Search tests and nine Server tests are ignored by the existing suites. Four Svelte warnings remain in untouched source files. The first new test compile used byte arrays instead of byte slices; the fixture readers were fixed before the passing regression.
Module and function comments in the changed Rust files and the new probe were read again. The IMAP module comment was corrected to describe 7b's User-derived empty-mailbox epoch. This final change affects comments only. Format passed again with no output. Cargo cleanup removed 23,081 files and 20.2 GiB. The web build and
.svelte-kit/outputdirectories were removed. No push or deploy ran. No issue was closed. The final issue comment states the report head SHA.READY FOR STAGING: no. The full Notes gate has a failure.