Marc-André Bombeck
1c0c194820
fix(documents): scope the content-index gauge to live documents
...
The usage endpoint counted every DocumentContentIndex row for the user,
including those whose parent document has been soft-deleted (the index
row survives until the hard purge). Against totalCount, which filters
live documents, the gauge could read past 100 %. Scope the indexed count
to live documents so coverage never exceeds the corpus.
Also drop a redundant identical-branch ternary in the per-document
content-index status row.
2026-07-07 19:31:41 +02:00
..
2026-06-20 12:38:06 +02:00
2026-07-07 13:34:55 +02:00
2026-06-28 19:26:16 +02:00
2026-06-28 16:03:05 +02:00
2026-06-19 22:20:31 +02:00
2026-07-05 21:01:50 +02:00
2026-06-28 13:58:43 +02:00
2026-06-19 22:20:31 +02:00
2026-07-05 19:45:20 +02:00
2026-06-19 22:20:31 +02:00
2026-06-30 08:54:39 +02:00
2026-06-19 22:20:31 +02:00
2026-07-07 12:51:18 +02:00
2026-06-14 23:58:27 +02:00
2026-07-07 19:31:41 +02:00
2026-06-28 17:36:14 +02:00
2026-06-29 19:03:47 +02:00
2026-06-28 16:03:05 +02:00
2026-06-11 02:19:27 +02:00
2026-06-19 22:20:31 +02:00
2026-07-01 23:45:08 +02:00
2026-06-27 20:37:35 +02:00
2026-07-03 14:13:28 +02:00
2026-05-08 18:47:00 +02:00
2026-06-21 14:23:24 +02:00
2026-06-27 19:33:10 +02:00
2026-06-19 22:20:31 +02:00
2026-06-29 15:08:04 +02:00
2026-07-07 11:16:27 +02:00
2026-06-19 22:20:31 +02:00
2026-06-28 16:30:17 +02:00
2026-06-28 15:18:12 +02:00
2026-06-11 02:19:27 +02:00
2026-06-19 22:20:31 +02:00
2026-07-05 15:07:40 +02:00
2026-07-07 15:55:50 +02:00
2026-07-05 20:33:29 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-27 19:33:10 +02:00
2026-06-19 22:20:31 +02:00
2026-06-11 02:19:27 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-28 15:18:20 +02:00
2026-06-27 21:50:30 +02:00
2026-06-19 22:20:31 +02:00
2026-06-21 13:06:20 +02:00
2026-06-27 19:33:10 +02:00
2026-07-01 23:45:08 +02:00
2026-06-10 11:36:51 +02:00
2026-06-27 15:21:40 +02:00
2026-06-30 18:08:57 +02:00
2026-07-01 23:45:08 +02:00
2026-07-01 23:45:08 +02:00
2026-07-02 00:30:19 +02:00