Skip to content

Sometimes a long delay is observed after aspnet by dotnetup as it sets up the env in codespaces #55708

Description

@nagilson

Prerequisites

Issue type

Bug report

Description

I observed while trying to repro #55700 that the text between

Installed at /home/codespace/.local/share/dotnetup/dotnet:
  aspnet (runtime) 9.0.14
  dotnet (runtime) 9.0.14

and

Your shell profile has been updated. Restart your terminal or source your profile to use 'dotnet' directly.
Setup complete!

seemed to take several seconds to appear. This was slow and confusing as I thought dotnetup had crashed, or I thought this was a regression of the telemetry exit delay but it appears to be something else. Obviously at the very least if we're doing something very time-consuming we should communicate that, but I don't think it should really take this long to change the shell profile? It could be file contention in codespaces perhaps but I wouldn't see this as possible for how long it took. We should investigate.

dotnetup version

No response

Metadata

Metadata

Assignees

Labels

Area-dotnetupWork items around the proposed `dotnetup` bootstrapper/toolchain management tool and librarycookieIssue Monster Loves Cookies!performance

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions