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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user