Skip to content

Commit 72aabe7

Browse files
AFDudleyclaude
andcommitted
fix: deploy create --update now syncs config.env from spec
The --update path excluded config.env from the safe_copy_tree, which meant new config vars added to spec.yml were never written to config.env. The XXX comment already flagged this as broken. Remove config.env from exclude_patterns so --update regenerates it from spec.yml like the non-update path does. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8a7491d commit 72aabe7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

stack_orchestrator/deploy/deployment_create.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,9 +835,7 @@ def create_operation(
835835
# Copy from temp to deployment dir, excluding data volumes
836836
# and backing up changed files.
837837
# Exclude data/* to avoid touching user data volumes.
838-
# Exclude config file to preserve deployment settings
839-
# (XXX breaks passing config vars from spec)
840-
exclude_patterns = ["data", "data/*", constants.config_file_name]
838+
exclude_patterns = ["data", "data/*"]
841839
_safe_copy_tree(
842840
temp_dir, deployment_dir_path, exclude_patterns=exclude_patterns
843841
)

0 commit comments

Comments
 (0)