Skip to content

Extract the push-notification service from statusd into a separate command #6503

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

Open
seanstrom opened this issue Apr 7, 2025 · 2 comments · May be fixed by #6520
Open

Extract the push-notification service from statusd into a separate command #6503

seanstrom opened this issue Apr 7, 2025 · 2 comments · May be fixed by #6520
Assignees
Labels
go Pull requests that update Go code infra

Comments

@seanstrom
Copy link
Member

Summary

  • Currently, statusd uses the old approach to run status-go, by providing NodeConfig, instead of using modern CreateAccountAndLogin, LoginAccount, etc.
    • This has drawbacks that we have to keep some deprecated code just to keep statusd working.
  • To replace it, we have the new status-backend which provides enough functionality. If REST API is not ideal for some needs, a new app can be implemented, which would utilize the modern status-go accounts API.
    • However, statusd is still used in notify.prod as push-notification servers for mobile app.

The goal

  • We should try to extract the push-notification service from statusd into a separate command like cmd/push-notifications-server
    • This will allow us to remove the remaining usages of statusd and allow us to eventually remove the code completely.
  • And we should migrate the notification infrastructure to using the new cmd/push-notifications-server instead of statusd.
@seanstrom seanstrom added go Pull requests that update Go code infra labels Apr 7, 2025
@igor-sirotin
Copy link
Collaborator

igor-sirotin commented Apr 9, 2025

@igor-sirotin igor-sirotin linked a pull request Apr 11, 2025 that will close this issue
@igor-sirotin
Copy link
Collaborator

FYI, I was working on the status-go architecture, and it helped me understand how the Push Notification Server should look like. I've opened a draft PR:

This is not tested. Just shows the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code infra
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants