microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.62k stars 322 forks source link

[Environments reliability] Unable to create Dev Box environments if multiple users are logged in Dev Home #3677

Closed huzaifa-d closed 1 month ago

huzaifa-d commented 2 months ago

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Make sure at least two users are logged in Dev Home, and one of them doesn't have Dev Boxes configured. One of the simplest ways to check this is to open Environments page; it should show an error message stating "") Try to create an Environment

Expected result

No response

Actual result

The operations fails with image And the logs/logging out the unconfigured user confirms the root cause of the issue.

Included System Information

No response

Included Extensions Information

No response

github-actions[bot] commented 2 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

huzaifa-d commented 2 months ago

This will probably need some design as well since there will need to be a way to select the account a user might want to use.

huzaifa-d commented 1 month ago

This also repros when running on a fresh setup, with no users logged in Dev Home. In this case, the error message should state this like in Environments page.