helmfile/pkg/app/testdata/testapply_2
copilot-swe-agent[bot] afdb6ccdab fix: restore withNeeds DAG behavior and regenerate snapshots
- In withNeeds second withDAG call, set SkipNeeds when needs are already
  included (instead of using IncludeNeeds which causes DAG to pull in
  transitive deps). This is the key fix for --include-needs only including
  direct dependencies.
- In GroupReleasesByDependency, use WithDependencies from opts.IncludeNeeds
  only when SelectedReleases is explicitly provided (withDAG path).
  When using the Filtered flag path, needs are already handled by
  markExcludedReleases.
- Regenerate test snapshots to reflect correct behavior where
  --include-needs excludes transitive dependencies.
- Restore diff_test.go and diff_nokubectx_test.go from main for
  non-include-needs test cases.

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:33:45 +00:00
..
bad_--selector fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
deduplicate_by_--selector fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
include-transitive-needs=true fix: restore withNeeds DAG behavior and regenerate snapshots 2026-03-25 00:33:45 +00:00
select_non_existent_release_with_--allow-no-matching-release fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
select_single_release_from_helmfile_with_two_duplicates fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
skip-needs=false_include-needs=true fix: include-needs should only include direct dependencies, not transitive 2026-03-18 08:25:32 +08:00
skip-needs=false_include-needs=true_but_no_diff_on_needed_release fix: include-needs should only include direct dependencies, not transitive 2026-03-18 08:25:32 +08:00
skip-needs=false_include-needs=true_with_installed_but_disabled_release fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
skip-needs=false_include-needs=true_with_not_installed_and_disabled_release fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
skip-needs=true fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
skip-needs=true_with_no_diff_on_a_release fix: restore SelectedReleases handling in GroupReleasesByDependency and revert snapshots 2026-03-25 00:12:22 +00:00
timeout_flag_is_passed_to_helm fix: pass --timeout flag through to helm for sync and apply (#2495) 2026-03-22 07:34:33 +08:00