-
Notifications
You must be signed in to change notification settings - Fork 2k
Fix/remove ee from mit #4682
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
Fix/remove ee from mit #4682
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR moves several enterprise edition (EE) features and configurations from the MIT version to the EE version of Onyx, focusing on cleaning up code organization and dependencies.
Key changes:
- Relocated OAuth client configurations (Slack, Confluence, Google Drive) from EE to MIT version's app_configs.py
- Moved external group syncing and cloud task management to EE-specific directories
- Transferred query history export tasks from MIT to EE version
- Relocated standard answer models from EE to MIT version while maintaining functionality
- Implemented dynamic feature loading for EE-specific functionality using
fetch_ee_implementation_or_noop
The changes appear well-structured but there are a few concerns:
- Some files still contain EE imports that need to be addressed (e.g.,
ee.onyx.server.oauth.api_router
) - Moving
get_all_query_history_export_tasks
to EE while trying to remove EE references seems contradictory - The datetime usage in cleanup tasks doesn't account for timezone awareness
29 file(s) reviewed, 10 comment(s)
Edit PR Review Bot Settings | Greptile
f574b54
to
d321d7f
Compare
* Remove some ee imports * more * Remove all ee imports * Fix * Autodiscover * fix * Fix typing * More celery task stuff * Fix import
* Remove some ee imports * more * Remove all ee imports * Fix * Autodiscover * fix * Fix typing * More celery task stuff * Fix import
* Remove some ee imports * more * Remove all ee imports * Fix * Autodiscover * fix * Fix typing * More celery task stuff * Fix import
Description
Fixes https://linear.app/danswer/issue/DAN-1955/remove-any-references-to-ee-code-from-the-mit-version-of-onyx
How Has This Been Tested?
Tested:
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.