Skip to content

fix(benchmark): correct pyright and ruff cache clearing paths#18

Open
w-martin wants to merge 2 commits into
mainfrom
worktree-agent-a11e0fe133e155bff
Open

fix(benchmark): correct pyright and ruff cache clearing paths#18
w-martin wants to merge 2 commits into
mainfrom
worktree-agent-a11e0fe133e155bff

Conversation

@w-martin

Copy link
Copy Markdown
Owner

Summary

  • Fixes fix(benchmark): pyright and ruff cache clearing targets wrong paths #2
  • pyright analysis cache is at ~/.cache/pyright/ (not .pyright/ in project) — now cleared correctly
  • ruff cache bypassed via --no-cache flag on invocation (more reliable than clearing a path that may not exist)
  • ty: also clears ~/.cache/ty/ as belt-and-suspenders alongside .ty/ in project
  • Before this fix, pyright timed runs could benefit from a warm cache, underestimating cold-start analysis time

Test plan

  • ruff ToolInfo cmd includes --no-cache
  • ~/.cache/pyright/ is in cache_dirs
  • Benchmark runs without error on small corpus (requires maturin develop)

🤖 Generated with Claude Code

@w-martin w-martin changed the base branch from main to worktree-agent-a8ec2ca0fb3645d90 May 17, 2026 10:41
Base automatically changed from worktree-agent-a8ec2ca0fb3645d90 to main May 26, 2026 10:24
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(benchmark): pyright and ruff cache clearing targets wrong paths

2 participants