mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 04:25:52 +01:00
useScratchTmpdir only redirected TMPDIR, so on Windows os.tmpdir() kept reading TEMP/TMP and the fallback test asserted on paths outside the scratch root. It now sets and restores TMPDIR, TEMP and TMP together, and the fallback test checks the redirect before it asserts on paths. The timestamp-refresh test assumed an earlier test had published a template. Under PAPERCLIP_TEST_POSTGRES_TEMPLATE=0 the support probe does not publish one, so running the test alone threw ENOENT from utimes. It now starts and cleans up a suite first, which builds the template when nothing has. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>