Skip to content

Feat/un 3445 pg queue integration#2108

Draft
muhammad-ali-e wants to merge 67 commits into
mainfrom
feat/UN-3445-pg-queue-integration
Draft

Feat/un 3445 pg queue integration#2108
muhammad-ali-e wants to merge 67 commits into
mainfrom
feat/UN-3445-pg-queue-integration

UN-3445 [FIX] PG queue — indexed claim state removes high-concurrency…

c9ea34d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 9, 2026 in 1m 58s

Annotations

Check warning on line 282 in workers/tests/test_pg_consumer_supervisor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 892 in workers/tests/test_pg_barrier.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 1611 in workers/tests/test_pg_barrier.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check failure on line 161 in backend/backend/settings/base.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "http://localhost" 3 times.

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

Check warning on line 312 in workers/tests/test_leader_election.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 147 in workers/tests/test_executor_rpc.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 155 in workers/tests/test_pg_queue_client.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 1259 in workers/tests/test_pg_barrier.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 86 in workers/tests/test_structure_tool_task.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 691 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 34 in workers/queue_backend/pg_queue/schema.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\w' instead of '[A-Za-z0-9_]'.

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

Check warning on line 95 in workers/tests/test_pg_queue_client.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 47 in workers/tests/test_pg_scheduler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 189 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ8eTx6kk9_1nnhSHZn-&open=AZ8eTx6kk9_1nnhSHZn-&pullRequest=2108

Check warning on line 270 in workers/tests/test_pg_consumer_supervisor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 168 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 180 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 210 in pg_benchmark/pg_benchmark/db.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this comprehension with passing the iterable to the dict constructor call

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

Check failure on line 44 in pg_benchmark/pg_benchmark/probe.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 727 in workers/tests/test_pg_queue_consumer.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 973 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

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

Check warning on line 172 in workers/tests/test_pg_reaper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check failure on line 431 in workers/queue_backend/pg_queue/consumer.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 129 in workers/tests/test_pg_barrier.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check warning on line 144 in workers/tests/test_pg_queue_client.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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