ObsidianAndroidAppiumTransportOptions.shouldSweepLeftovers?
ObsidianAndroidAppiumTransportOptions › shouldSweepLeftovers?
Type: boolean
Whether the harness removes the temporary directories earlier runs leaked.When
true (the default), each run sweeps at start **and** at end: on the device, every temp-vault-* directory under vaultBasePath (plus the stale vault registrations in Obsidian Mobile's localStorage); on the host, the leftover temp-vault-* and owned userdata-* directories older than leftoverMaxAgeInMilliseconds.A run that dies cannot clean up after itself — its teardown goes through the WebView, and a dead WebView is what most Android failures are — so the residue accumulates and slows the next run's startup enumeration until it misses the WebView-readiness budget. The start sweep is the half that breaks that loop, because it runs before anything that can die.