Skip to content

Conversation

@linw1995
Copy link
Owner

Add git fetch to safe commands list with allow_any flag since it's a read-only operation.

Changes:

  • Add git fetch to safe_commands.toml with allow_any = true
  • Add comprehensive tests for various git fetch patterns (with/without remote, branch, flags)

This allows agents to fetch updates from remotes without requiring approval.

@linw1995 linw1995 added the enhancement New feature or request label Jan 31, 2026
@linw1995 linw1995 merged commit 874aabb into dev Jan 31, 2026
3 checks passed
@linw1995 linw1995 deleted the chore/git-fetch-safe branch January 31, 2026 09:00
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.11%. Comparing base (c3970cb) to head (fa82f54).
⚠️ Report is 6 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #168      +/-   ##
==========================================
+ Coverage   47.59%   48.11%   +0.52%     
==========================================
  Files         100      105       +5     
  Lines       27316    27914     +598     
==========================================
+ Hits        13000    13431     +431     
- Misses      14316    14483     +167     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants