You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e1ac0ac
Browse filesBrowse the repository at this point in the historyBrowse files
fix(webapp): tighten branch env var prune after parent-level import
The branch-copy prune after an import now deletes every qualifying
value row, its secret and its reference in a single transaction using
the rows it already fetched, instead of re-reading the project and the
whole variable once per key.
The import only offers keys for pruning that the parent write actually
accepted, so a value the parent rejected (empty or disallowed) can no
longer cause the branch to fall back to an older parent value. Keys the
same request also sets on the branch are still excluded.
Copy file name to clipboardExpand all lines: .server-changes/envvar-import-prune-branch-copies.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,4 @@ area: webapp
3
3
type: fix
4
4
---
5
5
6
-
Importing environment variables to a preview branch's parent now removes that same source's earlier copies of those variables on the branch, so the branch picks up the shared value instead of a stale override. Variables set on the branch by anyone else are left untouched.
6
+
When an integration syncs a variable to a preview branch's parent, its earlier copy of that variable on the branch is removed so the branch inherits the shared value. Values set on the branch by anyone else are kept.
0 commit comments