test(browser): PROOF diag — probe which read strategy beats Chrome's Windows lock [do-not-merge]

Adds a Windows-live diagnostic that, against a cookie DB held by a running
Chrome, reports which read strategy succeeds: shutil, open-rb, sqlite mode=ro,
sqlite immutable=1, sqlite ro+nolock, raw win32 CreateFile with full share
flags. This tells us empirically whether any in-process read path exists
(immutable=1 / share-all open) before reaching for VSS/admin. Fails-closed test
marked xfail while the real behavior is derived from the diagnostic.
This commit is contained in:
Teknium
2026-08-26 16:45:59 -07:00
parent 1740abbe64
commit bd504bee6d
3 changed files with 116 additions and 1 deletions
@@ -63,4 +63,5 @@ jobs:
set -uo pipefail
uv run --no-sync python -m pytest \
tests/hermes_cli/test_real_profile_windows_live.py \
-o addopts= -v -p no:cacheprovider
tests/hermes_cli/test_real_profile_windows_diag.py \
-o addopts= -v -s -p no:cacheprovider