microsoft / microsoft/powerplatform-vscode
pac env list shows outdated info
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
Running pac env list fetches outdated info if you recently created or deleted environments. I deleted some environments almost 1 day ago and am still seeing them when running pac env list. When running pac admin list the current list of environments is shown correctly. Unfortunately, selecting an environment is not possible with the output of pac admin. It looks only the environments shown when running pac environment list are available to select in an auth profile for performing operations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the difference between pac env list, pac environment list, and pac admin list after creating or deleting an environment. Trace the entry points for these commands and compare how they obtain environment data; done means the user-facing list reflects current environments and those environments can be selected in an auth profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100