helmfile/pkg/app/testdata/testapply
copilot-swe-agent[bot] ed823115f1 fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots
The root cause of the CI failure was that GroupReleasesByDependency was changed
to use !r.Filtered instead of opts.SelectedReleases for the DAG plan's Only field.
When no selectors are active (like helmfile destroy), all releases are unfiltered,
causing all releases to be planned for deletion - including uninstalled ones.

Fix: Use opts.SelectedReleases when provided, fall back to Filtered flag otherwise.
Also remove unnecessary SelectedReleases block from PlanReleases since
GroupReleasesByDependency now handles it directly.
Restore test snapshots from main as the behavior should now match.

Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/170cecc0-7a3e-4326-98d3-4f2bffee1848
2026-03-25 00:12:22 +00:00
..
delete_bar_when_bar_needs_foo fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
delete_bar_when_foo_needs_bar fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
delete_foo_and_bar_when_bar_needs_foo fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
delete_foo_and_bar_when_foo_needs_bar fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
delete_foo_when_bar_needs_foo fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
delete_foo_when_foo_needs_bar fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
duplicate_releases fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
helm-status-check-to-release-existence Fix interactive apply asks in no change situation (#945) 2026-03-19 08:45:42 +08:00
install fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
install-with-upgrade-with-reinstallifforbidden fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
install-with-upgrade-with-skip-diff-on-install fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
install-with-upgrade-with-skip-diff-on-install-with-reinstallifforbidden fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
install-with-upgrade-with-validation-control fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
non-existent_release_in_needs fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
noop Fix interactive apply asks in no change situation (#945) 2026-03-19 08:45:42 +08:00
smoke fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
unselected_release_in_needs fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrade_when_bar_needs_foo fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrade_when_bar_needs_foo,_with_ns_override fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrade_when_foo_needs_bar fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrade_when_foo_needs_bar,_with_ns_override fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrade_when_ns1 fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
upgrade_when_ns2/bar_needs_ns1/foo fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrades_with_bad_selector fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrades_with_good_selector_with_--skip-needs=false_--include-needs=true fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
upgrades_with_good_selector_with_--skip-needs=true fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00