Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

up #1684

Merged
merged 2 commits into from
Dec 11, 2024
Merged

up #1684

merged 2 commits into from
Dec 11, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Dec 11, 2024

Important

This pull request adds comprehensive integration tests for document, collection, and user functionalities, along with minor code cleanups and a version update.

  • Integration Tests:
    • Add tests for document ingestion with invalid and excessive chunks in runner_documents.py.
    • Add tests for document deletion by complex filters and search with no match in runner_documents.py.
    • Add tests for user management, including adding/removing users from collections and superuser permission downgrades in runner_users.py.
    • Add tests for document sharing and access restrictions in runner_user_documents_collections.py.
  • Code Cleanup:
    • Remove unused print statement in collection.py.
    • Add missing print statement for debugging in document.py.
  • Version Update:
    • Update version in pyproject.toml from 3.3.11 to 3.3.13.

This description was created by Ellipsis for 3ca0897. It will automatically update as commits are pushed.

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review December 11, 2024 02:28
@emrgnt-cmplxty emrgnt-cmplxty merged commit 208f55d into main Dec 11, 2024
1 of 16 checks passed
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 3ca0897 in 1 minute and 52 seconds

More details
  • Looked at 935 lines of code in 8 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. py/pyproject.toml:8
  • Draft comment:
    The version number has been updated from 3.3.11 to 3.3.13. Ensure this change follows semantic versioning principles. If this update includes new features or breaking changes, consider updating the minor or major version number accordingly.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR includes a version bump in the pyproject.toml file, which is a common practice when making changes to a project. However, the version number should be incremented according to semantic versioning principles. The change from 3.3.11 to 3.3.13 suggests a patch update, but without a description, it's unclear if this is appropriate.
2. py/tests/integration/runner_user_documents_collections.py:413
  • Draft comment:
    Remove print statements used for debugging purposes. Consider using logging instead for better control over output verbosity and destination. This applies to other similar instances in the test files.
  • Reason this comment was not posted:
    Marked as duplicate.

Workflow ID: wflow_rZAfO5c5p8GCd3tX


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@@ -442,6 +453,7 @@ async def get_documents_overview(

try:
results = await self.connection_manager.fetch_query(query, params)
print("results = ", results)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove print statements used for debugging purposes. Consider using logging instead for better control over output verbosity and destination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant