From 1bbbdcd4e40417faff58094247427fd02669a692 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 6 Nov 2026 15:46:54 +0100 Subject: [PATCH] fix: keep tool names out of the probe path check --- tests/test_pack_probe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_pack_probe.py b/tests/test_pack_probe.py index 7cfe23c3c..d33738644 100644 --- a/tests/test_pack_probe.py +++ b/tests/test_pack_probe.py @@ -301,9 +301,9 @@ class RecordsNameNoLocalPath(unittest.TestCase): """Ten records cut at 400 characters inside the scratch path kept its tail, which no absolute-path pattern sees.""" absolute = re.compile(r"(?-])/(?:home|root|tmp|mnt|Users|srv)/") - # The tail of a scratch folder: a checkout's hidden tool folder, a - # worktree, or the probes' own tmp/ subfolders. - scratch = re.compile(r"\.claude/|worktrees/|\btmp/(?:pack_probe|tests|campaign)\b") + # The tail of a scratch folder: a worktree, or the probes' own tmp/ + # subfolders. + scratch = re.compile(r"worktrees/|\btmp/(?:pack_probe|tests|campaign)\b") found = [ f"{path.name}:{number}" for path in sorted((REPO_ROOT / "measurements").glob("*.jsonl"))