Skip to content

[WebToolsE2E][Aspire] After installing Aspire 8.1, the output of "cache" option in the Aspire dashboard shows few blanks lines when running Aspire Starter Application with Redis #4942

Closed

Description

@vmykagapuz

REGRESSION

  1. Worked in Aspire 8.0.0

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.11 Preview 5
  3. Install Aspire 8.1
  4. Install Docker Desktop

REPRO STEPS

  1. Create Aspire Starter Application with redis, build solution and run
  2. Navigate to Aspire dashboard > Console Logs > cache

ACTUAL
The output in the "cache" option shows few blanks lines
Aspire8 1

EXPECTED
The output in the "cache" option should not have blank lines
Aspire8 0

Activity

  1. changed the title [-][WebToolsE2E][Aspire] After installing Aspire 8.1, the output of "cache" option in the Aspire dashboard shows few blanks lines when running Aspire Starter project with redis[/-] [+][WebToolsE2E][Aspire] After installing Aspire 8.1, the output of "cache" option in the Aspire dashboard shows few blanks lines when running Aspire Starter Application with Redis[/+] on Jul 17, 2024
  2. added
    area-app-model
    on Jul 17, 2024
  3. balachir commented on Jul 17, 2024

    @balachir

    Mitch Denny (@mitchdenny) one more issue that you may want to consider for 8.1. It's a minor issue but a regression compared to Aspire 8.0.

  4. added this to the milestone on Jul 18, 2024
  5. added and removed
    area-app-model
    on Jul 18, 2024
  6. karolz-ms commented on Jul 18, 2024

    @karolz-ms
    Contributor

    These blank lines are coming from DCP; it is adding them to separate output of "startup log" commands.

    We could stop doing this altogether, or only emit separators when there is actual output from startup commands, or do something else. leslierichardson95 Let's have a chat.

  7. mitchdenny commented on Jul 21, 2024

    @mitchdenny
    Member

    Yeah so Balamurugan Chirtsabesan (@balachir) I think for now we consider this as by design. But I think we need to come up with a better log viewer experience when we consider multiple streams.

  8. vmykagapuz commented on Jul 22, 2024

    @vmykagapuz
    Author

    This issue is also found in the "messaging" and "sql" option under Console logs
    Messaging
    Sql

  9. leslierichardson95 commented on Jul 22, 2024

    @leslierichardson95

    Karol Zadora-Przylecki (@karolz-ms) I think we should only emit separators when the startup commands have actual output to display. Timeline-wise, this feels less pressing so 8.2 as a priority would be cool with me.

  10. modified the milestones: , on Jul 22, 2024
  11. karolz-ms commented on Aug 7, 2024

    @karolz-ms
    Contributor

    This should be fixed in DCP 0.6.0 or newer, which has been integrated into Aspire main this morning.

  12. vmykagapuz commented on Aug 8, 2024

    @vmykagapuz
    Author

    Karol Zadora-Przylecki (@karolz-ms) I verified this issue and still encounter it in Aspire 8.1.1. May I know if this result is expected or not?
    BugVerified

  13. karolz-ms commented on Aug 8, 2024

    @karolz-ms
    Contributor

    vmykagapuz this output is expected. Here is what is going on.

    The first line comes from container creation step. The associated container image is presumably cached, so there is nothing about image download and the only output from the container creation is the ID of the new container (the long alphanumeric string).

    Then there is a blank line separating the output of container creation step from container startup step.

    Then there is the output of container startup. The startup is smooth, so the only output from container orchestrator is the container ID again.

    Then the dashboard shows the output from actual running container. In the current implementation the dashboard does not visually separate the container creation and startup logs from running container logs, so the running container logs appear directly under container startup logs (no separator of any kind).

    leslierichardson95 please chime in (or open a new issue) if you think this could use some improvement.

  14. locked and limited conversation to collaborators on Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions