Windows `.\\*` created empty archives under /bin/7z, so the sanitizer kept the original files and the python lane failed. Co-authored-by: Cursor <cursoragent@cursor.com>
@@ -566,7 +566,7 @@ class PackageForAgentAnalysisTests(unittest.TestCase):
write_file(source, relative, data)
archive = temp / f"{name}.7z"
result = subprocess.run(
- [str(seven_zip), "a", "-t7z", str(archive), ".\\*"],
+ [str(seven_zip), "a", "-t7z", "-r", str(archive), "*"],
cwd=source,
capture_output=True,
text=True,