Skip to content

feat(cli): dispatch jobs asynchronously and push results/logs to the caller [PC-4873] - #1835

Draft
robert-ursu wants to merge 2 commits into
mainfrom
feat/async-job-dispatch-and-result-push
Draft

feat(cli): dispatch jobs asynchronously and push results/logs to the caller [PC-4873]#1835
robert-ursu wants to merge 2 commits into
mainfrom
feat/async-job-dispatch-and-result-push

fix(cli): type the job reporter as a protocol so the suite type-checks

e509941
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 19, 2026 in 1m 10s

Quality Gate failed

Failed conditions
82.6% Coverage on New Code (required ≥ 90%)
C Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 391 in packages/uipath/src/uipath/_cli/_server_jobs.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to not always return the same value.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ_MfUNp42i-k3WNN82h&open=AZ_MfUNp42i-k3WNN82h&pullRequest=1835

Check warning on line 299 in packages/uipath/src/uipath/_cli/_server_jobs.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ-zHA5tpJXd5UxoVYms&open=AZ-zHA5tpJXd5UxoVYms&pullRequest=1835

Check warning on line 391 in packages/uipath/src/uipath/_cli/_server_jobs.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ_MfUNp42i-k3WNN82g&open=AZ_MfUNp42i-k3WNN82g&pullRequest=1835

Check failure on line 247 in packages/uipath/src/uipath/_cli/_server_jobs.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an asynchronous file API instead of synchronous open() in this async function.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ-zHA5tpJXd5UxoVYmr&open=AZ-zHA5tpJXd5UxoVYmr&pullRequest=1835

Check warning on line 118 in packages/uipath/src/uipath/_cli/_server_jobs.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using HTTP protocol is insecure. Use HTTPS instead.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ-zHA5tpJXd5UxoVYmq&open=AZ-zHA5tpJXd5UxoVYmq&pullRequest=1835