Merge origin/main into the memory leak fix
CI / test (push) Successful in 5m49s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hj5m35Lj6Rt9vwwLGZ
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-26 17:11:01 -08:00
commit 15b7c3f0e3
4 files changed
+21 -7

No files matched your search

+7
View File
@@ -196,6 +196,13 @@ for d in ("config", "wit", "assets"):
if os.path.lexists(dst):
shutil.rmtree(dst) if os.path.isdir(dst) and not os.path.islink(dst) else os.remove(dst)
shutil.copytree(os.path.join(root, d), dst)
# copytree keeps the sources' modes; root installs these and every user's session reads them.
for top, _, files in os.walk(dst):
os.chmod(top, 0o755)
for f in files:
path = os.path.join(top, f)
if not os.path.islink(path):
os.chmod(path, 0o644)
print("installed", dst)
mods = os.path.join(root, "build/components")
dst = os.path.join(share, "modules")