Skip to content

WPB-23441 fix: validate saml emails feature not correctly targeted#5114

Merged
battermann merged 5 commits intodevelopfrom
WPB-23441-validate-sam-lemails-feature-not-correctly-targeted
Mar 12, 2026
Merged

WPB-23441 fix: validate saml emails feature not correctly targeted#5114
battermann merged 5 commits intodevelopfrom
WPB-23441-validate-sam-lemails-feature-not-correctly-targeted

Conversation

@battermann
Copy link
Contributor

@battermann battermann commented Mar 11, 2026

https://wearezeta.atlassian.net/browse/WPB-23441

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@battermann battermann marked this pull request as ready for review March 11, 2026 15:12
@battermann battermann requested review from a team as code owners March 11, 2026 15:12
@akshaymankar akshaymankar changed the title WPB-23441 fix: validate sam lemails feature not correctly targeted WPB-23441 fix: validate saml emails feature not correctly targeted Mar 11, 2026
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Mar 11, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes targeting of the validateSAMLemails team feature flag by standardizing on the canonical key while attempting to keep backward compatibility with the legacy typo in configuration/Helm inputs.

Changes:

  • Add a custom ParseFeatureDefaults instance for ValidateSAMLEmailsConfig to accept both the canonical key and the legacy typo.
  • Update integration tests, docs, and Helm chart values/templates to use/render validateSAMLemails (with Helm accepting the legacy typo as fallback).
  • Add a changelog entry for the fix.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
libs/wire-api/src/Wire/API/Team/FeatureFlags.hs Custom parsing for validateSAMLemails defaults intended to support legacy typo input.
integration/test/Test/Spar/STM.hs Update feature flag key used by tests to validateSAMLemails.
integration/test/Test/Auth.hs Update feature flag key used by tests to validateSAMLemails.
docs/src/developer/reference/config-options.md Document canonical validateSAMLemails key in config example.
charts/wire-server/values.yaml Rename Helm values key to validateSAMLemails.
charts/wire-server/templates/galley/configmap.yaml Render canonical Galley key while accepting legacy Helm values key as fallback.
changelog.d/3-bug-fixes/WPB-23441 Changelog entry for the fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@battermann battermann merged commit 4042224 into develop Mar 12, 2026
11 checks passed
@battermann battermann deleted the WPB-23441-validate-sam-lemails-feature-not-correctly-targeted branch March 12, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants