Skip to content

fix(install): cleanup download.tmp after extracting remote skill archives#330

Merged
yacosta738 merged 2 commits intomainfrom
fix/download-tmp-cleanup
Apr 6, 2026
Merged

fix(install): cleanup download.tmp after extracting remote skill archives#330
yacosta738 merged 2 commits intomainfrom
fix/download-tmp-cleanup

Conversation

@yacosta738
Copy link
Copy Markdown
Contributor

Prevents leftover temporary download files from being included in installed skill directories when fetching from remote URLs.

This pull request makes a minor improvement to the skill installation process by ensuring that temporary download files are cleaned up after use.

  • Cleanup improvement:
    • In src/skills/install.rs, after reading the downloaded file into memory, the code now removes the temporary download.tmp file to prevent it from being included in the unpacked skill directory.

…ives

Prevents leftover temporary download files from being included in
installed skill directories when fetching from remote URLs.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 6, 2026

Caution

Review failed

The head commit changed during the review from 03e799b to 0669afc.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/download-tmp-cleanup

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 6, 2026

@yacosta738 yacosta738 merged commit d9ddad8 into main Apr 6, 2026
26 checks passed
@yacosta738 yacosta738 deleted the fix/download-tmp-cleanup branch April 6, 2026 21:02
@dallay-bot dallay-bot bot mentioned this pull request Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant