89799969 opened a new pull request, #4214: URL: https://github.com/apache/rocketmq-dashboard/pull/4214
### Which Issue(s) This PR Fixes - Fixes #4176 ### Brief Description The backend already ignores endpoint updates for Aliyun/Tencent instances and resolves the endpoint from the cloud catalog (`InstanceService.updateInstance` only calls `setEndpoint` for non-cloud vendors). The edit dialog still rendered an editable 接入地址 input and always showed success, so operators could believe an endpoint change was saved. This change disables the endpoint field when editing a cloud instance, matching the existing cloud-only type lock and the `instance.cloudEndpointExtra` copy. ### How Did You Test This Change? ```text Node 24 vitest run src/pages/instance/__tests__/InstancePage.test.tsx -t "disables the endpoint" Test Files 1 passed (1) Tests 1 passed | 23 skipped (24) Node 24 vitest run src/pages/instance/__tests__/InstancePage.test.tsx -t "updates instance type and endpoint" Test Files 1 passed (1) Tests 1 passed | 23 skipped (24) ``` AI-assisted contribution; implementation and tests were reviewed and verified locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
