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

feat(backend): working branch for notifications service #9415

Draft
wants to merge 150 commits into
base: dev
Choose a base branch
from

Conversation

ntindle
Copy link
Member

@ntindle ntindle commented Feb 4, 2025

We want to send emails on a schedule, in response to events, and be expandable without being overbearing on the amount of effort to implement. We also want this to use rabbitmq and be easy for other services to send messages into

Changes 🏗️

Adds expiration for messages
Adds other queue types
adds summary messages

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:

@github-actions github-actions bot added platform/backend AutoGPT Platform - Back end conflicts Automatically applied to PRs with merge conflicts labels Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Copy link

netlify bot commented Feb 4, 2025

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
🔨 Latest commit f5f466d
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/67b5f59a6307a600082c8c1f

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

Copy link

deepsource-io bot commented Feb 4, 2025

Here's the code health analysis summary for commits a0be165..f5f466d. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Python LogoPython✅ Success
❗ 22 occurences introduced
🎯 8 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

netlify bot commented Feb 4, 2025

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit 0b071c5
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/67a232ef6ac514000850088d
😎 Deploy Preview https://deploy-preview-9415--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 4, 2025

Deploy Preview for auto-gpt-docs canceled.

Name Link
🔨 Latest commit f5f466d
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/67b5f59af767040008b38ea9

Comment on lines 54 to 65
# for execution in executions:
# stats["total_credits_used"] += execution.credits_used
# stats["total_execution_time"] += execution.execution_time
# stats[
# "successful_runs" if execution.status == "completed" else "failed_runs"
# ] += 1
# stats["agent_usage"][execution.agent_type] += execution.credits_used
Copy link
Member Author

Choose a reason for hiding this comment

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

we need to make these data objects and models

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@ntindle ntindle force-pushed the ntindle/secrt-1077-add-email-service branch from dfcf7a8 to 66d76e4 Compare February 6, 2025 19:12
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 6, 2025
Copy link
Contributor

github-actions bot commented Feb 6, 2025

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@ntindle ntindle changed the base branch from dev to ntindle/secrt-1086-deploy-rabbitmq-as-part-of-our-docker-compose February 6, 2025 19:13
@ntindle ntindle force-pushed the ntindle/secrt-1077-add-email-service branch from 36c25d3 to 8c86679 Compare February 6, 2025 23:30
@ntindle ntindle changed the base branch from ntindle/secrt-1086-deploy-rabbitmq-as-part-of-our-docker-compose to ntindle/secrt-1087-attach-rabbit-mq-to-the-services-processes-similar-to-how February 6, 2025 23:30
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 14, 2025
@ntindle ntindle changed the base branch from ntindle/secrt-1079-add-ability-to-send-emails-from-notification-service to andrewhooker2/secrt-1077-add-email-service-settings-page February 14, 2025 07:18
…e' into ntindle/secrt-1077-add-email-service
@github-actions github-actions bot added platform/frontend AutoGPT Platform - Front end size/xl conflicts Automatically applied to PRs with merge conflicts and removed size/l labels Feb 14, 2025
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Base automatically changed from andrewhooker2/secrt-1077-add-email-service-settings-page to dev February 19, 2025 15:09
@github-actions github-actions bot removed platform/frontend AutoGPT Platform - Front end conflicts Automatically applied to PRs with merge conflicts labels Feb 19, 2025
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot added size/m and removed size/xl labels Feb 19, 2025
@github-actions github-actions bot added size/s and removed size/m labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end size/s
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants