PROTM-1348: Default to no data for branch data mode#173
Conversation
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added |
There was a problem hiding this comment.
how should I document the changelog?
There was a problem hiding this comment.
I think this CHANGELOG.md is just for documenting changes in this repo. Good to add it here. But let's remember to copy whatever we add here in the generic Tinybird one.
There was a problem hiding this comment.
Yeap it's only for documenting.
|
|
||
| ### 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. |
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.
There was a problem hiding this comment.
agree updated the changelog mentioning the span of versions where the default changed
|
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? |
Branch data mode automatically fetches the last-partition. It should really default to no data this is what we've done here