fix(cuprate): seed XDG so Android parse does not poison LazyLock #128

Merged
sirius merged 1 commit from onionwire/cuprate-android-xdg into main 2026-09-19 21:56:12 +00:00

2026-09-19

agent
fix(cuprate): seed XDG so Android parse does not poison LazyLock
All checks were successful
ci / test (pull_request) Successful in 5m20s
ci / sdk (pull_request) Successful in 1m7s
ci / fuzz (pull_request) Successful in 5m2s
android-ci / android (pull_request) Successful in 12m23s
Cuprate's serde defaults call ArtiConfig::default, which unwraps
dirs::data_dir(). On Android HOME is unset and dirs-sys has no
getpwuid fallback, so the first Start panics and a retry reports
"LazyLock instance has previously been poisoned". Point XDG at the
chain datadir before parse and set tor.arti.directory_path in TOML.
2026-09-19 17:54:44 -04:00