From 37d89a6bef5006a90c25744f26165092be2c0663 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Feb 2026 22:30:59 +0000 Subject: [PATCH 1/2] Initial plan From ba95d971909affc9e5cfee6ec38c1901bdc0ceb9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Feb 2026 22:44:56 +0000 Subject: [PATCH 2/2] Fix failing tests: only apply cache dir isolation in parallel test mode Co-authored-by: shaypal5 <917954+shaypal5@users.noreply.github.com> --- tests/conftest.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index d138449e..72197fa8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -105,9 +105,11 @@ def isolated_cache_directory(tmp_path, monkeypatch, request, worker_id): own cache directory to avoid conflicts. """ - if "pickle" in request.node.keywords or "maxage" in request.node.keywords: - # Create a unique cache directory for this test - cache_dir = tmp_path / "cachier_cache" if worker_id == "master" else tmp_path / f"cachier_cache_{worker_id}" + if worker_id != "master" and ( + "pickle" in request.node.keywords or "maxage" in request.node.keywords + ): + # Create a unique cache directory for this worker + cache_dir = tmp_path / f"cachier_cache_{worker_id}" cache_dir.mkdir(exist_ok=True, parents=True)