fix: deploy_hub basetemp path

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
gti
2026-09-24 11:01:41 -03:00
co-authored by Claude Sonnet 5
parent d5d313375c
commit 2341546c50
+2 -1
View File
@@ -45,7 +45,8 @@ try {
}
if (-not $SkipTests) {
# per-run basetemp: some tests ACL-lock their tmp dirs, which breaks pytest's shared default temp root
$base = Join-Path $Root (".pytmp␍un-" + (Get-Date -Format "yyyyMMddHHmmss"))
$base = Join-Path (Join-Path $Root ".pytmp") ("run-" + (Get-Date -Format "yyyyMMddHHmmss"))
un-" + (Get-Date -Format "yyyyMMddHHmmss"))
& $Python -m pytest tests central/tests agent/tests -q -p no:cacheprovider --basetemp=$base
if ($LASTEXITCODE -ne 0) { throw "tests failed - deploy aborted" }
}