fix: clean up .reflexio stray plugin copies (#73)#74
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR extends the Codex hook's stray plugin copy handling: instead of merely logging redirection, the hook now deletes the stray copy directory from ChangesStray Plugin Copy Cleanup
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~18 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
~/.reflexioonce a stable plugin cache root is found..reflexiostops accumulating per-project plugin trees.Test Plan
cd plugin && uv run pytest ../tests/test_install_scripts.py::test_codex_hook_redirects_reflexio_stray_copy_to_stable_root -qcd plugin && uv run pytest ../tests/test_install_scripts.py::test_codex_hook_redirects_reflexio_stray_copy_to_stable_root ../tests/test_install_scripts.py::test_codex_hook_ensure_root_tracks_active_plugin_root -qgit diff --checkNote: full
uv run pytest ../tests/test_install_scripts.py -qwas attempted and hit existing environment-sensitive failures unrelated to this change (PATH-limited fake private Node tests and stale managed env test); the targeted regression and adjacent guard passed.Fixes #73
Summary by CodeRabbit