Skip to content

adding worker for callbacks

f6dd5aa
Select commit
Loading
Failed to load commit list.
Draft

Feat/execution backend #1819

adding worker for callbacks
f6dd5aa
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 10, 2026 in 1m 2s

Quality Gate failed

Failed conditions
11 Security Hotspots
8.0% Duplication on New Code (required ≤ 3%)
C Reliability 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 warning on line 437 in workers/tests/test_sanity_phase3.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockDispatcher" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHyaZs3qZ9uMzkDU&open=AZyvnHyaZs3qZ9uMzkDU&pullRequest=1819

Check failure on line 275 in workers/executor/executors/answer_prompt.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHwTZs3qZ9uMzkCo&open=AZyvnHwTZs3qZ9uMzkCo&pullRequest=1819

Check warning on line 513 in workers/tests/test_sanity_phase3.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockDispatcher" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHyaZs3qZ9uMzkDX&open=AZyvnHyaZs3qZ9uMzkDX&pullRequest=1819

Check warning on line 500 in workers/tests/test_sanity_phase5.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockX2Text" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHy_Zs3qZ9uMzkD0&open=AZyvnHy_Zs3qZ9uMzkD0&pullRequest=1819

Check warning on line 77 in docker/dockerfiles/worker-unified.Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this RUN instruction with the consecutive ones.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnH1WZs3qZ9uMzkEk&open=AZyvnH1WZs3qZ9uMzkEk&pullRequest=1819

Check warning on line 60 in unstract/sdk1/src/unstract/sdk1/execution/orchestrator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge these implicitly concatenated strings; or did you forget a comma?

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyy1AmBz_1JfW_Xr0e0&open=AZyy1AmBz_1JfW_Xr0e0&pullRequest=1819

Check warning on line 1081 in workers/shared/workflow/execution/service.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHxUZs3qZ9uMzkC4&open=AZyvnHxUZs3qZ9uMzkC4&pullRequest=1819

Check warning on line 119 in workers/tests/test_sanity_phase5.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "VariableReplacementService" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHy_Zs3qZ9uMzkDr&open=AZyvnHy_Zs3qZ9uMzkDr&pullRequest=1819

Check warning on line 578 in workers/tests/test_sanity_phase5.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockX2Text" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHy_Zs3qZ9uMzkD2&open=AZyvnHy_Zs3qZ9uMzkD2&pullRequest=1819

Check warning on line 220 in workers/tests/test_sanity_phase3.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockShim" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHyaZs3qZ9uMzkDN&open=AZyvnHyaZs3qZ9uMzkDN&pullRequest=1819

Check failure on line 399 in backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "generate_index_key" expects a different type

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHlEZs3qZ9uMzkCO&open=AZyvnHlEZs3qZ9uMzkCO&pullRequest=1819

Check warning on line 577 in workers/tests/test_sanity_phase5.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "MockShim" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHy_Zs3qZ9uMzkD1&open=AZyvnHy_Zs3qZ9uMzkD1&pullRequest=1819

Check warning on line 272 in workers/tests/test_answer_prompt.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnH0NZs3qZ9uMzkEW&open=AZyvnH0NZs3qZ9uMzkEW&pullRequest=1819

Check warning on line 1037 in workers/executor/executors/legacy_executor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "VariableReplacementService" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHwhZs3qZ9uMzkCx&open=AZyvnHwhZs3qZ9uMzkCx&pullRequest=1819

Check warning on line 6 in frontend/src/hooks/usePromptRun.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'pollForCompletion'.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHvqZs3qZ9uMzkCd&open=AZyvnHvqZs3qZ9uMzkCd&pullRequest=1819

Check warning on line 540 in workers/file_processing/structure_tool_task.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "platform_helper".

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnH0YZs3qZ9uMzkEh&open=AZyvnH0YZs3qZ9uMzkEh&pullRequest=1819

Check failure on line 115 in unstract/sdk1/src/unstract/sdk1/execution/dispatcher.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "No Celery app configured on ExecutionDispatcher" 3 times.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHwAZs3qZ9uMzkCi&open=AZyvnHwAZs3qZ9uMzkCi&pullRequest=1819

Check warning on line 130 in workers/tests/test_answer_prompt.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "EmbeddingCompat" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnH0NZs3qZ9uMzkEQ&open=AZyvnH0NZs3qZ9uMzkEQ&pullRequest=1819

Check failure on line 978 in workers/executor/executors/legacy_executor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyy1Anez_1JfW_Xr0e8&open=AZyy1Anez_1JfW_Xr0e8&pullRequest=1819

Check warning on line 416 in workers/tests/test_phase1_log_streaming.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "MockAnswerPromptService" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHx2Zs3qZ9uMzkC_&open=AZyvnHx2Zs3qZ9uMzkC_&pullRequest=1819

Check failure on line 558 in backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "generate_index_key" expects a different type

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHlEZs3qZ9uMzkCQ&open=AZyvnHlEZs3qZ9uMzkCQ&pullRequest=1819

Check warning on line 140 in workers/tests/test_sanity_phase4.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "EmbeddingCompat" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHz6Zs3qZ9uMzkEH&open=AZyvnHz6Zs3qZ9uMzkEH&pullRequest=1819

Check warning on line 490 in workers/tests/test_answer_prompt.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "RetrievalService" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnH0NZs3qZ9uMzkEX&open=AZyvnH0NZs3qZ9uMzkEX&pullRequest=1819

Check warning on line 474 in unstract/sdk1/tests/test_execution.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyvnHv1Zs3qZ9uMzkCg&open=AZyvnHv1Zs3qZ9uMzkCg&pullRequest=1819

Check warning on line 916 in unstract/sdk1/tests/test_execution.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused local variable "result".

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZyy1Ag3z_1JfW_Xr0ex&open=AZyy1Ag3z_1JfW_Xr0ex&pullRequest=1819