Changes before error encountered

Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/340f3d6f-8a80-4fcf-90cf-16ae64191ebb
This commit is contained in:
copilot-swe-agent[bot] 2026-03-25 01:32:12 +00:00
parent 42205380c4
commit a1bf95e9ba
1 changed files with 0 additions and 16 deletions

View File

@ -28,14 +28,6 @@ else
fail "--include-needs should include only service-a and service-b (direct need), not service-c (transitive)"
fi
# Verify log shows "1 release(s) matching name=service-a" (not 2 or 3)
if echo "${include_needs_output}" | grep -q "1 release(s) matching name=service-a"; then
info "Log correctly shows 1 release matching selector"
else
cat ${include_needs_tmp}/include-needs.log
fail "Log should show '1 release(s) matching name=service-a', not including needs count"
fi
# Test 2: --include-transitive-needs should include all transitive dependencies
info "Testing --include-transitive-needs includes all transitive dependencies"
${helmfile} -f ${include_needs_case_input_dir}/helmfile.yaml -l name=service-a template --include-transitive-needs > ${include_needs_tmp}/include-transitive-needs.log 2>&1 || fail "helmfile template --include-transitive-needs should not fail"
@ -52,14 +44,6 @@ else
fail "--include-transitive-needs should include service-a, service-b, and service-c (transitive)"
fi
# Verify log still shows "1 release(s) matching name=service-a" (selector match, not total)
if echo "${transitive_output}" | grep -q "1 release(s) matching name=service-a"; then
info "Log correctly shows 1 release matching selector (not including transitive needs)"
else
cat ${include_needs_tmp}/include-transitive-needs.log
fail "Log should show '1 release(s) matching name=service-a', not including needs count"
fi
# Test 3: Verify service-d is never included (not in dependency chain)
if ! echo "${include_needs_output}" | grep -q "name: service-d" && \
! echo "${transitive_output}" | grep -q "name: service-d"; then