-
Notifications
You must be signed in to change notification settings - Fork 45.3k
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(backend): Move Notification service to DB manager #9626
fix(backend): Move Notification service to DB manager #9626
Conversation
The PR shows concerning changes in get_graph_executions where the user_id parameter is made optional without explanation of how this would be protected from unauthorized access. While the changes themselves seem well organized (moving DB operations to the DB manager), this security implication needs to be addressed. Additionally, the PR template is not filled out properly - missing test plan and clear listing of changes. |
β Deploy Preview for auto-gpt-docs-dev canceled.
|
Here's the code health analysis summary for commits Analysis Summary
|
β Deploy Preview for auto-gpt-docs canceled.
|
DatabaseManager is already provisioned in RestApiService, and NotificationService lives within the same instance as the Rest Server. ### Changes ποΈ Moving the DB calls of NotificationService to DatabaseManager. ### Checklist π #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> (cherry picked from commit f4d4bb8)
DatabaseManager is already provisioned in RestApiService, and NotificationService lives within the same instance as the Rest Server.
Changes ποΈ
Moving the DB calls of NotificationService to DatabaseManager.
Checklist π
For code changes:
Example test plan
For configuration changes:
.env.example
is updated or already compatible with my changesdocker-compose.yml
is updated or already compatible with my changesExamples of configuration changes