Skip to content

SAN-954: add exact Swarm service removal API#4848

Open
josh-scalestorm wants to merge 1 commit into
Dokploy:canaryfrom
josh-scalestorm:agent/hetzner-migration-developer/77f456c5
Open

SAN-954: add exact Swarm service removal API#4848
josh-scalestorm wants to merge 1 commit into
Dokploy:canaryfrom
josh-scalestorm:agent/hetzner-migration-developer/77f456c5

Conversation

@josh-scalestorm

Copy link
Copy Markdown

Summary

  • add POST /swarm.removeService for exact Docker Swarm service IDs
  • validate full 25-character service IDs before local or remote command dispatch
  • enforce remote-server organization access and audit successful removals
  • propagate Docker removal failures and cover safe dispatch and validation with unit tests

Verification

  • targeted Vitest: 4 tests passed
  • Dokploy app typecheck: passed
  • server package typecheck: passed
  • focused Biome and git diff check: passed
  • generated OpenAPI inspection confirmed POST /swarm.removeService; the generated file is omitted because the current checked-in spec has broad unrelated drift

No production control-plane or Docker service-removal operation was executed.

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. pr-open labels Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-open size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants