forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.metaIssue that is tracking an overall projectIssue that is tracking an overall projectneeds spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.
Description
Postmortem on Python API related bugs and causes
Each bug is listed into categories and marked if it could've been prevented with the stated precaution:
Bugs and potential precautionary measures
- resolveEnvironment returns
undefined(only reproducible on Jupyter CI) #20147- Using public API internally
- Adding unit tests for API surface
- Adding VSCode system tests
- Slow environments.known #20221
- Using public API internally
- Adding unit tests for API surface
- Adding VSCode system tests
- Newly created prefix conda environments are identified as named #20069
- Using public API internally
- Adding unit tests for API surface
- Adding VSCode system tests
- resolved Environments have an invalid type for workspaceFolder, cannot be stored in memento #20104
- Using public API internally
- Adding unit tests for API surface
- Adding more internal tests
- resolved version for environments without python is incorrect, should be undefined instead #20110
- Using public API internally
- Adding unit tests for API surface
- resolved
namechanges fromundefinedto empty string while discovering #20070- Using public API internally
- Adding unit tests for API surface
- resolveEnvironment returns partial environment info from cache the first time (only the first session) #20147
- Using public API internally
- Adding unit tests for API surface
- Adding more internal tests
Expected behavior (required clarification or bug at Jupyter):
- API request for whether a refresh is going on: Misunderstanding on Jupyter's part #20188
- Envs returned via Python API contains envs from all workspaces #20068
- Workspace folder property contains path to env folder instead #20105
- Incorrect CLI args used to get activated conda enviornments #20071
- Clear documentation on the arguments for
resolveEnvironment#20220 - Python API triggers add events even after refresh promise has resolved #20216
- resolveEnvironment returns
undefinedwhen it should not #20239 - Request to active interpreter returns Uris with different casings for the same environment #20300
Non reproducible:
- Jupyter claims sysprefix changes, not reproducible #20070
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.metaIssue that is tracking an overall projectIssue that is tracking an overall projectneeds spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.