feat: add branch support to CDN content delivery configs - #3466
Merged
dkrizan merged 8 commits intoFeb 16, 2026
Conversation
CDN configs are now linked to branches via a foreign key instead of a plain string. When branching is enabled, users can select a branch per CDN config; the feature guard rejects requests that specify a branch when the BRANCHING feature is disabled. - Replace `filterBranch` string column with `branch` FK on ContentDeliveryConfig - Add branch selector to the CDN dialog in the webapp - Show branch chip on CDN list items - Clean up CDN configs when a branch is deleted - Migrate existing configs to the default branch during branching setup - Add comprehensive tests including feature-guard coverage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
bdshadow
requested changes
Feb 16, 2026
bdshadow
approved these changes
Feb 16, 2026
dkrizan
added a commit
that referenced
this pull request
Feb 17, 2026
## Summary - Links CDN configs to branches via a foreign key (`branch_id`) instead of the plain `filterBranch` string column - Adds branch selector to the CDN config dialog when branching is enabled - Shows branch name chip on CDN list items - Cleans up CDN configs when a branch is deleted - Migrates existing configs to the default branch during branching enablement - Feature guard rejects CDN create/update with `filterBranch` when BRANCHING feature is disabled ## Test plan - [x] All 12 `ContentDeliveryConfigBranchingTest` tests pass, including: - Create/update CDN config with specific branch - Create without branch defaults to default branch - Non-existent branch returns 404 - Delete branch cascades to CDN configs - Feature guard rejects create when branching not enabled - Feature guard rejects update when branching not enabled 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
dkrizan
added a commit
that referenced
this pull request
Feb 19, 2026
## Summary Consolidates several branching-related improvements: - **Snapshot creation rewrite** — native SQL for better performance (#3462) - **Branch merge activity params fix** — projection queries in `BranchMergeActivityParamsProvider` (#3469) - **CDN branch support** — CDN content delivery configs can now be scoped to a specific branch (#3466) ### Latest changes - **CDN autopush branch filtering** — CDN configs with autopublish enabled now only trigger when a translation change happens on the same branch as the config. Previously all CDN configs in a project would publish on any translation change regardless of branch. - **Streamlined merge UI** — removed the confirmation dialog when initiating a branch merge (merges start immediately) and removed the option to delete a branch merge from the UI. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Content delivery configs can be assigned to specific branches when branching is enabled. * Branch-aware CDN publishing routes updates to the matching branch config. * UI: branch selector in create/edit dialogs, branch chip shown in lists, and branch persisted after edits. * Deleting a branch also removes its associated content delivery configs. * **Tests** * Added unit and end-to-end tests covering branch-aware CDN publishing and UI flows. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
TolgeeMachine
added a commit
that referenced
this pull request
Feb 19, 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.
Summary
branch_id) instead of the plainfilterBranchstring columnfilterBranchwhen BRANCHING feature is disabledTest plan
ContentDeliveryConfigBranchingTesttests pass, including:🤖 Generated with Claude Code