Skip to content

Support admin stop user deploy and workflow#1192

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2638_5fbb8df
Jun 23, 2026
Merged

Support admin stop user deploy and workflow#1192
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2638_5fbb8df

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Added new admin APIs (PUT /admin/cluster/deploys/:id/stop and PUT /admin/cluster/workflows/:id/stop) to allow administrators to stop user deployments and workflows, bypassing ownership checks.
  • Fixed the DeleteWorkFlow logic to update workflow status to Canceled within a transaction before soft-deleting, ensuring data consistency and preventing orphaned records with misleading statuses.
  • Implemented stub methods for Community Edition (CE) to maintain build compatibility while restricting the new functionality to Enterprise Edition (EE).

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1191

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886 HaiHui886 merged commit 71e34cf into main Jun 23, 2026
7 checks passed
@HaiHui886 HaiHui886 deleted the sync_mr_2638_5fbb8df branch June 23, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants