matt wilkie
ef162a954a
fix(GH#1224): detect Docker Desktop bind mounts in WSL2 and disable WAL mode
...
Fixes stack overflow and database initialization failures when running bd on WSL2 with Docker Desktop bind mounts.
## Problem
The bd CLI crashed with stack overflow when running on WSL2 with repositories on Docker Desktop bind mounts (/mnt/wsl/docker-desktop-bind-mounts/...). SQLite WAL mode fails with 'locking protocol' error on these network filesystems.
## Solution
- Expand WAL mode detection to identify Docker bind mounts at /mnt/wsl/* (in addition to Windows paths at /mnt/[a-zA-Z]/)
- Fall back to DELETE journal mode on these problematic paths
- Add comprehensive unit tests for path detection
Fixes GH #1224 , relates to GH #920
Co-authored-by: maphew <matt.wilkie@gmail.com >
2026-01-21 16:53:49 -08:00
..
2026-01-10 23:46:44 -08:00
2026-01-10 22:02:03 -08:00
2026-01-12 19:42:04 -08:00
2025-11-23 19:53:44 -08:00
2025-11-23 19:35:52 -08:00
2025-12-31 13:14:15 -08:00
2025-12-28 22:37:04 -08:00
2025-12-24 13:22:55 -08:00
2026-01-10 13:36:52 -08:00
2025-12-02 22:41:07 -08:00
2026-01-21 13:13:24 -08:00
2025-12-02 22:41:07 -08:00
2025-12-28 22:37:04 -08:00
2026-01-20 22:34:22 -08:00
2025-12-28 06:04:05 -08:00
2025-12-20 13:33:15 -08:00
2026-01-16 12:27:36 -08:00
2025-12-23 01:30:06 -08:00
2026-01-20 20:48:08 -08:00
2025-12-17 19:10:13 -08:00
2026-01-12 18:29:42 -08:00
2025-12-31 13:14:15 -08:00
2025-11-24 00:59:49 -08:00
2025-12-31 13:14:15 -08:00
2026-01-12 18:29:42 -08:00
2026-01-05 22:06:52 -08:00
2026-01-06 12:59:26 -08:00
2025-12-16 13:26:51 -08:00
2025-12-16 13:26:51 -08:00
2025-12-16 13:26:51 -08:00
2026-01-21 10:36:59 -08:00
2026-01-21 10:36:59 -08:00
2026-01-12 18:29:42 -08:00
2026-01-12 18:29:42 -08:00
2025-12-14 17:23:46 -08:00
2025-12-24 13:22:55 -08:00
2026-01-21 13:13:24 -08:00
2026-01-06 12:59:26 -08:00
2026-01-06 12:59:26 -08:00
2026-01-12 19:42:04 -08:00
2025-12-17 19:10:13 -08:00
2026-01-19 10:11:03 -08:00
2025-12-29 13:47:04 -08:00
2025-12-29 13:47:04 -08:00
2025-12-27 16:02:15 -08:00
2026-01-10 23:55:16 -08:00
2026-01-10 22:38:04 -08:00
2026-01-15 07:55:08 -08:00
2026-01-21 10:36:59 -08:00
2026-01-09 14:12:48 -08:00
2025-12-16 01:06:14 -08:00
2026-01-20 20:48:08 -08:00
2025-12-30 16:47:38 -08:00
2026-01-09 22:57:07 -08:00
2026-01-20 20:48:08 -08:00
2025-12-19 17:52:44 -08:00
2025-12-24 14:39:30 -08:00
2025-12-24 14:39:30 -08:00
2025-12-19 19:57:14 -08:00
2026-01-10 23:55:16 -08:00
2026-01-02 17:30:58 -08:00
2026-01-17 05:07:11 -08:00
2026-01-21 16:53:49 -08:00
2026-01-21 16:53:49 -08:00
2025-12-31 13:14:15 -08:00
2026-01-14 20:36:47 -08:00
2026-01-21 10:36:59 -08:00
2026-01-21 13:13:24 -08:00
2025-11-24 01:10:16 -08:00
2025-11-24 22:21:55 -08:00
2026-01-10 22:00:32 -08:00
2026-01-16 15:44:33 -08:00