You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(jobs): Add cancel_dataproc_job tool with comprehensive job cancellation support (#34)
🎯 Overview
This PR adds a new **`cancel_dataproc_job`** MCP tool to provide emergency job cancellation capabilities for the Dataproc MCP Server. This addresses a critical need for users to stop runaway or long-running jobs to control costs and manage resources.
✨ Key Features:
- Emergency job cancellation with minimal parameters (only jobId required)
- Intelligent state handling (only attempts cancellation for PENDING/RUNNING jobs)
- Comprehensive error handling with clear messages for all job states
- Job tracking integration and knowledge base indexing
- Enhanced documentation with 17 total tools (was 16)
🧪 Testing:
- 15 comprehensive unit tests covering all scenarios
- All 26 unit tests passing
- Golden Command validation: `npm run pre-push` passed
- Build, lint, format, type-check: All passed
- Security audit: Clean
- Documentation: All 209 links validated
💡 Use Cases:
- Emergency cost control: Stop expensive runaway jobs
- Pipeline management: Cancel dependent jobs when upstream fails
- Development workflows: Quick cancellation during testing
- Resource management: Free up cluster resources
-**Troubleshooting Guides** - Common issues and solutions
133
133
-**IDE Integration** - TypeScript support
134
134
135
-
## 🛠️ Complete MCP Tools Suite (21 Tools)
135
+
## 🛠️ Complete MCP Tools Suite (22 Tools)
136
136
137
137
> **🔄 Enhanced with Generic Type Conversion**: All tools now benefit from automatic, type-safe data transformations with intelligent compression and field mapping.
0 commit comments