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

Move feature flag check outside of mc #11209

Merged
merged 1 commit into from
May 13, 2024
Merged

Move feature flag check outside of mc #11209

merged 1 commit into from
May 13, 2024

Conversation

kjnilsson
Copy link
Contributor

@kjnilsson kjnilsson commented May 10, 2024

the mc module is ideally meant to be kept pure and portable
and feature flags have external infrastructure dependencies
as well as impure semantics.

Moving the check of this feature flag into the amqp session
simplifies the code (as no message containers with the new
format will enter the system before the feature flag is enabled).

@kjnilsson kjnilsson changed the title Try moving feature flag switch outside of mc Move feature flag check outside of mc May 10, 2024
@kjnilsson kjnilsson force-pushed the mc-ff-fix branch 2 times, most recently from a03ee26 to 325ea4c Compare May 10, 2024 12:55
the `mc` module is ideally meant to be kept pure and portable
 and feature flags have external infrastructure dependencies
as well as impure semantics.

Moving the check of this feature flag into the amqp session
simplifies the code (as no message containers with the new
format will enter the system before the feature flag is enabled).
@kjnilsson kjnilsson marked this pull request as ready for review May 10, 2024 12:58
@kjnilsson kjnilsson marked this pull request as draft May 10, 2024 13:35
@kjnilsson kjnilsson requested a review from ansd May 13, 2024 08:01
@kjnilsson kjnilsson marked this pull request as ready for review May 13, 2024 08:01
Copy link
Member

@ansd ansd left a comment

Choose a reason for hiding this comment

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

Thank you!

@ansd ansd merged commit 49a4c66 into main May 13, 2024
18 checks passed
@ansd ansd deleted the mc-ff-fix branch May 13, 2024 08:05
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