helmfile/test/integration/test-cases/diff-args/output
yxxhero 7a7bdf5dc3 fix: prevent duplicate isReleaseInstalled checks in DetectReleasesToBeDeletedForSync
When a release with 'installed: false' appears multiple times in the release list
(due to duplicate entries or being included via needs), the isReleaseInstalled
function was being called multiple times for the same release, resulting in
duplicate 'Listing releases' log messages.

This fix adds a deduplication check using a 'checked' map to ensure each release
is only checked once, preventing duplicate helm list calls and log messages.

This fixes the diff-args integration test where 'Listing releases matching
^uninstalled$' appeared twice in stderr output.

Signed-off-by: yxxhero <aiopsclub@163.com>
2026-03-17 09:58:42 +08:00
..
apply build: update Helm and plugin versions in CI and Dockerfiles (#2059) 2025-05-30 11:45:28 +08:00
apply-helm4 feat: add Helm 4 support while maintaining Helm 3 compatibility (#2262) 2025-11-19 07:49:30 +08:00
apply-live build: update Helm and plugin versions in CI and Dockerfiles (#2059) 2025-05-30 11:45:28 +08:00
apply-live-helm4 feat: add Helm 4 support while maintaining Helm 3 compatibility (#2262) 2025-11-19 07:49:30 +08:00
apply-live-stderr feat: add namespace info in syncRelease and diffRelease (#1609) 2024-07-16 09:47:00 +08:00
apply-live-stderr-helm4 feat: add Helm 4 support while maintaining Helm 3 compatibility (#2262) 2025-11-19 07:49:30 +08:00
apply-stderr feat: add namespace info in syncRelease and diffRelease (#1609) 2024-07-16 09:47:00 +08:00
apply-stderr-helm4 feat: add Helm 4 support while maintaining Helm 3 compatibility (#2262) 2025-11-19 07:49:30 +08:00
diff build: update Helm and plugin versions in CI and Dockerfiles (#2059) 2025-05-30 11:45:28 +08:00
diff-live build: update Helm and plugin versions in CI and Dockerfiles (#2059) 2025-05-30 11:45:28 +08:00
diff-live-stderr fix: prevent duplicate isReleaseInstalled checks in DetectReleasesToBeDeletedForSync 2026-03-17 09:58:42 +08:00
diff-stderr Use logger for helm output (#1585) 2024-07-04 13:53:31 +09:00