ENG-3430: make privacy center actions optional#7919
Merged
nreyes-dev merged 6 commits intomainfrom Apr 14, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7919 +/- ##
==========================================
- Coverage 85.06% 85.06% -0.01%
==========================================
Files 629 629
Lines 40855 40855
Branches 4748 4748
==========================================
- Hits 34753 34752 -1
- Misses 5029 5030 +1
Partials 1073 1073 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jpople
approved these changes
Apr 14, 2026
Contributor
jpople
left a comment
There was a problem hiding this comment.
Code looks good, manually tested both API path and hardcoded config and privacy center loads as expected.
nreyes-dev
added a commit
that referenced
this pull request
Apr 15, 2026
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.
Ticket ENG-3430
Description Of Changes
Privacy Center fails to start when
config.jsonhas an emptyactionsarray (or omits it entirely). This blocks customers who only use Privacy Center to servefides.jsand don't need DSR action tiles. This change makesactionsoptional, defaulting to[].Code Changes
actionsin the Privacy Center config validatoractionsoptional (defaulting to[]) in thePrivacyCenterConfigandPartialPrivacyCenterConfigPydantic schemasConfig,LegacyConfig, APIPrivacyCenterConfig) to markactionsas optional?? []guards where components iterate overconfig.actionsSteps to Confirm
Config file path:
"actions": []inclients/privacy-center/config/config.jsonAPI config path:
privacy_center_configthat has noactionskey (or"actions": [])USE_API_CONFIG=trueand start the Privacy Center — it should load without errorsPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works