### Steps to reproduce 1. Submit a run that prints one or more lines of logs: ``` type: task nodes: 1 commands: - echo "12345" - echo "6789" ``` 2. See the logs displayed many times in the UI: <img width="1190" height="221" alt="Image" src="https://github.com/user-attachments/assets/bf0cca99-b31e-4066-8e40-8bf76d576e06" /> ### Actual behaviour The problem seems to be on the UI side (after #2915) since the UI makes many /logs/poll even if next_token is null. ### Expected behaviour _No response_ ### dstack version master ### Server logs ```shell ``` ### Additional information _No response_
Activity
[-][Bug]: The UI shows logs[/-][+][Bug]: The UI shows logs multiple times[/+]