Koosha Paridehpour
04bea60303
fix(backend): prune old backups after health-check-repair snapshots ( #13308 ) ( #13404 )
...
Prunes `db_backups/` after the health-check-repair `VACUUM INTO` snapshot (#13308 ). That path never ran retention, so every restart of a healthy database added another full-size copy. It now uses the same `DB_BACKUP_MAX_FILES` / `DB_BACKUP_RETENTION_DAYS` limits as `backup.ts`, importing `backupRetention` directly to avoid the import cycle.
Maintainer additions: merged the current release branch and rebaselined `src/lib/db/core.ts` 1745→1767 in `file-size-baseline.json` with a dated annotation (legitimate growth). Chosen over #13540 , which did the same with a fire-and-forget dynamic import.
Validated in one consolidated batch of this series (37 PRs boarded together on `release/v3.8.51`): `typecheck:core`, `check:open-sse-typecheck` and `check:dashboard-typecheck` clean; ESLint clean on every changed file; file-size, complexity, cognitive-complexity, changelog-integrity, docs-counts, docs-sync and migration-numbering gates green (only the pre-existing `open-sse/utils/stream.ts` file-size red remains, inherited from the base); 3,743 focused `node:test` cases plus 34 vitest cases green.
Thanks @KooshaPari!
2026-09-14 23:17:11 -03:00
..
2026-09-11 19:27:52 -03:00
2026-09-02 03:14:46 -03:00
2026-09-11 17:41:53 -03:00
2026-09-03 21:01:09 -03:00
2026-09-14 14:09:14 -03:00
2026-09-14 14:09:14 -03:00
2026-09-11 19:28:05 -03:00
2026-08-07 18:08:04 -03:00
2026-09-03 23:27:15 -03:00
2026-09-10 09:20:18 -03:00
2026-09-02 01:18:47 -03:00
2026-05-27 19:24:19 -03:00
2026-09-02 15:07:58 -03:00
2026-06-19 06:49:01 -03:00
2026-06-20 14:55:24 -03:00
2026-08-06 05:58:58 -03:00
2026-06-20 14:55:24 -03:00
2026-09-03 13:02:43 -03:00
2026-08-30 02:36:26 -03:00
2026-08-11 10:29:28 -03:00
2026-06-03 07:04:52 -03:00
2026-08-30 02:36:26 -03:00
2026-09-03 23:27:33 -03:00
2026-06-20 07:09:43 -03:00
2026-07-20 10:09:01 -03:00
2026-09-03 21:01:09 -03:00
2026-09-03 21:01:09 -03:00
2026-09-14 19:25:46 -03:00
2026-08-24 19:57:12 -03:00
2026-09-08 09:31:32 -03:00
2026-07-18 15:12:52 -03:00
2026-08-11 04:25:03 -03:00
2026-07-26 17:19:19 -03:00
2026-08-30 02:36:26 -03:00
2026-09-11 20:45:16 -03:00
2026-03-04 19:35:38 -03:00
2026-05-26 23:51:47 -03:00
2026-08-09 09:54:07 -03:00
2026-06-29 16:51:03 -03:00
2026-09-02 00:02:45 -03:00
2026-06-29 08:40:06 -03:00
2026-04-29 12:47:44 +07:00
2026-08-30 02:36:26 -03:00
2026-07-14 21:45:17 -03:00
2026-07-24 20:37:37 -03:00
2026-09-05 23:32:26 -03:00
2026-08-12 01:31:54 -03:00
2026-08-07 20:53:21 -03:00
2026-08-07 11:13:20 -03:00
2026-09-14 23:17:11 -03:00
2026-04-16 12:53:37 -03:00
2026-08-22 14:40:09 -03:00
2026-08-05 22:39:45 -03:00
2026-06-01 15:43:55 -03:00
2026-07-04 13:00:30 -03:00
2026-05-10 20:48:03 -03:00
2026-08-26 20:50:15 -03:00
2026-05-26 23:51:47 -03:00
2026-08-30 11:11:03 -03:00
2026-08-30 11:09:19 -03:00
2026-09-14 19:25:46 -03:00
2026-07-13 09:12:40 -03:00
2026-08-02 20:35:58 -03:00
2026-09-11 17:42:32 -03:00
2026-08-21 14:00:39 -03:00
2026-06-20 14:55:24 -03:00
2026-05-28 21:43:24 -03:00
2026-07-19 14:37:30 -03:00
2026-08-09 09:54:47 -03:00
2026-08-11 10:29:28 -03:00
2026-07-26 12:29:13 -03:00
2026-08-30 09:16:52 -03:00
2026-05-27 23:16:05 -03:00
2026-08-30 02:36:26 -03:00
2026-09-03 21:01:09 -03:00
2026-08-20 09:31:12 -03:00
2026-08-06 19:11:57 -03:00
2026-08-11 09:59:45 -03:00
2026-06-12 23:49:22 -03:00
2026-09-14 14:09:14 -03:00
2026-05-30 19:11:58 -04:00
2026-06-11 18:52:29 -03:00
2026-08-18 10:52:06 -03:00
2026-09-01 09:22:26 -03:00
2026-06-25 13:17:40 -03:00
2026-07-13 09:12:40 -03:00
2026-07-20 10:07:49 -03:00
2026-06-01 15:43:55 -03:00
2026-08-30 11:11:29 -03:00
2026-09-02 03:57:46 -03:00
2026-03-17 04:24:46 -03:00
2026-08-20 06:28:37 -03:00
2026-06-22 03:17:02 -03:00
2026-05-27 19:14:32 -03:00
2026-09-14 14:09:14 -03:00
2026-06-04 20:05:38 -03:00
2026-08-17 08:02:16 -03:00
2026-07-13 09:12:40 -03:00
2026-08-21 04:25:22 -03:00
2026-07-21 13:16:41 -03:00
2026-05-31 17:57:02 -03:00
2026-08-11 04:25:03 -03:00
2026-08-30 02:36:26 -03:00
2026-08-18 11:31:53 -03:00
2026-07-02 10:47:13 -03:00
2026-09-10 08:15:57 -03:00
2026-08-24 19:57:24 -03:00
2026-08-13 07:54:20 -03:00
2026-08-13 07:52:12 -03:00
2026-07-18 22:09:47 -03:00
2026-05-14 23:41:02 -03:00
2026-08-06 05:58:58 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-09-10 10:52:03 -03:00
2026-08-31 14:13:37 -03:00
2026-09-14 19:02:09 -03:00
2026-03-23 18:23:08 -03:00
2026-06-11 18:52:29 -03:00
2026-05-26 23:51:47 -03:00
2026-08-30 02:36:26 -03:00
2026-09-03 23:27:15 -03:00
2026-08-31 14:13:37 -03:00
2026-09-07 09:15:00 -03:00
2026-06-11 18:52:29 -03:00
2026-03-04 18:59:27 -03:00
2026-08-17 08:09:47 -03:00
2026-04-16 05:26:17 -03:00
2026-06-23 17:06:18 -03:00
2026-05-29 12:44:29 -03:00
2026-08-30 02:36:26 -03:00
2026-09-02 01:18:47 -03:00
2026-08-20 13:00:01 -03:00
2026-08-18 10:51:25 -03:00
2026-06-23 17:06:18 -03:00
2026-08-06 06:05:46 -03:00
2026-09-11 20:45:16 -03:00
2026-06-30 06:54:29 -03:00
2026-07-20 10:07:49 -03:00
2026-09-01 00:51:38 -03:00