unstract icon indicating copy to clipboard operation
unstract copied to clipboard

CodeRabbit Generated Unit Tests: Add tests for float sanitization and BigQuery precision limits

Open coderabbitai[bot] opened this issue 2 months ago • 3 comments

Unit test generation was requested by @muhammad-ali-e.

  • https://github.com/Zipstack/unstract/pull/1593#issuecomment-3406637288

The following files were modified:

  • unstract/connectors/tests/databases/test_bigquery_db.py
  • unstract/connectors/tests/databases/test_utils.py
  • workers/shared/tests/__init__.py
  • workers/shared/tests/infrastructure/__init__.py
  • workers/shared/tests/infrastructure/database/__init__.py
  • workers/shared/tests/infrastructure/database/test_utils.py

coderabbitai[bot] avatar Oct 15 '25 17:10 coderabbitai[bot]

[!IMPORTANT]

Review skipped

CodeRabbit bot authored PR detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Oct 15 '25 17:10 coderabbitai[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
8.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar Oct 15 '25 17:10 sonarqubecloud[bot]

@muhammad-ali-e can we make it generate based on pytest and in a way it can run with our existing testing action?