123123213weqw opened a new issue, #1455:
URL: https://github.com/apache/rocketmq-dashboard/issues/1455

   ## Bug Report
   
   ### Runtime
   
   - Branch: `rocketmq-studio`
   - Base: `de6f131`
   
   ### Problem
   
   `DataSourceTab` stores connection-test progress in one `testingKey`. Tests 
for different rows are allowed to run concurrently, so the second click 
replaces the first key. When either request finishes, its `finally` block sets 
the shared key to `null`, clearing the loading indicator for every 
still-running test.
   
   This makes an in-flight row look idle and allows another test to be launched 
for the same source before its current request completes.
   
   ### Reproduction
   
   1. Configure two unauthenticated Metrics data sources.
   2. Click **Test connection** on both rows before the first request completes.
   3. Let the first request finish while the second stays pending.
   4. Observe that the second row loses its loading state even though its 
request is still running.
   
   ### Expected
   
   Each data source test owns an independent loading entry. Finishing one 
request removes only that row's entry.
   
   ### Scope
   
   - track connection tests as a set of row/modal keys
   - preserve per-row loading until its own request settles
   - add a regression test with two deferred requests
   


-- 
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]

Reply via email to