personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

test: route pytest tmp to /var/tmp, drop fixed --basetemp

Remove --basetemp=/var/tmp/pytest-solstone from pyproject.toml addopts
and add TMPDIR=/var/tmp to the Makefile instead.

The --basetemp flag pinned every pytest run to one absolute path; pytest
wipes that path on startup (documented behavior), so concurrent runs
(two hop lodes, or a lode + local make ci) destroyed each other's tmp
state mid-test. Symptom was mysterious vanishing-file errors and the
need for manual `rm -rf /var/tmp/pytest-solstone` rituals.

TMPDIR=/var/tmp gets tests onto disk (preserving the original intent of
fb0bba28 — /tmp is tmpfs and filled RAM repeatedly) while pytest's
default per-run isolation (/var/tmp/pytest-of-jer/pytest-N/) handles
concurrency correctly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7 -1
+6
Makefile
··· 1 1 # solstone Makefile 2 2 # Python-based AI-driven desktop journaling toolkit 3 3 4 + # Route pytest tmp dirs to /var/tmp (disk) instead of default /tmp (tmpfs/RAM). 5 + # Combined with pytest's default per-run isolation (/var/tmp/pytest-of-$USER/pytest-N/), 6 + # concurrent test runs don't collide. Do not re-add --basetemp to pyproject — it pins 7 + # all runs to one path and pytest wipes it on startup, destroying concurrent state. 8 + export TMPDIR := /var/tmp 9 + 4 10 .PHONY: install uninstall test test-apps test-app test-only test-integration test-integration-only test-all format format-check ci clean clean-install coverage watch versions update update-prices pre-commit skills dev all sail upgrade sandbox sandbox-stop install-pinchtab verify-browser update-browser-baselines review verify-api update-api-baselines install-service uninstall-service service-logs gate-agents-rename 5 11 6 12 # Default target - install package in editable mode
+1 -1
pyproject.toml
··· 134 134 override-dependencies = ["webrtcvad>=99; python_version < '0'"] 135 135 136 136 [tool.pytest.ini_options] 137 - addopts = "--import-mode=importlib --basetemp=/var/tmp/pytest-solstone" 137 + addopts = "--import-mode=importlib" 138 138 testpaths = ["tests", "apps"] 139 139 python_files = ["test_*.py"] 140 140 python_classes = ["Test*"]