Chris Scott
b0a1640565
fix(frontend): harden the persisted query cache
...
Persist only data that survives a JSON round trip, bound both the age and
the size of what is written, and stop a restore from being read as a
missing or empty list.
- Drop the repository git status rule: its `Map` data serializes to `{}`,
so a restored cache made `gitStatuses.get` throw. Round-trip every
remaining rule through the real persister to catch class-backed data.
- Persist only the unfiltered session list and give just that list the 24h
gcTime; a search key keeps the default and is collected when unused.
- Set the 24h gcTime in the vcs info query options instead of a prefix
default, so vcs status and diff keep their normal gcTime.
- Drop the oldest half of the persisted queries per retry pass instead of
one per pass, sorting once per save, and cap infinite queries to their
first page before the write.
- Build the session-pin and active-work rules from the shared keys.
2026-10-24 19:24:26 -04:00
..
2026-10-23 11:42:37 -04:00
2026-10-23 23:01:19 -04:00
2026-10-18 21:46:14 -04:00
2026-10-19 10:16:32 -04:00
2026-06-09 14:46:39 -04:00
2026-01-24 17:45:44 -05:00
2026-10-09 11:25:26 -04:00
2026-10-22 20:36:01 -04:00
2026-10-08 15:53:49 -04:00
2026-10-08 15:53:49 -04:00
2026-10-21 14:07:10 -04:00
2026-10-21 14:07:10 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-18 22:35:39 +00:00
2026-10-18 21:46:14 -04:00
2026-10-18 22:35:39 +00:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-10-01 23:35:10 -04:00
2026-06-17 23:11:29 -04:00
2026-04-25 10:36:14 -04:00
2026-04-25 10:36:14 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-18 22:35:39 +00:00
2026-10-24 10:37:41 -04:00
2026-10-24 10:37:41 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-08-29 16:45:54 -04:00
2026-08-29 16:45:54 -04:00
2026-05-23 19:49:44 -04:00
2026-09-28 23:52:41 -04:00
2026-10-18 22:35:39 +00:00
2026-10-02 10:45:20 -04:00
2026-05-07 18:36:03 -04:00
2026-10-15 14:06:19 +00:00
2026-10-23 19:56:10 -04:00
2026-10-23 19:56:10 -04:00
2026-10-06 20:44:27 -04:00
2026-10-06 20:44:27 -04:00
2026-10-19 12:27:59 -04:00
2026-10-19 12:27:59 -04:00
2026-10-19 00:06:34 +00:00
2026-02-06 11:23:10 -05:00
2026-10-23 19:56:10 -04:00
2026-10-24 19:24:26 -04:00
2026-09-26 13:16:45 -04:00
2026-09-26 13:16:45 -04:00
2026-09-19 00:28:34 -04:00
2026-10-01 16:13:11 -04:00
2026-10-19 11:37:42 -04:00
2026-09-26 13:16:45 -04:00
2026-08-25 23:38:52 -04:00
2026-05-02 21:51:37 -04:00
2026-10-24 19:24:26 -04:00
2026-10-07 23:58:56 -04:00
2026-10-03 10:00:33 -04:00
2026-10-04 01:34:57 -04:00
2026-10-06 10:16:34 -04:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-10-23 11:42:37 -04:00
2026-10-08 14:36:26 -04:00
2026-10-18 19:06:19 -04:00
2026-03-21 23:33:03 -04:00
2026-09-26 13:16:45 -04:00
2026-10-19 00:06:34 +00:00
2026-06-20 00:40:36 -04:00
2026-10-24 19:24:26 -04:00
2026-10-24 19:24:26 -04:00
2026-10-18 22:35:39 +00:00
2026-10-18 22:35:39 +00:00
2026-06-10 08:35:19 -04:00
2026-10-04 16:34:22 -04:00
2026-10-06 10:16:34 -04:00
2026-10-16 20:50:35 +00:00
2026-10-18 22:35:39 +00:00
2026-10-18 22:35:39 +00:00
2026-10-08 12:40:04 -04:00
2026-10-18 22:35:39 +00:00
2026-10-19 00:06:34 +00:00
2026-10-18 21:01:53 -04:00
2026-06-05 11:16:31 -04:00
2026-10-23 11:42:37 -04:00
2026-10-18 22:35:39 +00:00
2026-10-01 16:13:11 -04:00
2026-09-26 13:16:45 -04:00
2026-10-06 20:44:27 -04:00
2026-10-19 00:06:34 +00:00
2026-10-19 00:06:34 +00:00
2026-10-19 00:06:34 +00:00
2026-10-19 00:06:34 +00:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-10-23 23:01:19 -04:00
2026-06-30 19:22:26 -04:00
2026-10-18 22:35:39 +00:00
2026-10-23 11:42:37 -04:00
2026-10-24 19:24:26 -04:00
2026-09-28 23:55:01 -04:00
2026-10-18 22:35:39 +00:00
2026-10-23 20:18:27 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 19:56:10 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-16 20:36:56 +00:00
2026-10-20 23:04:26 -04:00
2026-10-20 23:04:26 -04:00
2026-10-18 19:06:19 -04:00
2026-10-18 19:06:19 -04:00
2026-10-13 20:49:32 -04:00
2026-10-18 20:27:34 -04:00
2026-10-18 20:53:23 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-05-02 21:51:37 -04:00
2026-10-19 00:06:34 +00:00
2026-10-19 00:06:34 +00:00
2026-10-23 11:42:37 -04:00
2026-09-28 00:19:32 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-07 18:04:08 -04:00
2025-12-15 14:43:03 -05:00
2025-12-15 15:22:59 -05:00
2026-10-18 22:35:39 +00:00
2026-10-23 11:42:37 -04:00
2026-10-23 11:42:37 -04:00
2026-10-19 12:27:59 -04:00
2026-10-19 12:27:59 -04:00
2026-10-23 20:18:27 -04:00
2026-10-24 19:24:26 -04:00
2026-02-16 20:07:20 -05:00
2026-02-15 19:48:03 -05:00
2026-07-27 16:46:12 -04:00
2026-07-27 16:46:12 -04:00
2026-10-23 14:08:33 -04:00
2026-10-23 14:08:33 -04:00
2026-10-22 20:18:16 -04:00
2026-10-22 20:18:16 -04:00
2026-06-07 13:02:56 -04:00
2026-06-07 13:02:56 -04:00