Commit 0ca6146
committed
fix(backend): correct satellite command event types for MCP deletion operations
Previously, deletion operations incorrectly sent 'mcp_installation_created'
events to satellites. This bug occurred because the code called
notifyMcpInstallation() for all operations including deletions.
Changes:
- Add notifyMcpDeletion() method to SatelliteCommandService
- Fix delete.ts route to use notifyMcpDeletion() instead of notifyMcpInstallation()
- Fix mcpServerCascadeDeletionWorker to use correct deletion method
- Fix teamService deleteTeam to use correct deletion method for all team installations
- Add comprehensive satellite commands documentation
- Update satellite communication docs with event types reference
This ensures database records and logs accurately reflect operation types
(mcp_installation_deleted vs mcp_installation_created) and sets proper
foundation for future event-driven satellite processing.1 parent 9c2e4c0 commit 0ca6146
File tree
4 files changed
+23
-4
lines changed- services/backend/src
- routes/mcp/installations
- services
- workers
4 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
329 | 348 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments