Skip to content

Commit

Permalink
Add missing await when resolving environment variables / Release 2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jan 20, 2025
1 parent 308ef49 commit fc1f8e1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Unreleased

## New in 2.9.2 (2025-01-20)

- Fixed error internally setting up the environment when running a task or action.
- Note: this made running with work items locally fail.

## New in 2.9.1 (2025-01-20)

- Fixed error where the extension would not pass data server information when running a `@predict`.
Expand Down
2 changes: 1 addition & 1 deletion sema4ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/Sema4AI/vscode-extension/.git"
},
"license": "SEE LICENSE",
"version": "2.9.1",
"version": "2.9.2",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.65.0"
Expand Down
2 changes: 1 addition & 1 deletion sema4ai/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sema4ai-vscode-extension"
version = "2.9.1"
version = "2.9.2"
description = "Sema4.ai: Visual Studio Code Extension for AI Actions and Robot Tasks development"
authors = ["Fabio Zadrozny <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sema4ai/src/sema4ai_code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
from typing import List

__version__ = "2.9.1"
__version__ = "2.9.2"
version_info: list[int] = [int(x) for x in __version__.split(".")]

__file__ = os.path.abspath(__file__)
Expand Down
2 changes: 1 addition & 1 deletion sema4ai/vscode-client/src/activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ export async function updateLaunchEnvironmentPart0(args): Promise<{ [key: string
// - Vault
// - Work items

const newEnv = updateLaunchEnvironmentCommonTasksAndActions(environment);
const newEnv: { [key: string]: string } = await updateLaunchEnvironmentCommonTasksAndActions(environment);

let vaultInfoActionResult: ActionResult<IVaultInfo> = await commands.executeCommand(
roboCommands.SEMA4AI_GET_CONNECTED_VAULT_WORKSPACE_INTERNAL
Expand Down
2 changes: 1 addition & 1 deletion sema4ai/vscode-client/src/debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class RobocorpCodeDebugConfigurationProvider implements DebugConfiguratio
return;
}

let env = interpreter.environ;
let env: { [key: string]: string } = interpreter.environ;
const baseEnv = debugConfiguration.baseEnv;
if (baseEnv) {
env = { ...env, ...baseEnv };
Expand Down

0 comments on commit fc1f8e1

Please sign in to comment.