Skip to content

feat: allow invoke to be extended with middleware#561

Merged
gheorghitahurmuz merged 1 commit into
mainfrom
feat/middleware-invoke
Sep 11, 2025
Merged

feat: allow invoke to be extended with middleware#561
gheorghitahurmuz merged 1 commit into
mainfrom
feat/middleware-invoke

Conversation

@gheorghitahurmuz

@gheorghitahurmuz gheorghitahurmuz commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Add option to extend the invoke command with other plugins, similar to new and init commands

This comment was marked as outdated.

@gheorghitahurmuz gheorghitahurmuz force-pushed the feat/middleware-invoke branch 2 times, most recently from 6634552 to 097a9f2 Compare September 10, 2025 12:50

This comment was marked as outdated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds middleware extension capability to the invoke command, allowing plugins to hook into the invoke execution flow similar to existing new and init commands.

  • Added "invoke" to the list of supported middleware commands
  • Integrated middleware execution in the invoke command flow with proper error handling and control flow

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/uipath/_cli/middlewares.py Added "invoke" to the middleware registry
src/uipath/_cli/cli_invoke.py Integrated middleware execution with error handling and flow control

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/uipath/_cli/cli_invoke.py Outdated
@gheorghitahurmuz gheorghitahurmuz merged commit fea35fb into main Sep 11, 2025
16 checks passed
@gheorghitahurmuz gheorghitahurmuz deleted the feat/middleware-invoke branch September 11, 2025 12:11
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.

4 participants