mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-11 10:01:27 -10:00
* Fix Windows path URIs and legacy session upgrades Problem: Windows upgrades and path-based features could misinterpret SQLite file URIs, double-decode file references, lose UNC identities, or report incomplete session diagnostics as healthy. The packaged upgrade acceptance also used a current-format fixture and could accept sidebar text as restored history. Root cause: Disk database callers built URIs independently, path consumers decoded parsed URLs twice, LSP conversion dropped remote authorities, and inspection ignored query failures and live WAL state. The Windows harness did not exercise the real legacy import boundary or validate the packaged commit field. Fix: Centralize SQLite disk URI construction, publish database backups without replacement, make inspection fail closed, decode file paths once, preserve UNC file identities, and harden the CI entrypoint. Replace the Windows fixture with real legacy JSONL data and scope visible-history evidence to the transcript. Verification: - go test -p 1 ./... -timeout=20m (root and desktop modules) - targeted Go race tests for backup, catalog, migration, and media paths - frontend typecheck, transcript tests, and browser file-preview test - Node and PowerShell CI contract tests - Windows amd64 cross-compilation of Desktop tests and the upgrade fixture * Fix LSP URI conversion on Windows CI * Encode upgrade fixtures with JSON APIs