Something went wrong. Try again.
personal memory agent
Something went wrong. Try again.
conftest: fallback TMPDIR=/var/tmp for non-make pytest runs master
make test exports TMPDIR=/var/tmp at the shell, but direct invocations (.venv/bin/pytest, python -m pytest, uv run pytest) bypass the Makefile and leak test dirs into /tmp. Add a module-level prelude in the root conftest that sets TMPDIR and tempfile.tempdir to /var/tmp when TMPDIR is unset, with a one-time stderr notice pointing at `make test` and a visible degradation path when the target is not writable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author Jer Miller Co-author Claude Opus 4.7 (1M context) Date (Apr 22, 2026, 11:06 PM UTC) Commit 365edf65 365edf65fbafaf37c8aee4da5137d85438d70ac8 Parent 3d2416d2 3d2416d2c79c4476d8e1eae18d44b9f4f5f41c04