Skip to content

[Studio] fix: handle partial topic batch deletion failures - #721

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080105
Aug 3, 2026
Merged

[Studio] fix: handle partial topic batch deletion failures#721
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080105

Conversation

@yx9o

@yx9o yx9o commented Aug 1, 2026

Copy link
Copy Markdown

What is the purpose of the change

Topic batch deletion stopped at the first failed request. Topics deleted before the failure remained visible, while later selected topics were not attempted, leaving the page inconsistent with the backend state.

Brief changelog

  • Continue processing the remaining topics when an individual deletion fails.
  • Return successfully deleted and failed topic names separately.
  • Remove only successfully deleted topics from the page.
  • Keep failed topics selected for retry and show partial failure feedback.

Verifying this change

  • Added service coverage for continuing after an individual deletion failure.
  • Added page coverage for partial success, retained selection, and user feedback.
  • Ran npm test.
  • Ran npm run lint.
  • Ran npm run build.
  • Ran Prettier checks and git diff --check.

@lizhimins
lizhimins merged commit 108c597 into apache:rocketmq-studio Aug 3, 2026
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