openclaw/packages
Yufeng He f4e17a4b54
fix: stop swallowing mkdir errors in memory ensureDir (#41259)
Summary:
- The PR removes the empty `mkdirSync({ recursive: true })` catch in the memory host SDK `ensureDir()`, adds a regression test for surfaced mkdir failures, and adds a changelog entry.
- Reproducibility: yes. from source inspection rather than a locally executed repro. Current main swallows eve ... kdir failure in `ensureDir()`, and the active memory database path calls that helper before opening SQLite.

Automerge notes:
- No ClawSweeper repair was needed after automerge opt-in.

Validation:
- ClawSweeper review passed for head 0f82f185cc.
- Required merge gates passed before the squash merge.

Prepared head SHA: 0f82f185cc
Review: https://github.com/openclaw/openclaw/pull/41259#issuecomment-4326310101

Co-authored-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
2026-05-18 17:01:52 +00:00
..
memory-host-sdk fix: stop swallowing mkdir errors in memory ensureDir (#41259) 2026-05-18 17:01:52 +00:00
plugin-package-contract fix(plugins): require npm package compatibility metadata 2026-05-16 03:08:42 +08:00
plugin-sdk refactor: add gateway method dispatch contract 2026-05-15 11:44:58 +01:00
sdk test: share node eval helpers 2026-05-17 02:51:20 +08:00