Skip to content

CI: test failure #1236

@karthiknadig

Description

@karthiknadig
1) Interpreter Selection - resolveGlobalEnvironmentByPriority
       should use defaultInterpreterPath for global scope when configured:
     TypeError: ((0 , workspace_apis_1.getWorkspaceFolders)(...) ?? []).forEach is not a function
      at resolveVariables (src/common/utils/internalVariables.ts:20:35)
      at resolvePriorityChainCore (src/features/interpreterSelection.ts:109:57)
      at resolveGlobalEnvironmentByPriority (src/features/interpreterSelection.ts:177:30)
      at Context.<anonymous> (src/test/features/interpreterSelection.unit.test.ts:740:64)
      at processImmediate (node:internal/timers:485:21)

  2) Interpreter Selection - resolveGlobalEnvironmentByPriority
       should use original user path for global scope even when nativeFinder resolves to different executable:
     TypeError: ((0 , workspace_apis_1.getWorkspaceFolders)(...) ?? []).forEach is not a function
      at resolveVariables (src/common/utils/internalVariables.ts:20:35)
      at resolvePriorityChainCore (src/features/interpreterSelection.ts:109:57)
      at resolveGlobalEnvironmentByPriority (src/features/interpreterSelection.ts:177:30)
      at Context.<anonymous> (src/test/features/interpreterSelection.unit.test.ts:784:64)
      at processImmediate (node:internal/timers:485:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions