openpencil/crates/op-config-store
Fini 864753b950 test(desktop): keep persistence tests out of the real user config
Desktop tests exercised agent_connect_store against the real
~/.openpencil, so a parallel test run could leave the user's actual
reconnect list in whichever state the last writer happened to save.
Add a process-level user-root override to op-config-store (a OnceLock
seam, not an env var — set_var races parallel test threads) and a
guard at the desktop store entry points that redirects every test
write to a per-pid scratch root, so isolation does not depend on
which test runs first.
2026-07-28 00:29:39 +08:00
..
src test(desktop): keep persistence tests out of the real user config 2026-07-28 00:29:39 +08:00
Cargo.toml feat(config): add shared OpenPencil config store 2026-06-14 10:17:22 +08:00