personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tests: stop copying live journal in make-skills idempotency test

shutil.copytree(repo_root / "journal", ...) was the hidden quadratic
behind the test_make_skills_idempotent timeout flake — it copied the
dev's gitignored working journal (144GB / 466k files on the dev box,
chronicle/ alone was 135GB). 30s budget burned in os.sendfile before
make skills ran. make skills only needs an empty journal/ to write
.agents/skills and .claude/skills symlinks into.

Test runtime: 30s+ timeout failure -> 0.22s. Suite: 223s with 2
failures -> 174s green (req_be2hxxsh).

+7 -1
+7 -1
tests/test_journal_skill.py
··· 70 70 shutil.copy2(repo_root / "Makefile", temp_root / "Makefile") 71 71 shutil.copytree(repo_root / "talent", temp_root / "talent", symlinks=True) 72 72 shutil.copytree(repo_root / "apps", temp_root / "apps", symlinks=True) 73 - shutil.copytree(repo_root / "journal", temp_root / "journal", symlinks=True) 73 + # `make skills` only reads talent/ and apps/*/talent/, and writes symlinks 74 + # under journal/.agents/skills and journal/.claude/skills. Copying the live 75 + # journal/ pulls in whatever real capture data the dev box has accumulated 76 + # (chronicle/ alone can be 100+ GB), and copytree blows past the 30s budget 77 + # on os.sendfile before make skills ever runs. An empty journal/ is all the 78 + # target needs. 79 + (temp_root / "journal").mkdir() 74 80 75 81 subprocess.run( 76 82 ["make", "skills"],