Skip to content

[Studio] fix: avoid false success messages when proxy refresh fails - #674

Open
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-072903
Open

[Studio] fix: avoid false success messages when proxy refresh fails#674
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-072903

Conversation

@yx9o

@yx9o yx9o commented Jul 29, 2026

Copy link
Copy Markdown

What is the purpose of the change

The Proxy page always displayed a refresh success message immediately after starting the request. When the request failed, users received conflicting success and error messages.

Brief changelog

  • Wait for the proxy list refresh request to complete.
  • Show the success message only when the refresh succeeds.
  • Add tests for successful and failed refresh scenarios.

Verifying this change

  • npm test -- --run src/pages/studio/__tests__/Proxy.test.tsx
  • npm test -- --maxWorkers=2
  • npm run lint
  • npm run build

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.

1 participant