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 Chain Event Types #3 #3044

Merged
merged 91 commits into from
Mar 16, 2023
Merged

Remove Chain Event Types #3 #3044

merged 91 commits into from
Mar 16, 2023

Conversation

timolegros
Copy link
Collaborator

@timolegros timolegros commented Mar 7, 2023

Link to Issue

Closes: #2949

Description of Changes

  • Removes chain-event-types

Test Plan

  • CA notifications settings page

Deployment Plan

  1. Turn off CE subscribers - wait a couple of seconds for existing queued messages to be processed.
  2. Turn off CW consumer
  3. Deploy CW and CE simultaneously
  4. Turn back on the CW consumer then the CE subscribers once deployments are over

Other Considerations

# Conflicts:
#	packages/chain-events/services/ChainEventsConsumer/ChainEventHandlers/migration.ts
#	packages/commonwealth/client/scripts/controllers/server/chain_entities.ts
# Conflicts:
#	packages/commonwealth/server/models/subscription.ts
# Conflicts:
#	packages/chain-events/services/ChainEventsConsumer/ChainEventHandlers/entityArchival.ts
#	packages/chain-events/services/ChainEventsConsumer/ChainEventHandlers/migration.ts
#	packages/chain-events/services/ChainEventsConsumer/ChainEventHandlers/notification.ts
#	packages/chain-events/services/ChainEventsConsumer/ChainEventHandlers/storage.ts
#	packages/chain-events/services/ChainEventsConsumer/republishMessages.ts
#	packages/chain-events/services/ChainSubscriber/util.ts
#	packages/chain-events/services/database/database.ts
#	packages/chain-events/services/database/models/chain_event.ts
#	packages/chain-events/services/database/models/chain_event_type.ts
#	packages/chain-events/src/interfaces.ts
#	packages/chain-events/test/integration/service-tests/chainEventsConsumer.test.ts
#	packages/common-common/src/rabbitmq/RabbitMQConfig.ts
#	packages/common-common/src/rabbitmq/rabbitMQController.ts
#	packages/common-common/src/rabbitmq/types/chainEventNotificationsCUD.ts
#	packages/common-common/src/rabbitmq/types/chainEventTypeCUD.ts
#	packages/common-common/src/rabbitmq/types/index.ts
#	packages/commonwealth/client/scripts/controllers/server/chain_entities.ts
#	packages/commonwealth/client/scripts/controllers/server/notifications.ts
#	packages/commonwealth/client/scripts/controllers/server/socket/chainEventsNs.ts
#	packages/commonwealth/client/scripts/models/ChainEvent.ts
#	packages/commonwealth/client/scripts/models/DashboardActivityNotification.ts
#	packages/commonwealth/client/scripts/models/Notification.ts
#	packages/commonwealth/client/scripts/state.ts
#	packages/commonwealth/server/CommonwealthConsumer/CommonwealthConsumer.ts
#	packages/commonwealth/server/CommonwealthConsumer/messageProcessors/chainEventTypeCUDQueue.ts
#	packages/commonwealth/server/models.ts
#	packages/commonwealth/server/models/chain_event_type.ts
#	packages/commonwealth/server/models/notification.ts
#	packages/commonwealth/server/models/subscription.ts
#	packages/commonwealth/server/routes/deleteChain.ts
#	packages/commonwealth/server/routes/getSubscribedChains.ts
#	packages/commonwealth/server/routes/subscription/createSubscription.ts
#	packages/commonwealth/server/scripts/enforceDataConsistency.ts
#	packages/commonwealth/server/socket/chainEventsNs.ts
#	packages/commonwealth/server/util/emitNotifications.ts
#	packages/commonwealth/test/integration/enforceDataConsistency.spec.ts
#	packages/commonwealth/test/systemTests/consumer.test.ts
# Conflicts:
#	packages/chain-events/services/ChainEventsConsumer/republishMessages.ts
@timolegros timolegros requested a review from CowMuon as a code owner March 9, 2023 18:59
@timolegros timolegros temporarily deployed to chain-events-staging March 9, 2023 19:04 Inactive
@timolegros timolegros temporarily deployed to commonwealth-staging March 9, 2023 19:17 Inactive
@CowMuon
Copy link
Contributor

CowMuon commented Mar 15, 2023

Fixed conflict with Master. When is D-Day? Can we do this tomorrow? @timolegros @jnaviask

@timolegros
Copy link
Collaborator Author

Fixed conflict with Master. When is D-Day? Can we do this tomorrow? @timolegros @jnaviask

I'm free tomorrow after 1 pm. Seems like there are some type errors following the merge of substrate removal so I will fix that tonight and deploy to frick + quick QA again.

@timolegros timolegros temporarily deployed to commonwealth-staging March 16, 2023 05:08 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 05:08 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 06:23 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 06:59 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 07:35 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 07:47 Inactive
@timolegros timolegros temporarily deployed to chain-events-staging March 16, 2023 07:58 Inactive
@timolegros timolegros temporarily deployed to commonwealth-staging March 16, 2023 07:58 Inactive
@timolegros timolegros temporarily deployed to commonwealth-staging March 16, 2023 17:42 Inactive
@jnaviask jnaviask merged commit 68ba0c5 into master Mar 16, 2023
@jnaviask jnaviask deleted the tim.remove-event-types-2 branch March 16, 2023 19:11
jnaviask added a commit that referenced this pull request Mar 16, 2023
jnaviask added a commit that referenced this pull request Mar 16, 2023
* Revert "Remove Chain Event Types #3 (#3044)"

This reverts commit 68ba0c5.

* revert migration

* add back the migrations that did run successfully

* txn

* fix

---------

Co-authored-by: Timothee Legros <timothee@ualberta.ca>
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.

Remove ChainEventTypes
3 participants