helmfile/pkg/app/testdata
yxxhero 16e408b8ea Fix include-needs to correctly handle direct vs transitive dependencies
The withNeeds function was calling getSelectedReleases with false, false
for includeNeeds and includeTransitiveNeeds, which caused it to ignore
the --include-needs and --include-transitive-needs flags.

This fix:
1. Computes includeNeeds before calling getSelectedReleases
2. Passes the correct flags to getSelectedReleases
3. Sets st.Releases to selectedAndNeededReleases instead of deduplicated
4. Passes IncludeNeeds=false and IncludeTransitiveNeeds=false to PlanReleases
   since the needs are already included in selectedReleases

Signed-off-by: yxxhero <aiopsclub@163.com>
2026-03-15 19:44:35 +08:00
..
app_diff_test Fix include-needs to correctly handle direct vs transitive dependencies 2026-03-15 19:44:35 +08:00
app_diff_test_1 fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
app_diff_test_2 fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
app_lint_test fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
app_list_test fix: array merge regression - layer arrays now replace defaults (#2367) 2026-01-18 14:04:54 +08:00
app_template_test fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
app_unittest_test fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
dag_test fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
formatters 🐛 Fix four critical issues: environment merging, kubeVersion detection, lookup() with kustomize, and Helm 4 color flags (#2276) 2025-11-21 08:32:54 +08:00
testapply fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
testapply_2 fix: include-needs should only include direct dependencies, not transitive 2026-03-15 15:33:45 +08:00
testapply_3 fix: include-needs should only include direct dependencies, not transitive 2026-03-15 15:33:45 +08:00
testapply_hooks add NAMESPACE filed for diff (#1460) 2024-04-18 17:43:59 +08:00
testdeps/smoke fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
testdestroy fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
testdestroy_2 fix: eliminate os.Chdir in sequential helmfiles to fix relative path resolution (#2410) 2026-02-22 09:21:46 +08:00
testreadfromyaml_rendertemplatelog fix: array merge regression - layer arrays now replace defaults (#2367) 2026-01-18 14:04:54 +08:00