Skip to content

[WIP] Initial implementation of pulse listener#6246

Draft
evgenyrp wants to merge 2 commits into
mozilla:masterfrom
evgenyrp:hackbot_pulse_listener
Draft

[WIP] Initial implementation of pulse listener#6246
evgenyrp wants to merge 2 commits into
mozilla:masterfrom
evgenyrp:hackbot_pulse_listener

Conversation

@evgenyrp

Copy link
Copy Markdown
Contributor

@suhaibmujahid this is just to show the idea of a separate simple queue listener that calls the API. It does listen properly, but to test it in integration with the API, I need the build repair agent deployed. It also emails the result to a developer.

The good thing about it is that it does not interfere with the API deployment, and the API stays single-responsibility. All the triggers and result processing live separately. It can be developed and tested separately "microservices" way.

The downside is that we need to manage a separate deployment. It could be a part of the same deployment stack as the API and UI, though.

Notification about run outcomes is out of scope for the listener (mozilla#6261);
it will live in the API or a separate service. Drop the SendGrid email
sender, the run-polling worker, the get_run API client, and the
ThreadPoolExecutor that fed them, along with their settings and deploy
config.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant