microsoft / microsoft/vscode-azureresourcegroups

The `revealAzureResource` API, when used to reveal a resource group, does nothing if the grouping isn't by resource group

Open
#956 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

In the AZD extension we have a command to reveal the Azure resource group that is associated with a particular deployed environment. We use the Azure Resources extensions API to do this, in particular api.resources.revealAzureResource(). However, when revealing resource groups, nothing happens if the resources view isn't grouped by resource group. Ideally, we would at least warn and provide an option to switch.

Discovered from https://github.com/Azure/azure-dev/issues/4532

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of api.resources.revealAzureResource() and reproduce the behavior with the Azure Resources view grouped by something other than resource group. Trace how resource-group reveal requests are handled and how grouping changes are exposed. Done means a reveal request no longer silently does nothing: the user is warned and can switch to resource-group grouping.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.