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

Remove specialist topics from email-alert-service #732

Merged

Conversation

unoduetre
Copy link
Contributor

@unoduetre unoduetre commented Apr 10, 2024

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Remove specialist topics from the supported attributes in email-alert-service.

Please investigate and make a note on the PR about what the `:topic` field is referring to here: https://github.com/alphagov/email-alert-service/blob/53ce12e4ea8f5643dbb3051c8ec5c9651afa8b6b/lib/tasks/message_queues.rake#L10C45-L10C51

Why

Retiring specialist topics.

Trello card

@unoduetre unoduetre marked this pull request as ready for review April 10, 2024 09:03
@unoduetre
Copy link
Contributor Author

unoduetre commented Apr 10, 2024

The :topic field mentioned in the requirement is unrelated and it’s a message type of RabbitMQ: https://www.rabbitmq.com/tutorials/amqp-concepts#exchange-topic

@unoduetre
Copy link
Contributor Author

unoduetre commented Apr 10, 2024

We've got some questions related to this PR, so those need to be answered first before it's merged, so I've marked it as "do not merge" until those are answered. More info in the comments in the linked ticket.

Copy link
Contributor

@hannako hannako left a comment

Choose a reason for hiding this comment

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

I've made a couple of notes here. But it's the same comment as on the email-alert-api PR (so I'll spare you from having to read it again!) - ie let's use valid tag types, not legacy ones.

spec/models/email_alert_spec.rb Show resolved Hide resolved
spec/models/email_alert_spec.rb Show resolved Hide resolved
spec/models/email_alert_spec.rb Show resolved Hide resolved
@unoduetre unoduetre force-pushed the 2497-remove-specialist-topics-from-email-alert-service-s-m branch 4 times, most recently from 01fb2db to bd20c3a Compare May 13, 2024 09:52
@unoduetre unoduetre requested a review from hannako May 13, 2024 10:41
Copy link
Contributor

@hannako hannako left a comment

Choose a reason for hiding this comment

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

Looks good, thanks Mat

@unoduetre unoduetre requested a review from KludgeKML May 16, 2024 11:30
@unoduetre unoduetre force-pushed the 2497-remove-specialist-topics-from-email-alert-service-s-m branch from bd20c3a to 181dc33 Compare May 20, 2024 13:31
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

@unoduetre unoduetre merged commit 54f7f9b into main May 20, 2024
6 checks passed
@unoduetre unoduetre deleted the 2497-remove-specialist-topics-from-email-alert-service-s-m branch May 20, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants