microsoft / microsoft/powerplatform-vscode

pac env list shows outdated info

Open
#1,002 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.