Commit 7510ec3
committed
Index tooling: Add event dashboard and INFO logs
- Upgrade key indexing events from debug to INFO: startup path (cold-start replay / fresh scan / rescan), scan completion, reconciler replay, watcher lifecycle, `MustScanSubDirs` rescans
- Add `DebugStats` shared atomics tracking `MustScanSubDirs` count, live event count, watcher status, recent rescan paths
- Add `get_index_debug_status` IPC command exposing live DB counts (entries, dirs, dirs with stats), event counters, and recent `MustScanSubDirs` paths
- Enhance debug window Drive index section: watcher status indicator, live DB stats, `MustScanSubDirs` event log, event rate sparkline (CSS/SVG, last 60s), extended event log (100 entries)1 parent bf0b47f commit 7510ec3
9 files changed
Lines changed: 514 additions & 117 deletions
File tree
- apps/desktop
- src-tauri/src
- commands
- indexing
- src/routes/debug
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments