feat(git): add batch branch deletion support#807
Merged
horza-bora merged 1 commit intomainfrom Apr 12, 2026
Merged
Conversation
Dave-London
added a commit
that referenced
this pull request
Apr 12, 2026
- Add explicit timeout parameters (180_000 for beforeAll, 30_000 for afterAll) to the write-tool integration test hooks in server-git, preventing McpError: Connection closed on slow CI environments - Apply the same timeout fix across all 13 server integration test files - Add tests for batch branch deletion flag injection in delete array - Add tests for forceDelete string param (PR #807) - Add tests verifying dash-prefixed build args pass validation (PR #805) - Add tests for PATH augmentation: non-existent paths skipped, and end-to-end verification of augmented paths (PR #808)
4 tasks
horza-bora
approved these changes
Apr 12, 2026
Merged
Dave-London
added a commit
that referenced
this pull request
Apr 12, 2026
- Add explicit timeout parameters (180_000 for beforeAll, 30_000 for afterAll) to the write-tool integration test hooks in server-git, preventing McpError: Connection closed on slow CI environments - Apply the same timeout fix across all 13 server integration test files - Add tests for batch branch deletion flag injection in delete array - Add tests for forceDelete string param (PR #807) - Add tests verifying dash-prefixed build args pass validation (PR #805) - Add tests for PATH augmentation: non-existent paths skipped, and end-to-end verification of augmented paths (PR #808)
Dave-London
added a commit
that referenced
this pull request
Apr 12, 2026
- Add explicit timeout parameters (180_000 for beforeAll, 30_000 for afterAll) to the write-tool integration test hooks in server-git, preventing McpError: Connection closed on slow CI environments - Apply the same timeout fix across all 13 server integration test files - Add tests for batch branch deletion flag injection in delete array - Add tests for forceDelete string param (PR #807) - Add tests verifying dash-prefixed build args pass validation (PR #805) - Add tests for PATH augmentation: non-existent paths skipped, and end-to-end verification of augmented paths (PR #808)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
branchtool'sdeleteparam now accepts both a single string and an array of branch names, enabling batch deletion in one call (closes feat(git): batch branch deletion support #802)forceDeleteparam similarly accepts an array of branch names for batch force-deletionz.preprocess(coerceJsonArray, ...)for MCP client compatibility with JSON-stringified arraysassertNoFlagInjectionbefore passing togit branch -d/-DTest plan
Fixes #802