Skip to content

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Jun 12, 2025

Pull Request Overview

This pull request fixes registration for folder-scoped execution by requiring the UIPATH_FOLDER_KEY environment variable before initiating the runtime registration.

  • Adds an environment variable check for UIPATH_FOLDER_KEY in the runtime registration process.
  • Updates the request header to include the folder key.
  • Bumps the project version from 0.0.87 to 0.0.88.

@cristipufu cristipufu self-assigned this Jun 12, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes registration for folder-scoped execution by requiring the UIPATH_FOLDER_KEY environment variable before initiating the runtime registration.

  • Adds an environment variable check for UIPATH_FOLDER_KEY in the runtime registration process.
  • Updates the request header to include the folder key.
  • Bumps the project version from 0.0.87 to 0.0.88.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/uipath_mcp/_cli/_runtime/_runtime.py Adds folder key retrieval and header inclusion in the runtime registration.
pyproject.toml Updates the project version number from 0.0.87 to 0.0.88.
Comments suppressed due to low confidence (1)

src/uipath_mcp/_cli/_runtime/_runtime.py:378

  • [nitpick] The environment variable 'UIPATH_FOLDER_KEY' is used to set the header 'X-UIPATH-FolderKey'. For consistency, consider aligning the naming conventions (e.g., using all uppercase with underscores for the header key if that matches server expectations) to avoid any potential misinterpretation.
folder_key = os.environ.get("UIPATH_FOLDER_KEY")

@cristipufu cristipufu merged commit 31df562 into main Jun 12, 2025
4 checks passed
@cristipufu cristipufu deleted the fix/register_folder_scoped branch June 12, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant