helmfile/pkg/state
copilot-swe-agent[bot] 02a5de3330 fix: simplify collectDirectNeedsOnly to use need IDs as-is
After ApplyOverrides/reformat(), need IDs are already fully-qualified
(matching ReleaseToID format). The previous name-based lookup could
select the wrong dependency when multiple releases share the same name
across namespaces/kubecontexts.

Also adds a cross-namespace test case to verify correct behavior when
releases share names across different namespaces.

Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/e8effb99-17de-4b2e-ae14-cc90c2108146
2026-03-25 10:32:33 +00:00
..
testdata
chart_dependencies_rewrite_test.go
chart_dependency.go
chart_dependency_test.go
create.go
create_test.go
diff_error_propagation_test.go
environment.go
envvals_loader.go
envvals_loader_test.go
helmx.go
helmx_test.go
issue_2297_test.go
issue_2355_test.go
issue_2444_test.go
oci_chart_lock_test.go
oci_chart_version_test.go
oci_parse_test.go
release.go
release_error.go
release_filters.go
release_filters_test.go
release_test.go
run_helm_dep_builds_skip_refresh_test.go
selector_include_needs_test.go
selector_test.go fix: simplify collectDirectNeedsOnly to use need IDs as-is 2026-03-25 10:32:33 +00:00
skip_test.go
state.go fix: simplify collectDirectNeedsOnly to use need IDs as-is 2026-03-25 10:32:33 +00:00
state_exec_tmpl.go
state_exec_tmpl_test.go
state_gogetter_test.go
state_kubeversion_test.go
state_run.go fix: restore withNeeds DAG behavior and regenerate snapshots 2026-03-25 00:33:45 +00:00
state_test.go
storage.go
storage_test.go
temp.go
temp_test.go
types.go
util.go
util_test.go