Repository navigation
Preserve console log batches and avoid reapplying end-anchor initialization - #21055
Draft
Ilona Tomkowicz (ilonatommy) wants to merge 2 commits into
Draft
Ilona Tomkowicz (ilonatommy) wants to merge 2 commits into
Ilona Tomkowicz (ilonatommy) wants to merge 2 commits into
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 21055Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 21055" |
Co-authored-by: Copilot <[email protected]> Copilot-Session: 86ec127e-922b-423b-9f48-635a8ded449d
Contributor
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixing UX issue found when investigating dotnet/aspnetcore#69823. It was not proven yet that this fixes the same issue the reporter submitted to aspnetcore.
UX problem
When appending a batch of logs, with end-pinning feature on, we would expect the view to change the previous last entry to the next last entry. In reality, there is a mid-step where an index in between previous and next last entry renders shortly on the screen.
Details
Before (append clicked 3x, each of them look like a double append due to the mid-state):aspire-issue.mp4
After:
after-fix.mp4
Description
Keep incoming console log batches in the original shape when publishing them to the Dashboard's log viewer.
Previously, the producer queued each parsed line separately. The consumer could drain the queue before the producer finished parsing a batch, exposing an intermediate, incomplete batch to the viewer. Queue complete parsed batches instead and flatten them on consumption. This preserves the producer-consumer separation and existing 100 ms batching interval.
Checklist
<remarks />and<code />elements on your triple slash comments?