mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
701eb4bae4
The elementsToMap function was incorrectly skipping remote base files that were configured as branch-specific, causing pull to mark them for deletion. Root cause: PR #7643 added a check to skip base files when configured as branch-specific, but this was applied to both local AND remote sources. Remote workspace files only have base paths (e.g., TestVar.variable.yaml), not branch-specific paths (e.g., TestVar.staging.variable.yaml). Fix: Add isRemote parameter to elementsToMap to distinguish remote vs local processing. Only skip base files for local sources where we expect the branch-specific version to exist. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>