Update: More is broken here than just the order of logs. See #4893 (comment) for details.
Regression: Not a regression, this issue also reproduces on VS 17.11.0 preview 3 with Aspire 8.0.0
Clean machine: Win11 x64 23h2 ENU
VS Version: VS 17.12.0 Preview 1.0 [35113.27.main]
Aspire Version: 8.1.0-preview.1.24362.2
Apply NuGet Feeds
REPRO STEPS:
- Create a new .NET Aspire Starter Application with redis checked -> Run
dotnet run in the AppHost.project folder.
- Click "View" of the project or container under the "Logs" in the Dashboard.
- Return to "Resource" -> Click "View" of the project or container under the "Logs" in the Dashboard again.
- Check whether the sequence number of the log remains unchanged.
Expect:
The sequence number of the log remains unchanged.
Actual:
The sequence number of the log changes.

More Info:
This issue also reproduces for other projects.