vscode-azurestorage icon indicating copy to clipboard operation
vscode-azurestorage copied to clipboard

Have to refresh the tree in order to see newly created storage accounts

Open motm32 opened this issue 2 years ago • 3 comments

v2 forward compat

motm32 avatar Feb 07 '23 00:02 motm32

I'm unable to reproduce this. I tried from palette, context menus, and the "Create Resource..." command. Anything specific you did?

alexweininger avatar Feb 07 '23 00:02 alexweininger

I am creating it from the context menu but after a few tries it seems to be unstable since sometimes it shows up and sometimes it doesn't. Very strange 🫠

motm32 avatar Feb 07 '23 01:02 motm32

Ok, good to know. I will keep trying to reproduce.

edit: reproduced first try now, my lucky day

After reproducing, the Resources tree is refreshing after the Storage account is created, the account just doesn't appear. It appears on a subsequent manual refresh though.

I suspect this is a case of the newly created Storage account not being returned by the list operation in resource groups.

alexweininger avatar Feb 07 '23 01:02 alexweininger