Files without an extension are shown as Documents: detect type from content #851
Open
opened 2026-10-02 13:47:26 +00:00 by kayg
·
35 comments
No Branch/Tag specified
dev
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
job/merge30
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
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
wip/restyle-mailmoney
wip/restyle-files
wip/previewcard-1098
wip/palette2-1123
wip/palette-1093
wip/onboard2-1141
wip/onboard-1141.aborted-early
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#851
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?
Owner report (2026-10-02)
A phone camera app that the owner prefers writes files with no extension when its naming scheme is changed. 19 photos uploaded over WebDAV into
Photos/16pm/Recents/(IMG_20261002_135643, ...) show in Files as Kind: Document with a generic file icon. "We also gotta handle these files."Evidence (first 12 bytes of each file on calternal.cloud, read-only): all 19 are HEIC:
00 00 00 28|18 66 74 79 70 68 65 69 63=....ftypheic.Owner principle
Fix the code to handle the User's files as they are. Never rename or rewrite the User's files to add an extension.
Cause
Type detection is by extension in several places:
crates/plugins/files/src/{index,lib,thumbnails,user_bytes,public}.rs,crates/plugins/photos/src/index.rs,crates/calternal-search/src/{indexer,semantic}.rs,crates/calternal-tags/src/source.rs,crates/calternal-embed/src/store.rs,crates/calternal-server/src/main.rs, plus the web client's kind/icon mapping.Fix: one shared content-type primitive (reuse rule)
detect(path, first_bytes) -> ContentType(MIME + kind). When the extension is missing, unknown or contradicts the content, the magic bytes decide: ISO-BMFF brands (heic,heix,mif1,avif,qt,isom,mp41/42,M4A), JPEG, PNG, GIF, WebP, TIFF/DNG and the common RAW containers, PDF, ZIP-based office files, MP3, WAV, FLAC, Ogg, plain UTF-8 text. Use a maintained, AGPL-compatible crate if one fits (check the licence), otherwise a small table with tests.Content-Typeof downloads, WebDAVgetcontenttypeand public links.X-Content-Type-Options: nosniff, and never serve HTML/SVG/JS from a sniff as an active type on the app origin.Tests
photo.txtthat is a JPEG).Content-Type; the file name on disk is unchanged.Owner direction (2026-10-02): content decides the type for every file, not only files without an extension. Rule: (1) if the bytes carry a known signature (images, video, audio, PDF, archives, office/ZIP containers inspected one level for their inner type, fonts, executables), that type wins over the extension; (2) only for plain text, where the bytes cannot tell formats apart (Markdown, txt, CSV, JSON, ICS, VCF, source code), the extension chooses the text format, after a cheap structural check where one exists (ICS starts with BEGIN:VCALENDAR, VCF with BEGIN:VCARD, JSON parses); (3) a mismatch (for example
photo.txtthat is a JPEG, ornotes.mdthat is a PNG) uses the content type, and the file name stays unchanged. This also stops a disguised file from being treated as something else. Add tests for each rule.Started investigation on
job/noext-851, based onc4a61e8cf090170f35b1bed3350d9de20c83ecd5(origin/dev). I am tracing the existing content-type path and reuse points before implementing the shared detector.Finding: the checked-in
docs/DESIGN.mdends at §57, so the issue’s §58 reference is not present in this branch. I am using the existing decisions in §2 (files are authoritative; the Index is rebuildable) and §4 (derived data is rebuildable) for the projection-only re-detect pass. I will not write to or rename any Home file.Finding:
prepare_index_write()computes the Files MIME value withmime_guess::from_path(name). An unchanged fingerprint returns the previous row without hashing or updating MIME, so changing the live indexer alone would leave old extension-based MIME values in place. The implementation needs to use the existing hash read for changed files and run one guarded, projection-only pass over legacy rows. User file bytes, paths, and names remain unchanged.Finding: The Files Index is not the current source for every consumer. Photos filters by path suffix, Tags re-guesses photo/video MIME, Embed uses its own text suffix table, Search derives kinds from the name, and the Files UI prefers the suffix in its visible Kind label. The implementation will remove those conflicting guesses and use the Files Index MIME value so downstream projections agree with the shared byte detector.
Finding: The pushed
audiophotos-720branch addssniff_media_mime()after the Files Index hash step. That opens the same User file again and reads a bounded prefix on the indexing path. #851 requires onedetect(path, first_bytes)call using bytes already read by the Indexer, so I will fold the media classification into the shared detector and remove that second open.SLOW-only environment note: The new Files regression test has not reached test execution. The first Cargo run waited on the shared sccache; a direct-rustc rerun spent over 30 minutes compiling cold dependencies and was stopped at the one-round timebox. At that point the host had more than 20 concurrent Cargo jobs. The test remains in the tree; I will run the Files crate gate once after the implementation and report the result.
Test findings with direct reproductions:
NotFoundbecause its fixture wrote intousers/u/Photosbefore creating that directory. I added fixture setup; the test still checks both MIME and byte preservation.text/plainbecause the shared detector erased SVG's indexed MIME before Files could apply its existing image-only response rule. The detector now preserves actual SVG MIME; Files still sends it only for image loads and DAV keeps active MIME responses inert.RUST_MIN_STACK=2621440; I am checking the normal full-crate run after the current fixes.Evidence:
cargo clippy -p calternal-media --all-targets -- -D warningsflagged an unusedContentKindimport in the new benchmark example. I removed the import; the rerun passed.Status: I stopped at the shared ~4-hour job cap after the DAV gates. This issue is not complete and must not merge yet.
Head:
3a5eb4599928018c3b59118b97d20e2a81e12627onjob/noext-851. I mergedorigin/dev,origin/job/mediafixandorigin/job/audiophotos-720;origin/job/voicefiles-620was already an ancestor.Committed slice:
feat(fs): capture prefixes for content detection (#851)adds bounded prefix retention to the existing write stream. The remaining #851 detector, index migrations, consumers, API contract, UI, tests and benchmark are still in the worktree and are not committed.Gate output:
Remaining: run per-crate gates for Files, Photos, Search, Embed, Tags and Server; rerun
bun run testafter the merges; production build and Mac-emulated screenshots at 390/820/1440 in light/dark; attach evidence; generated API check; run and record the 20k average/worst detector profile; one local WebDAV adversarial round; review comments in touched files; thencargo cleanand remove web build output. No benchmark measurement, production screenshots, adversarial pass or clean has been completed.Decision so far: extend the existing
calternal-mediacrate for the single shared content detector. Signature bytes take precedence; the central fallback usesmime_guess 2.0.5(MIT, verified withcargo info), and detected active content is made inert.Status: implementation complete on
job/noext-851, ready for the merge roundHead:
aa280c2e1e65c0bd4f40e4896682dbd1fe89d885. Nothing is pushed or deployed.The unverified WIP checkpoint (
51c5df730) is gone. The branch history is now:3a5eb4599feat(fs): capture prefixes for content detectionbb4f97143merge of the latestorigin/job/audiophotos-720(046dc6591). Forcalternal-mediaI kept dev's finite ISO grammar (#816).d6aa8855efeat(media): one shared content-type detector0b085f0b2fix(fs): 64 KiB detection prefix and a MIME-led text-card rule2501c5268feat(files): store MIME from content, re-detect old rowsba93df24cfeat(dav): serve the indexed MIME in PROPFIND and GETb757641f9refactor: Photos, Tags, Search and Embed read the indexed MIME6a0413cebfeat(web): file kinds and icons follow the indexed MIMEd314676a1test(e2e): extensionless Live Photo and DAV MIME probesaa280c2e1bench: detector profileWhat the code does now
One detector:
calternal_media::detect(path, prefix)anddetect_with_reader. The per-crate extension tables are removed from Files, Photos, Tags, Search, Embed and the web client. Audiophotos'MediaKind/classify_mimeand thesniff_media_mimesuffix table are replaced bykind_for_mimeand the detector. Photos admits a file only whenkind_for_mimesays Image or Video.Owner rules:
mif1), JPEG, PNG, GIF, WebP, JXL, BMP, TIFF/DNG and RAW, PDF, ZIP (Office/OpenDocument/EPUB, one level deep), OLE, audio/video containers, archives, fonts, executables, wasm and SQLite.BEGIN:VCALENDAR, VCF withBEGIN:VCARD, JSON with{or[. Text bytes under a binary name (photo.jpgthat holds text) becometext/plain. Binary bytes never get a text type from the name. Inside the TIFF and OLE families the suffix may choose the subtype.Audio-only check (#720): for an ISO movie whose
moovbox is after the prefix, a lazy reader reads only that box. The Files hash path seeks the same open file. Write paths open the file only for ISO movies. The 64 KiB prefix replaces 1 MiB.Security: HTML, XML and script are stored as
text/plain.is_active_mimenow also coverstext/jscriptand wasm. DAV GET makes active types inert. SVG keeps its MIME only for the Files image-load rule. A baseline comparison found that the dev build servedactive.htmlover WebDAV GET astext/html; this branch sendstext/plain.Projection-only backfill:
files_index_mime_rebuild.detector_versionis compared withDETECTOR_VERSION. One background pass after reconcile re-reads a 64 KiB prefix of each indexed file. TheUPDATEchanges onlyfiles_index.mimeand is guarded by the fingerprint. It never writes, moves or renames a User file. It runs before thefiles_reconciledevent, so Photos and Search rebuild from the new MIME. A later detector change only bumps the constant. The owner's 19ftypheicfiles will becomeimage/heicon the first start after deploy, with no re-upload.Text cards: the detector also stores inert
text/plainfor code and HTML. SoThumbnailKind::for_indexed_filegives a text card fortext/plainonly when the name is plain text (no suffix,.txt,.log, ...). The webthumbnailKindfollows the same rule.DAV PROPFIND: the xmltree DOM rewrite is replaced by one linear scan. The DOM would cost several times the body size on a 50k-entry listing. Only each response's own
D:hrefselects its MIME, so a principal href inside a property cannot redirect it.Tests added or changed
photo.txtJPEG,notes.mdPNG), text formats by extension with ICS/VCF/JSON checks, binary under a text name, AVIF vsmif1, archives/fonts/executables/OLE, ODTmimetype, RAW subtype by suffix inside TIFF only, lazymoovreader, prefix bound.ftyp qt+ video handler), JPEG, PDF, the misleadingphoto.txt, and md/csv/README text. Each checks the indexed MIME and that the bytes are unchanged. The backfill test simulates a legacy row and checks that the MIME is updated, the version is recorded and the bytes are unchanged.files_index.mime. The Search and Embed MIME lookups skip NULL-MIME rows instead of failing.user_bytesactive-type test). Theuser_bytestest now checksserved_typedirectly on every active MIME.full_reindex_removes_audio_only_containers_from_photos_projectioncountedphotos_daysrows, but two items on one day give one row. It now checksSUM(item_count) == 2. I reproduced the failure on plainorigin/job/audiophotos-720before the change.e2e/photos.mjs: it addressed/dav/files/owner/, but the URL needs the User ID.Gate output (verbatim summary lines)
Real-server checks (local debug build of this branch)
uploadExtensionlessLivePhotoalone. Result:PASS extensionless WebDAV HEIC and MOV retain bytes, MIME, thumbnails, Search and Live Photo identity. In detail:NOEXT_LIVE_851(HEIC) and the MOV.image/heicandvideo/quicktime, and GET sends the same Content-Type.image/heic, and the bytes and the extensionless name on disk are unchanged.kind: live,member_count: 2), and the viewer offers "Play the Live Photo".mime: image/heic.control.jpgfails here withdecoder-failed-v1, so the local media sandbox does not work on this host. The thumbnail step still needs a check on o2.window.__userStorageTestine2e/harness.mjs, and the flow run alone. Without them, the fullphotos.mjsstops before the #851 step. The first stop is the missingwindow.__userStorageTesthook inharness.mjs. The second is the "May 2024" heading. Neither is in code that #851 changes.tests/adversarial/webdav.pyagainst this branch): the new MIME probes pass (extensionless HEIC, renamed JPEG, inertactive.html).maillayouts), so this branch did not cause them.For the deploy
files_index_mime_rebuild. The first start after deploy runs the backfill in the background after reconcile: one 64 KiB read per indexed file.Photos/16pm/Recents/IMG_20261002_*shows Kind "HEIC image" with thumbnails and appears in Photos.Starting the #851 send-back fixes on branch job/noext-851. Base SHA:
c4faf184df. I am tracing the PROPFIND response path, Files type backfill, and concurrent movie-header reads before editing.Resuming the #851 send-back work after the build VM reboot. Worktree is clean at
aa280c2e1e; the original job base isc4faf184df. I am addressing the three review requirements: streaming PROPFIND rewrite without the 64 MiB response cap, background resumable MIME backfill after the reconcile event, and bounded concurrent ISO moov probes.Finding: the prior PROPFIND rewrite copied the full 207 body with a 64 MiB limit and returned 507 above it. The rewrite now streams with a bounded tag carry, an 8 KiB href cap and output chunks capped at 16 KiB. The calternal-dav regression test consumes a 120,000-entry response larger than 64 MiB and verifies all MIME replacements arrive without a size error. Gates: cargo clippy -p calternal-dav --all-targets -- -D warnings passed; cargo test -p calternal-dav passed (54 unit, 37 integration).
Send-back fixes are committed on
job/noext-851:9e1812e58streams PROPFIND MIME rewriting in bounded chunks and covers a generated 120,000-entry, >64 MiB response. DAV clippy/tests passed earlier in this turn.d0f9e9e62moves MIME re-detection after the Files completion event, persists page cursors with MIME updates, and shares a single process-wide semaphore for lazy movie-header probes. Files clippy passed; both new backfill/probe regressions passed in the Files test run.The Files suite also surfaced two existing-gate issues. The schema-upgrade test expected migration 21; this change adds migration 22, so the assertion is updated to 22. The 1,000-write reconcile storm timed out at its 5-minute limit under host load (load average reached about 50); write 492 returned
entry not found. I did not change that test orcalternal-fsbehavior. I will include this as a merge-round finding unless the required post-merge run clarifies it.Post-merge Files gates:
cargo fmt --checkpassed;cargo clippy -p calternal-plugin-files --all-targets -- -D warningspassed. The Files crate test suite now passes the migration-22 assertion and both new MIME/semaphore regressions, but the existing atomic-write/reconcile storm failed again:Root::writereturnedentry not foundat write 627, followed by the test's five-minute timeout (161 passed, 1 failed, 1 ignored). I filed the repeated filesystem finding as #1001 with both run results. I did not change the existing storm test or calternal-fs behavior.Finished send-back round
Head:
eda4311351e9c79c339da3d9418ed5a57d8c7f67onjob/noext-851. No push, deploy or issue close.Built
crates/calternal-dav/src/files.rs: PROPFIND MIME rewriting now streams with bounded carry and 16 KiB output chunks. It has no 64 MiB body cap. The 120,000-entry response test exceeds 64 MiB and checks all replacements.crates/plugins/files/src/index.rs,lib.rs,agent_undo.rs,public.rs,uploads.rs, migration0022_index_content_type_progress.sql: Files emits its scan completion event before starting MIME re-detection. The background pass saves its(owner, path)cursor and page MIME writes in one transaction, so restart resumes after the last committed page. Changed rows produce a later Files event. One process-wide semaphore bounds lazy 16 MiB movie-header probes across all FilesState values.crates/calternal-server/src/wire.rs: updated the startup comment to describe the immediate scan event and possible later MIME event.docs/DESIGN.md: resolved theorigin/devconflict by retaining both branch additions (§58 and §§60–61).Commits:
9e1812e58,d0f9e9e62, and mergeeda431135.Gates (verbatim output summaries)
The Files migration-22 test and both new backfill/semaphore regression tests passed. The Files suite failure was the existing
internal_temp_paths_never_enter_index_during_atomic_write_reconcile_storm: it timed out at five minutes andRoot::writereturnedentry not foundat write 627. The earlier run failed the same test at write 492. I filed both results as #1001 and did not change the test orcalternal-fsbehavior. The server suite's only failure was its spawned live-app setup/backup test timing out after 34.21 seconds; this was a SLOW-only host finding.UX gaps and known gaps
No UI changed in this send-back. The earlier #851 UI changes still need the required production-build screenshots: 390/820/1440 px, light/dark, with macOS platform rendering. The full adversarial matrix remains for the merge round under the verification policy.
The existing #851 detector profile was recorded earlier on a busy shared host: average 3×20k scan p50 0.32 µs / p95 0.52 µs per file; worst 20k 64 KiB prefixes with four workers p50 5.05 µs / p95 9.76 µs and 0.05 s wall time. I did not rerun it here. It measures detector CPU, not the complete paged Files backfill or PROPFIND memory/latency; the merge round should record those paths if the owner wants them compared with the baseline.
Decisions not specified in DESIGN
Migration check after fetching
origin/dev: its Files migrations ended at 0018; this branch already had 0019–0021, so migration 0022 was the next free Files migration.Owner report 2026-10-05: Photos still misses the owner's photos. Production check (read-only): 19 files in Photos/16pm/Recents have no extension and are image/heic (PhotoSync uploads); Photos indexes 3 items. This branch (noext-851) is approved in round 7c, which has not shipped yet. After the 7c deploy, verify that these 19 appear in Photos.
Starting noext2-851 integration repair on
job/noext-851, base/headeda431135. Fetched and mergingorigin/devonce. Resolving production changes with #851 detection, then checking migration receipts, streaming PROPFIND, startup event ordering, bounded movie probes and real extensionless media on the local server. No pushes or deploys.Integration findings:
origin/devnow contains Files migration 25 (Canvas upload validation). #851's legacy 21/22 MIME migrations would collide with deployed history; they now use 26/27, preserving existing SQL receipts. Search's MIME addition remains 5, after production Search 4. Added deterministic tests that hold the movie-probe lane while checking startup completion, and run 16 concurrent upload detection calls. Added a local-server restart regression for 19 real HEIC fixtures inPhotos/16pm/Recentsplus extensionless JPEG, PNG and MOV. Production web build passes. Rust gates are compiling from the job's empty target directory; web check currently finds changed exact syntax pins in the performance debt ledger, being reviewed without increasing its limits.Checkpoint:
16f20b17bmerges productiondf92d4da1intojob/noext-851. Files clippy passed before the checkpoint:Focused web tests passed:
The full requested crate tests are next; the first Files test build is compiling its dependencies.
bun run checkcurrently fails on the new performance-contract ledger: changed exact syntax scopes and additional detector/backfill sites need coverage. The ledger and its limits remain unchanged. Svelte diagnostics found integration imports/client declarations that have been repaired and are being checked again. The server-restart regression and macOS screenshot matrix run after the server is built. READY FOR MERGE is not yet established.Post-checkpoint verification: Svelte diagnostics now finish with
svelte-check found 0 errors and 4 warnings in 3 files. Formatting passed with no output. The web production build and focused 32 Vitest checks passed. Remaining Rust gates are sequential, with four compiler jobs and four test threads; no workspace-wide build/test commands are used. The restart test now checks the actual Files Inspector Kind labels and records the recovered 19-photo Home at 390/820/1440 in both themes, with macOS platform hints. These runtime checks are pending the server build, not claimed as passed.Integration finding: the inherited
notes_used_inroute had no entry in the production action policy.python3 scripts/action_registry.py --checkstopped withValueError: notes_used_in: missing action policy; the server policy lookup would also reject that route during contract construction. Added a read-only data policy with the same replay and continuation rules as the existing linked-Notes read, and added its OpenAPI summary/description. This is a small contract repair in Notes, without changing handler behavior. The production 7c migration fixture now pins SQL fromdf92d4da129bfead879d417aef6e0514fc56ee96, with Files 26/27 and Search 5 as the only additions.Checkpoint
d2b675dd2: fixed the Search integration regression found by the unchangedSearchResultRow.svelte.test.tsassertion. The production shared ItemCard had replaced the Files MIME glyph with its generic voice glyph. Added an optional glyph snippet to ItemCard and supplied the existing shared Files glyph in Search; default ItemCard behavior is unchanged. This small public UI addition preserves the production layout.Focused verification (verbatim):
Files crate suite (verbatim):
The failure was
public_password_attempts_are_reserved_before_parallel_checks:[401, 401, 429, 429, 401, 429, 429, 429], expected five 401s, observed three. The unchanged test passes in isolation (verbatim):Its shared two-worker password budget returns 429 after five seconds of waiting; this result is consistent with shared-host contention. No assertion or worker limit was changed. Both new #851 startup-event and concurrent-movie-upload tests passed in the full run.
Filed the final web-gate failure as #1106, with the exact output and initial scope comparison. The accepted performance registry, exception ledger and ratchet remain unchanged. Separate Svelte verification reports
svelte-check found 0 errors and 4 warnings in 3 files.Verification scope: the #851 large-body test feeds 120,000 entries and more than 64 MiB through the streaming rewrite. The Files DAV provider still has production's
DAV_MAX_LIST_ENTRIES = 50_000(origin/dev:crates/plugins/files/src/dav.rs:43); this job will not claim a real 120,000-file folder request succeeds. The regression under review was the rewrite's second full-body allocation and 64 MiB cap. That cap is removed by bounded output chunks.The new restart scenario now checks all 22 new extensionless HEIC/JPEG/PNG/MOV uploads in Photos before restart, resets only the test Index MIME projection, removes the test thumbnail cache, and requires fresh thumbnails after startup backfill. Source files and item IDs remain unchanged.
Starting integration/repair pass on branch
job/noext-851at24a1d6b42ada467149f372edacf6df894107dd5e; base merge point isdf92d4da129bfead879d417aef6e0514fc56ee96(origin/dev, round 7c). The tree already has uncommitted updates incrates/plugins/files/src/lib.rsandapps/web/e2e/photos.mjs; I am preserving and reviewing them while verifying the three returned findings and the owner's extensionless-media case.Finding during integration review: the content-type screenshot helper navigated to
Photos/, but the startup/backfill fixtures live inPhotos/16pm/Recents. The helper then searched for the nested file at the root, so screenshot verification could not cover the owner's folder. I am changing it to use the fixture's Home-relative file path; this does not change any User files.Web gate finding after required origin/dev integration:
scripts/perf-lint --checkfails because the branch's current source and performance exception ledger diverge beyond the two touched fingerprints. The deterministic parser reports 810 changed exception hashes, 203 entries whose scopes no longer exist, and 302 live findings without ledger entries (22,076 findings vs 21,977 entries). The largest groups arecrates/plugins/files/src/index.rs(231 hash changes, 87 missing, 150 unledgered) andcrates/calternal-fs/src/thumbnails.rs(128 unledgered, 80 missing). I have not rewritten the ledger wholesale because these entries pin changed call sites and new findings; blanket fingerprint updates would hide scope changes. I will complete the issue-specific runtime/e2e and crate gates, then report webbun run checkas blocked unless the source contracts can be reconciled safely within this job.Photos startup E2E found a thumbnail race on the legacy MIME rebuild. The test uploads extensionless HEIC/JPEG/PNG/MOV files and queues thumbnails, then resets the indexed MIME to
application/octet-streamand restarts the real server. A queuedfiles.thumbnailjob can run before its backfill page, mark valid HEIC/JPEG/PNG hashes as terminally failed, and complete. The MIME later repairs, but the marker then suppresses thumbnail generation. Evidence in the preserved Home: the 22 backfilled Files rows had their expected MIME, 22 Photos rows existed, MOV had both WebP sizes, while the HEIC/JPEG/PNG hashes had*.failed-v2markers and no thumbnails; the jobs hadstate=completed,attempts=1, and nolast_error. I am fixing the worker to defer failure for recognized content under generic MIME and clearing any old failure marker as the backfill changes renderer selection.Gate note:
cargo test -p calternal-plugin-filesran 262 tests and had one unrelated timing failure:public_password_rejection_does_not_wait_for_data_mutation_lockhit its existing 2-second wall timeout under the shared-host load (the suite took 195.98s). I did not change its expectation. Running that one test alone passed (1 passed; 0 failed; 261 filtered out; finished in 2.61s). The #851 MIME-backfill marker regression and recognized-signature worker regression both passed in the suite.#851 integration closeout
Head:
587cfb8e90c4b2360d3013b9fe5aaf1ba41be936.Repair and evidence
files::tests::propfind_stream_accepts_a_120k_entry_listing_over_64_mibpassed (120k entries, response larger than 64 MiB).startup_completion_precedes_blocked_mime_backfillpassed.concurrent_upload_movie_detection_uses_bounded_lanepassed; uploads cannot create unbounded 16 MiBmoovbuffers.The owner-case Photos E2E passed its startup assertions with 19 real extensionless HEIC files plus extensionless JPEG, PNG, and MOV fixtures. It checked newly uploaded files, MIME repair without changing bytes or IDs, Photos membership and thumbnails, visible Files Kind labels, and inspector labels. A later run failed while creating a JPEG thumbnail after media-sandbox logs reported
NamespaceResourcesandRuntimeMissing; this matches the shared-host sandbox resource pressure seen during the other timed tests. It did not expose a MIME mismatch. The fullbun run checkis also red on inherited perf-lint ledger drift inPublicLinkPage.svelte; that finding was reported earlier on this issue.Screenshot evidence
These production-build screenshots use macOS platform emulation. Files and Photos cover 390, 820, and 1440 px in both themes; empty Photos covers the same matrix.
Gates
cargo fmt --checkexited 0 with no output.Passing gate output:
The Files suite had one shared-host timeout; that test passed alone:
The server suite had one process-isolated startup timeout under host load:
bun run checkstops in the inherited perf-lint ledger check:The Photos E2E's last retry ended with:
The content-type profile ran locally once (no #851 profile baseline exists in
docs/perf/baseline.json; host load average was 42.93): average 20k-file scans, p50 2.320 µs / p95 3.883 µs, 0.284 s wall / 0.209 CPU seconds / 17.9 MiB peak RSS; four-worker 64 KiB prefix burst, p50 30.747 µs / p95 61.831 µs, 0.707 s wall / 0.807 CPU seconds / 18.3 MiB peak RSS. The recorded profile is local and remains under ignoredartifacts/.UX gaps
Closed: the test now checks the visible Files Kind cell and inspector labels while real thumbnail previews are present; screenshots cover both themes, all three required widths and macOS shortcut rendering.
Left: the latest thumbnail E2E retry could not complete under media-sandbox resource pressure; the clean full web gate remains blocked by inherited perf-lint drift.
Decision
Use a process-wide one-slot movie-header semaphore. Files routes, Photos and startup create separate
FilesStatevalues, so a state-local semaphore would not cap total concurrent 16 MiB probes.READY FOR MERGE: no. The owner flow passed once, but the latest E2E retry and required web/server gates did not finish cleanly under this host's resource load and inherited perf-lint drift.
Starting noext3-851 on
job/noext-851, base/head587cfb8e90c4b2360d3013b9fe5aaf1ba41be936. Fetched origin and integrating origin/dev; preserve current Search layout and MIME glyphs. Files 26/27 and Search 5 follow current dev migrations without a number collision. No pushes or deploys.Integration head
8b21cc9fcincludes fetchedorigin/dev04afb0043c559c59084e4ec12609bb9fe679cbf6(newer than the brief's0eea1138b). Search preserves both intents; focused tests:Test Files 1 passed (1)/Tests 9 passed (9). Commitf02798630refreshes exactly 12 PublicLinkPage each-block hashes with unchanged limits/counts. The scoped comparison passes. Full web check now stops sooner on an inherited dev ledger/ratchet mismatch: 21,977 exceptions vs a 21,964 ceiling (the merged performance files otherwise equal origin/dev). Fresh source analysis also finds 190 vanished Rust scopes and 805 changed hashes in the combined implementation. No blanket adoption or raised ceiling is applied. Upgrade regression is being extended to copy a stopped fixture Home, restore Files 25/Search 4 schema shapes, upgrade once, and guard against rebuild writes on the second restart.Checkpoint
5224929f6: copied-Home upgrade/restart regression committed.node --check apps/web/e2e/photos.mjsand independent SQLite schema rollback/reapply pass; the real server run remains pending compilation. The previously timed-out Files test passed alone, verbatim:Server-only startup test is compiling; both returned crate suites are queued with four test threads. No assertions or timeouts changed. Full web check remains blocked by the confirmed origin/dev ledger=21977 versus ratchet=21964 mismatch.
#851 finish pass
Head:
0d7df1b655f4934df361860968b6a8981cc52fabonjob/noext-851. The tree is clean. No push or deploy.Integrated fetched
origin/dev04afb0043c559c59084e4ec12609bb9fe679cbf6once. This was newer than the brief's dev revision. The shared tracking ref later advanced tof2a34dd6e; its Files migrations still end at 25 and Search at 4. Files 26/27 and Search 5 have no number collision. No renumber was needed.Built and files
apps/web/src/lib/search/SearchResultRow.svelte: kept dev's row layout, accessible title fallback and shared spacing, plus #851's MIME glyphs.apps/web/src/lib/search/SearchResultRow.svelte.test.ts: kept both sets of regression checks. No expectation was weakened.contracts/perf/exceptions.json: refreshed exactly 12 hashes for the Public link each-block. Keys, limits, owners and counts stayed fixed. Each pin matches the current parsed block.apps/web/e2e/photos.mjs: extended the owner-case regression to copy a stopped Home with Files 25/Search 4 shapes, apply the three new receipts once, finish the MIME backfill, and restart again. A trigger rejects repeated backfill progress writes. Copied Index fingerprints match the copied files while MIME stays generic. The test checks real thumbnail signatures and a decoded HEIC tile before each screenshot.Atomic commits:
8b21cc9fc(merge),f02798630(Public link pins),5224929f6(upgrade/restart regression),0d7df1b65(copied fingerprints and HEIC evidence).Owner case and upgrade
Started the focused production-web-build run after
uptimeshowed load5 19.86, within the one 40-minute wait budget. All 19 extensionless HEIC fixtures inPhotos/16pm/Recentsappeared in Files and Photos with fresh decoded thumbnails. JPEG, PNG and MOV fixtures also passed. Names, bytes, download MIME and item IDs stayed fixed. Files Kind cells and Inspector labels passed. The second restart retained the exact migration and rebuild receipts.Verbatim:
The independent
production_7c_upgrades_content_types_onceserver test also passed. It pins Files/Search production migration SQL fromdf92d4da129bfead879d417aef6e0514fc56ee96.Gate output (verbatim excerpts)
cargo fmt --check: exit 0, no output.Files clippy:
Server clippy:
Files suite,
--test-threads=4:Files returned timeout test alone:
Server suite,
--test-threads=4, had one SLOW timing finding. All 32 Calendar writes returned Created; its p95 assertion failed:The same profile passed alone, with its original budget:
These are shared-host debug test numbers, compared with the existing 10-second test budget. They are not a perf-VM benchmark. No timing assertion changed.
The returned HTTP-startup test passed inside the full-suite process wrapper. My initial direct invocation used the default 2 MiB test stack and aborted; the module's existing wrapper sets the server worker stack budget. Two direct four-thread attempts with that budget still hit the original timeout:
The load check for the latter happened before compilation, so this does not prove a quiet-host failure. The final direct invocation used the wrapper's exact configuration (
RUST_MIN_STACK=4194304,--exact --ignored --test-threads=1) and avoided recompilation. It passed:Focused Search Vitest:
Separate Svelte diagnostics:
Web production build:
Server build:
bun run checkis still red. The fetched dev snapshot itself has 21,977 ledger entries against a 21,964 ceiling. The Public link repair leaves those counts unchanged. Full output of the failure:The initial combined-source comparison also found stale Rust scopes and changed hashes beyond the Public link block. No blanket adoption or increased ceiling was applied. The performance ledger repair remains with #1106/#1058.
Cleanup:
Deleted the web production build output. Screenshots and logs remain under ignored
artifacts/. Re-read the changed comments and exception reasons before this report.Screenshots
All 18 screenshots are attached to this issue. They use macOS platform emulation and a real production web build. Claude remains the visual reviewer.
Photos at 1440 px: Paper White, Tokyo Night.
UX gaps closed
Known gaps and decisions
bun run checkremains blocked by the inherited performance ledger/ratchet mismatch and further scope drift.For the merge round
(cd apps/web && bun run check && bun run test --maxWorkers=2)to verify the combined web branch.tests/adversarial/run.shfor the full real-server API, cross-User and authorization matrices, as required by the verification policy.READY FOR MERGE: no. The owner flow and upgrade/restart checks pass; the required full web gate remains red.