Worktree preparation refreshes remote branches with git fetch, but that command inherits global tag-pruning configuration. If a local tag differs from its remote tag, the branch refresh fails with would clobber existing tag even though T3 Code does not need tags for the worktree.
This explicitly disables tag fetching and tag pruning for the remote refresh. A regression test enables fetch.pruneTags, moves a remote tag, and verifies the tracking branch updates without changing the local tag.
Tests:
vp test run apps/server/src/vcs/GitVcsDriverCore.test.ts (50 passed)
- targeted lint and format checks for both changed files
pnpm --filter t3 typecheck
Built with OpenAI Codex using GPT-5.
Note
Pass --no-tags and --no-prune-tags to GitVcsDriverCore.fetchRemote#
Forces the git fetch call in GitVcsDriverCore.ts to skip fetching and pruning tags, overriding any user-level fetch.prune/fetch.pruneTags config. Adds an integration test in GitVcsDriverCore.test.ts confirming remote-tracking branches update while local tags stay unchanged.
- Behavioral Change:
fetchRemote no longer updates or prunes tags; callers relying on tag updates during remote fetch must do so separately.
Macroscope summarized a61f4f8.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
c2b1868b-364f-40e9-abfa-5001c4d5e3cdYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
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