WPB-25919: Added a team feature flag for background effects#5246
Merged
blackheaven merged 1 commit intoMay 29, 2026
Merged
Conversation
9820bd2 to
543695f
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new team-level feature flag (backgroundEffects) to Wire Server’s feature-flag system so background effects availability in meetings can be configured (including lock/unlock behavior) via existing team feature flag APIs, with accompanying docs and integration coverage.
Changes:
- Introduces
BackgroundEffectsConfigas a newIsFeatureConfig(default: enabled + unlocked) and wires it into the globalFeatureslist and defaults parsing. - Exposes the flag through public/internal Galley APIs and Stern routes (get/set + lock/unlock).
- Extends integration coverage (feature-flag tests and migration expectations) and updates developer documentation + changelog.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/stern/test/integration/API.hs | Adds Stern integration tests for backgroundEffects feature status + lock/unlock endpoints. |
| tools/stern/src/Stern/API/Routes.hs | Extends Stern API type with GET/PUT + lock/unlock routes for BackgroundEffectsConfig. |
| tools/stern/src/Stern/API.hs | Wires Stern handlers for the new feature routes. |
| services/galley/src/Galley/API/Teams/Features.hs | Adds SetFeatureConfig BackgroundEffectsConfig so teams can set the feature config. |
| services/galley/src/Galley/API/Public/Feature.hs | Exposes the new feature via the public feature API composition. |
| services/galley/src/Galley/API/Internal.hs | Includes background effects in internal lock-status update endpoints and the “all features” API composition. |
| libs/wire-subsystems/src/Wire/FeaturesConfigSubsystem/Types.hs | Adds GetFeatureConfig BackgroundEffectsConfig for subsystem-level retrieval. |
| libs/wire-api/src/Wire/API/Team/FeatureFlags.hs | Adds defaults parsing/serialization for backgroundEffects in server featureFlags config. |
| libs/wire-api/src/Wire/API/Team/Feature.hs | Defines BackgroundEffectsConfig, adds singleton constructor, exports it, and appends it to the Features type list. |
| libs/wire-api/src/Wire/API/Routes/Public/Galley/Feature.hs | Adds BackgroundEffectsConfig to the public feature routes type. |
| libs/wire-api/src/Wire/API/Routes/Internal/Galley.hs | Adds BackgroundEffectsConfig to internal legacy lock-status route list. |
| integration/test/Test/Migration/TeamFeatures.hs | Updates migration expectations to include backgroundEffects as an unlockable feature. |
| integration/test/Test/FeatureFlags/Util.hs | Adds default expected JSON for backgroundEffects and marks it as having explicit lock status. |
| integration/test/Test/FeatureFlags/BackgroundEffects.hs | New integration tests for patching and updating backgroundEffects. |
| integration/integration.cabal | Registers the new Test.FeatureFlags.BackgroundEffects module for compilation. |
| docs/src/developer/reference/config-options.md | Documents configuration syntax and internal/public API usage for backgroundEffects. |
| changelog.d/2-features/WPB-25919 | Adds changelog entry for the new team feature flag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://wearezeta.atlassian.net/browse/WPB-25919
Checklist
changelog.d