mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-28 00:43:57 +00:00
Doctor: warn when Linux state dir is on SD/eMMC mounts (#31033)
* Doctor state: warn on Linux SD or eMMC state mounts * Doctor tests: cover Linux SD or eMMC state mount detection * Docs doctor: document Linux SD or eMMC state warning * Changelog: add Linux SD or eMMC doctor warning * Update CHANGELOG.md * Doctor: escape mountinfo control chars in SD warning * Doctor tests: cover escaped mountinfo control chars
This commit is contained in:
@@ -168,6 +168,9 @@ Doctor checks:
|
||||
(`~/Library/Mobile Documents/com~apple~CloudDocs/...`) or
|
||||
`~/Library/CloudStorage/...` because sync-backed paths can cause slower I/O
|
||||
and lock/sync races.
|
||||
- **Linux SD or eMMC state dir**: warns when state resolves to an `mmcblk*`
|
||||
mount source, because SD or eMMC-backed random I/O can be slower and wear
|
||||
faster under session and credential writes.
|
||||
- **Session dirs missing**: `sessions/` and the session store directory are
|
||||
required to persist history and avoid `ENOENT` crashes.
|
||||
- **Transcript mismatch**: warns when recent session entries have missing
|
||||
|
||||
Reference in New Issue
Block a user