From 9f1c64bbf9df9ca1d0da9bfc5cd1ab265c02a192 Mon Sep 17 00:00:00 2001 From: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com> Date: Sun, 20 Sep 2026 03:08:30 +0000 Subject: [PATCH] test(worker): canonicalize shared staging paths Use the existing canonical temp directory helper for the combined HTTP and S3 staging fixture. macOS exposes its temp root through /var, which the ephemeral-root validation rejects as a symlink. Assisted-by: Codex:gpt-6 --- core/services/worker/file_staging_release_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/worker/file_staging_release_test.go b/core/services/worker/file_staging_release_test.go index f39263cb0..4bc5ce0b0 100644 --- a/core/services/worker/file_staging_release_test.go +++ b/core/services/worker/file_staging_release_test.go @@ -60,7 +60,7 @@ func (*stagingObjectStore) List(context.Context, string) ([]string, error) { var _ = Describe("Worker exact-key staging release", func() { It("shares capacity between HTTP uploads and S3 control requests and releases both over the worker transport", func() { ctx := context.Background() - dir := GinkgoT().TempDir() + dir := canonicalWorkerTempDir() cfg := &Config{ModelsPath: filepath.Join(dir, "models")} stagingDir := filepath.Join(dir, "staging") cacheDir := cfg.stagingCacheDir()