-
Notifications
You must be signed in to change notification settings - Fork 324
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
Fix feature flag defaults #4265
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since an empty download location is now disallowed, we use the empty string as a value that signifies "no download location" in the database.
echoes-hq
bot
added
echoes: unplanned
Any work item that isn’t part of the product or technical roadmap.
echoes/initiative: federation-wire-cloud
Activate Federation with MLS on Wire Cloud
labels
Sep 23, 2024
zebot
added
the
ok-to-test
Approved for running tests in CI, overrides not-ok-to-test if both labels exist
label
Sep 23, 2024
pcapriotti
force-pushed
the
flag-defaults
branch
from
September 24, 2024 09:17
cd02695
to
f18bb78
Compare
pcapriotti
force-pushed
the
flag-defaults
branch
2 times, most recently
from
September 26, 2024 14:23
deae2a1
to
1c9418b
Compare
pcapriotti
force-pushed
the
flag-defaults
branch
from
September 27, 2024 06:20
1c9418b
to
b98ac55
Compare
pcapriotti
force-pushed
the
flag-defaults
branch
from
September 27, 2024 07:15
f1ab0b5
to
e77dd7d
Compare
fisx
approved these changes
Sep 30, 2024
pcapriotti
force-pushed
the
flag-defaults
branch
from
September 30, 2024 11:12
a24f274
to
33c355e
Compare
Co-authored-by: Matthias Fischmann <[email protected]>
This was referenced Oct 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
echoes/initiative: federation-wire-cloud
Activate Federation with MLS on Wire Cloud
echoes: unplanned
Any work item that isn’t part of the product or technical roadmap.
ok-to-test
Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes the way the
DbFeature
is computed formlsMigration
andenforceFileDownloadLocation
. Before, we were using anull
cassandra value to represent both the absence of configuration and the presence of aNothing
value. The consequence was that the default would be accidentally overwritten by theNothing
value in some cases.The fix is to use an explicit "null" value to represent
Nothing
. For dates, we use the POSIX timestamp origin. For the download location, we use an empty string.Also, this PR contains a refactoring and reorganization of the test module for feature flags. It has been split into several modules, one per feature, and the various utilities have been simplified and made more uniform across features.
https://wearezeta.atlassian.net/browse/WPB-11100
Checklist
changelog.d