PROTM-1348: Default to no data for branch data mode#173
Open
sandshoes wants to merge 2 commits into
Open
Conversation
sandshoes
commented
Jul 7, 2026
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added |
Contributor
Author
There was a problem hiding this comment.
how should I document the changelog?
eclbg
reviewed
Jul 7, 2026
|
|
||
| ### Changed | ||
|
|
||
| - `branch_data_mode` now defaults to `"none"`: cloud branches are created empty unless `"last_partition"` is set explicitly. This restores the pre-`branch_data_mode` behavior and avoids branch-creation timeouts on workspaces with large partitions. Set `branch_data_mode: "last_partition"` in your config to keep copying production data into branches. |
Contributor
There was a problem hiding this comment.
Up until which version did we have this behaviour? It will be useful to include this here so users can quickly see if their default will change or not.
Contributor
Author
There was a problem hiding this comment.
agree updated the changelog mentioning the span of versions where the default changed
Contributor
|
How does this compare to the default behaviour in the CLI? Is that also no data? I get this affects only cloud branches as local branches are (and already were) never seeded with data other than perhaps fixtures. Is that correct? |
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.
Branch data mode automatically fetches the last-partition. It should really default to no data this is what we've done here