feat: allow invoke to be extended with middleware#561
Merged
gheorghitahurmuz merged 1 commit intomainUiPath/uipath-python:mainfrom Sep 11, 2025
Merged
feat: allow invoke to be extended with middleware#561gheorghitahurmuz merged 1 commit intomainUiPath/uipath-python:mainfrom
gheorghitahurmuz merged 1 commit intomainUiPath/uipath-python:mainfrom
Conversation
6634552 to
097a9f2
Compare
097a9f2 to
1010551
Compare
There was a problem hiding this comment.
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.
1010551 to
b048b71
Compare
cristipufu
approved these changes
Sep 10, 2025
anbalase
approved these changes
Sep 10, 2025
b048b71 to
c31dc0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add option to extend the
invokecommand with other plugins, similar tonewandinitcommands