Skip to content

Remove deleted event handlers from Conductor #1454

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

Merged
merged 2 commits into from
May 19, 2025

Conversation

chubberlisk
Copy link
Contributor

@chubberlisk chubberlisk commented May 16, 2025

In #1450, we removed the event handler JSON for handling new comparison messages and in https://github.com/ministryofjustice/bichard7-next-infrastructure/pull/1681 we removed the comparisonQueue SQS.

However by removing the JSON file, this didn't actually remove it from Conductor. We have a deploy.ts script which uses the Conductor API that can create and update workflows, tasks, and event handlers but we've never had to delete ones before.

As a result of removing the comparisonQueue the thing that the event handler listening to and not actually removing the event handler properly, Conductor continued to listen and throw an error. This is our current theory for why E2E tests are failing in our deployment pipeline atm.

We expect that we need to update the script to also delete workflows and tasks but for now, we reckon this is the minimum to unblock the deployment pipeline.

https://dsdmoj.atlassian.net/browse/BICAWS7-3472

@chubberlisk chubberlisk force-pushed the remove-deleted-event-handlers-in-conductor branch from 11a0e25 to b7adfc1 Compare May 16, 2025 16:08
@chubberlisk chubberlisk force-pushed the remove-deleted-event-handlers-in-conductor branch from b7adfc1 to e28eb2a Compare May 19, 2025 09:59
Copy link

@chubberlisk chubberlisk added this pull request to the merge queue May 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 19, 2025
@chubberlisk chubberlisk added this pull request to the merge queue May 19, 2025
Merged via the queue into main with commit 2f65c77 May 19, 2025
27 checks passed
@chubberlisk chubberlisk deleted the remove-deleted-event-handlers-in-conductor branch May 19, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants