Repository navigation
feat: allow helmfile to continue on failed releases - #2616
Conversation
00eddc3 to
f69b6e1
Compare
|
The linter fails due to a naked return, i fixed it in a separate PR #2617 |
|
@ceriath please rebase. |
There was a problem hiding this comment.
Pull request overview
This PR introduces an allow-failed-release(s) flag that lets Helmfile continue processing when chart preparation fails for some releases, enabling partial results while still surfacing the failures to the user.
Changes:
- Add a new global CLI option to allow partial failures during release/chart processing.
- Thread the option through app config providers into chart preparation (
PrepareCharts/WithPreparedCharts) to avoid aborting early. - Update test config stubs to satisfy the expanded config provider interfaces.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/state/state.go | Adds AllowFailedReleases to chart preparation options and alters PrepareCharts error-handling behavior. |
| pkg/config/global.go | Adds AllowFailedReleases to global options plus a getter on GlobalImpl. |
| pkg/app/run.go | Adjusts chart-prep flow to optionally continue on errors and attempts to combine prep/cleanup errors. |
| pkg/app/config.go | Extends multiple config-provider interfaces with AllowFailedReleases() bool. |
| pkg/app/app.go | Propagates AllowFailedReleases into state.ChartPrepareOptions for multiple commands (and hard-codes it for some). |
| pkg/app/diff_test.go | Updates test config stub to implement AllowFailedReleases() bool. |
| pkg/app/destroy_test.go | Updates test config stub to implement AllowFailedReleases() bool. |
| pkg/app/app_test.go | Updates test config stubs to implement AllowFailedReleases() bool. |
| cmd/root.go | Registers the new CLI flag on the root command. |
cc6e8c7 to
b27fb62
Compare
|
@ceriath please fix comments. |
9f12fdf to
c9e0637
Compare
|
fixed and rebased again |
|
@ceriath conflicts |
| if downloadRes.err != nil { | ||
| errs = append(errs, downloadRes.err) | ||
| return | ||
|
|
||
| if !opts.AllowFailedReleases { | ||
| return | ||
| } else { | ||
| // continue processing other releases even if one fails | ||
| continue | ||
| } |
8c1e4e9 to
cd1bb84
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (2)
pkg/config/global.go:265
- Same as the struct field comment: this getter is specifically about allowing chart preparation to continue on per-release failures, not general “release processing”.
// AllowFailedReleases returns true if partial errors during release processing are allowed
func (g *GlobalImpl) AllowFailedReleases() bool {
return g.GlobalOptions.AllowFailedReleases
pkg/state/state.go:2228
- New AllowFailedReleases control flow in PrepareCharts isn’t covered by tests right now (no tests reference AllowFailedReleases beyond interface stubs). Adding a unit test that simulates one release failing chart preparation and asserts partial results + aggregated errors would prevent regressions in this behavior.
if downloadRes.err != nil {
errs = append(errs, downloadRes.err)
if !opts.AllowFailedReleases {
return
} else {
// continue processing other releases even if one fails
continue
}
| // AllowFailedReleases is true if partial errors during release processing are allowed | ||
| AllowFailedReleases bool |
| if !opts.AllowFailedReleases { | ||
| // abort on first error | ||
| return nil, &MultiError{Errors: errs} | ||
| } else { | ||
| // return partial results with errors for the failed ones | ||
| return releaseToChart, &MultiError{Errors: errs} | ||
| } |
| errs := f() | ||
| var firstErr error | ||
| for _, e := range errs { | ||
| if e != nil { | ||
| firstErr = e | ||
| break | ||
| } | ||
| } | ||
|
|
||
| _, err = r.state.TriggerGlobalCleanupEvent(helmfileCommand, firstErr) | ||
| return err | ||
| _, cleanupErr := r.state.TriggerGlobalCleanupEvent(helmfileCommand, firstErr) | ||
| if !opts.AllowFailedReleases { |
yxxhero
left a comment
There was a problem hiding this comment.
Review: feat: allow helmfile to continue on failed releases
Thanks for the PR! I traced the full path: cmd/root.go → app.go (11 WithPreparedCharts call sites) → run.go (prepareChartsIfNeeded / WithPreparedCharts) → state.go (PrepareCharts scatter/gather worker), and compared against main.
TL;DR: This is a real, largely complete implementation (unlike some flag-only PRs) — the core concurrency change in PrepareCharts is correct and deadlock-free. But there are 3 items that should be resolved before merge: (1) the flag name materially overpromises its scope, (2) the default path (flag not set) silently changes error output, and (3) there are no behavioral tests. Suggest request changes.
✅ What's done well
continuein thePrepareChartsgather closure is correct. The gatherer is the single goroutine drainingresults, and the channel is buffered tolen(releases), so continuing past a failed release neither deadlocks nor drops results. Failed releases are correctly excluded frombuilds, and partial results accumulate cleanly.releaseToChart[key]→, okform is a necessary fix. Failed releases have no map entry; the old form would yield"", make"" != rel.Charttrue, and wrongly clearrel.ChartPath. The new form skips them correctly.- Wiring is complete and consistent. Global flag →
GlobalOptions→ all 11 provider interfaces → everyWithPreparedChartssite passes it.listhardcodestrue,dag/statehardcodefalse, matching the PR description.MultiErrorreuses the existing type onmain(no new type introduced).
🟠 Should resolve before merge
1. Flag name vs. actual scope mismatch
The flag is --allow-failed-releases and the body says "continue when it encounters an error during release". But the change only covers the chart-preparation phase (PrepareCharts / WithPreparedCharts). None of the 9 touched files modify the execution error paths (DeleteReleases, sync/apply/diff execution).
Impact: a user setting --allow-failed-releases reasonably expects a release that fails during helm upgrade to let the others continue — it will not. Only chart download/prepare failures are tolerated.
Suggestion: rename to something scoped, e.g. --allow-failed-chart-prep / --continue-on-prep-error, or extend the tolerance into the execution phase (larger change, touches AffectedReleases bookkeeping). At minimum the help text must say "chart preparation only".
2. Default-path (flag not set) error output silently changes
In run.go prepareChartsIfNeeded:
if len(errs) > 0 {
- return nil, fmt.Errorf("%v", errs) // was: single error, text like "[err1 err2]"
+ if !opts.AllowFailedReleases {
+ return nil, &MultiError{Errors: errs} // default branch ALSO goes here now
+ } else {
+ return releaseToChart, &MultiError{Errors: errs}
+ }
}Even without the flag, a chart-prep failure now changes both the error type (fmt.Errorf → *MultiError) and message ([e1 e2] → Failed with 2 errors:\n\nError 1:\n e1\n…). This is an unannounced change to default behavior that the PR frames as opt-in. It can break tests asserting on the old text, and any log/alerting that scrapes it.
Suggestion: keep the default branch on fmt.Errorf("%v", errs) and use MultiError only on the AllowFailedReleases branch; or split the format change into its own commit + CHANGELOG note.
3. No behavioral tests
The three test files only add the field + getter to the test config structs (so they still satisfy the widened interfaces). There is no test that sets allowFailedReleases: true and asserts: one release fails to prepare → others still prepare → partial map + non-empty errs returned. Given the change sits on a concurrent gather loop and changes how a partial map is consumed downstream, that's a real gap.
Suggestion: add at least:
- fail-one-release +
AllowFailedReleases=true→ remaining releases prepared, returns partial map + errs; - default (
false) → behavior unchanged (abort on first error).
🟡 Minor / design clarifications
4. Failed releases are still executed with the original (un-prepared) chart
A release whose prep failed has no map entry → rel.ChartPath stays as-is → the subsequent sync/apply still runs it against the original chart string, typically failing again ("prep failed" + "exec failed"). Should failed-prep releases be excluded from the operation, or retried with the original chart? Current behavior is the latter and is undocumented.
5. Dead code in WithPreparedCharts
if prepareErr != nil && releaseToChart == nil {
return prepareErr // non-allow path: prepareChartsIfNeeded returns (nil, err) → caught here
}
if !opts.AllowFailedReleases {
if prepareErr != nil { // unreachable for the error path (already handled above)
return prepareErr
}
}In non-allow mode prepareChartsIfNeeded never returns (non-nil map, non-nil err), so the second block is unreachable for errors. Safe to simplify (or keep with a comment explaining intent).
6. Interface widening is an API surface expansion
Adding AllowFailedReleases() bool to 11 provider interfaces forces every implementor to add it. In-repo test impls are updated, but any external/custom config implementor will fail to compile. Worth a CHANGELOG note.
7. Style nits
if !opts.AllowFailedReleases { return } else { … }(in bothprepareChartsIfNeededandPrepareCharts) — theelseafterreturnis redundant.- The new comment on
ChartPrepareOptions.Validateabout Helm 4--validate/--dry-run(issue #2355) is unrelated to this feature; better as its own commit to keep the diff focused.
Summary
|
@ceriath @raoulbhati Thanks for the work on this — the core change is solid. To answer "what's missing to get this in": just left a detailed review (see above), but the short version is three things:
The rest (failed-release execution semantics, minor dead code, style nits) are non-blocking. Happy to merge once 1–3 are addressed 👍 |
|
--allow-failed-releases is ok |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@ceriath will still work on this, not stale |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@ceriath would you be able to finish this up in the next 2 weeks? |
3b3a540 to
8c3ef26
Compare
|
@yxxhero I fixed the style nits (the comment was removed anyways in the meantime) and also changed back the error format for the default path, only |
| if !opts.AllowFailedReleases { | ||
| if prepareErr != nil { |
|
Thanks @ceriath — the previous round's blockers (default-path error format, behavioral tests) are properly addressed, and the flag name was settled. I did another full pass over the branch (build / vet / golangci-lint clean, full Correctness — the big one
Wiring Docs & tests Style: guard clauses instead of Once unwired/helmfile#64 is merged in (or cherry-picked), I think this is ready 🚀 |
|
Thank you! @yxxhero |
Co-authored-by: Peter Honeder <[email protected]> Signed-off-by: Niklas Ott <[email protected]>
…ocs (#64) Review follow-ups for --allow-failed-releases (#2616): - Track per-release chart preparation failures in PrepareCharts (returned as a map keyed by release) and remove those releases from the state in Run.WithPreparedCharts when --allow-failed-releases is set, so a failed release is never executed against its original, un-prepared chart reference (which could either fail again with a duplicate error or, for charts requiring chartify, bypass patches/dependency modifications and produce an unintended result). All failures are still reported at the end via the aggregated MultiError. - Complete the release identity on error results from prepareChartForRelease so failures are attributed to the correct release. - With --allow-failed-releases, continue building dependencies of the remaining charts when 'helm dep build' fails for one release, and skip the affected releases during execution. - Wire --allow-failed-releases into 'helmfile unittest' and 'helmfile status'; remove the dead flag wiring for write-values and list (both never prepare charts, see commandsSkipChartPrep). - Simplify control flow (guard clauses, errors.As, drop dead code and redundant else branches). - Add end-to-end coverage in pkg/app/issue_2616_test.go and extend the state-level tests; document the flag in docs/cli.md and CHANGELOG.md. Signed-off-by: yxxhero <[email protected]>
9c7cd32 to
63e2667
Compare
|
also rebased |
|
thank you! @yxxhero |
…601) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aqua:helmfile/helmfile](https://github.com/helmfile/helmfile) | tools | minor | `1.7.4` → `1.8.0` | --- ### Release Notes <details> <summary>helmfile/helmfile (aqua:helmfile/helmfile)</summary> ### [`v1.8.0`](https://github.com/helmfile/helmfile/releases/tag/v1.8.0) [Compare Source](helmfile/helmfile@v1.7.4...v1.8.0) #### What's Changed - build(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2749](helmfile/helmfile#2749) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.36 to 1.32.37 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2750](helmfile/helmfile#2750) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.1 to 1.107.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2751](helmfile/helmfile#2751) - build(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2752](helmfile/helmfile#2752) - docs: fix broken star history chart by [@​Dessalines39394](https://github.com/Dessalines39394) in [#​2742](helmfile/helmfile#2742) - build(deps): bump github.com/mattn/go-runewidth from 0.0.27 to 0.0.28 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2753](helmfile/helmfile#2753) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.37 to 1.32.38 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2755](helmfile/helmfile#2755) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.2 to 1.107.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2756](helmfile/helmfile#2756) - build(deps): bump helm-diff to v3.15.12 by [@​yxxhero](https://github.com/yxxhero) in [#​2759](helmfile/helmfile#2759) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.38 to 1.33.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2762](helmfile/helmfile#2762) - build(deps): bump github.com/gofrs/flock from 0.13.0 to 0.13.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2761](helmfile/helmfile#2761) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.3 to 1.109.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2760](helmfile/helmfile#2760) - build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2763](helmfile/helmfile#2763) - feat: allow helmfile to continue on failed releases by [@​ceriath](https://github.com/ceriath) in [#​2616](helmfile/helmfile#2616) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.109.1 to 1.110.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2764](helmfile/helmfile#2764) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.1 to 1.33.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2765](helmfile/helmfile#2765) - fix: resolve OCI version constraints before deriving the shared chart cache path by [@​samifruit514](https://github.com/samifruit514) in [#​2768](helmfile/helmfile#2768) - feat: opt-in OpenTelemetry tracing and metrics (experimental) by [@​yxxhero](https://github.com/yxxhero) in [#​2769](helmfile/helmfile#2769) - build(deps): bump go.opentelemetry.io/otel from 1.44.0 to 1.46.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2778](helmfile/helmfile#2778) - build(deps): bump github.com/mattn/go-runewidth from 0.0.28 to 0.0.29 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2776](helmfile/helmfile#2776) - build(deps): bump go.opentelemetry.io/otel/sdk/metric from 1.44.0 to 1.46.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2777](helmfile/helmfile#2777) - build(deps): bump go.opentelemetry.io/proto/otlp from 1.10.0 to 1.11.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2774](helmfile/helmfile#2774) - build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.46.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2775](helmfile/helmfile#2775) - build(deps): bump gitpython from 3.1.58 to 3.1.59 in /docs by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2785](helmfile/helmfile#2785) - build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2784](helmfile/helmfile#2784) - build(deps): bump google.golang.org/protobuf from 1.36.12-0.20260120151049-f2248ac996af to 1.36.12 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2783](helmfile/helmfile#2783) - build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2782](helmfile/helmfile#2782) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.2 to 1.33.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2781](helmfile/helmfile#2781) - build(deps): bump go.opentelemetry.io/contrib/exporters/autoexport from 0.67.0 to 0.71.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2780](helmfile/helmfile#2780) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.110.0 to 1.111.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2779](helmfile/helmfile#2779) - fix(list): avoid deadlock in `helmfile list` with more than 100 states by [@​max06](https://github.com/max06) in [#​2773](helmfile/helmfile#2773) - chore: bump Helm to v3.22.0 and v4.3.0 by [@​yxxhero](https://github.com/yxxhero) in [#​2786](helmfile/helmfile#2786) - build(deps): bump helm-diff to v3.15.13 by [@​yxxhero](https://github.com/yxxhero) in [#​2788](helmfile/helmfile#2788) - feat(remote): support wildcards in remote values/secrets file selectors by [@​hoppla20](https://github.com/hoppla20) in [#​2787](helmfile/helmfile#2787) - build(deps): bump helmfile/vals from v0.46.0 to v0.46.1 by [@​yxxhero](https://github.com/yxxhero) in [#​2789](helmfile/helmfile#2789) #### New Contributors - [@​Dessalines39394](https://github.com/Dessalines39394) made their first contribution in [#​2742](helmfile/helmfile#2742) - [@​samifruit514](https://github.com/samifruit514) made their first contribution in [#​2768](helmfile/helmfile#2768) - [@​max06](https://github.com/max06) made their first contribution in [#​2773](helmfile/helmfile#2773) - [@​hoppla20](https://github.com/hoppla20) made their first contribution in [#​2787](helmfile/helmfile#2787) **Full Changelog**: <helmfile/helmfile@v1.7.4...v1.8.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43OS42IiwidXBkYXRlZEluVmVyIjoiNDQuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/601
helmfile 1.8.0 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What's Changed * build(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.0 by @dependabot[bot] in helmfile/helmfile#2749 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.36 to 1.32.37 by @dependabot[bot] in helmfile/helmfile#2750 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.1 to 1.107.2 by @dependabot[bot] in helmfile/helmfile#2751 * build(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 by @dependabot[bot] in helmfile/helmfile#2752 * docs: fix broken star history chart by @Dessalines39394 in helmfile/helmfile#2742 * build(deps): bump github.com/mattn/go-runewidth from 0.0.27 to 0.0.28 by @dependabot[bot] in helmfile/helmfile#2753 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.37 to 1.32.38 by @dependabot[bot] in helmfile/helmfile#2755 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.2 to 1.107.3 by @dependabot[bot] in helmfile/helmfile#2756 * build(deps): bump helm-diff to v3.15.12 by @yxxhero in helmfile/helmfile#2759 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.38 to 1.33.1 by @dependabot[bot] in helmfile/helmfile#2762 * build(deps): bump github.com/gofrs/flock from 0.13.0 to 0.13.1 by @dependabot[bot] in helmfile/helmfile#2761 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.3 to 1.109.1 by @dependabot[bot] in helmfile/helmfile#2760 * build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 by @dependabot[bot] in helmfile/helmfile#2763 * feat: allow helmfile to continue on failed releases by @ceriath in helmfile/helmfile#2616 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.109.1 to 1.110.0 by @dependabot[bot] in helmfile/helmfile#2764 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.1 to 1.33.2 by @dependabot[bot] in helmfile/helmfile#2765 * fix: resolve OCI version constraints before deriving the shared chart cache path by @samifruit514 in helmfile/helmfile#2768 * feat: opt-in OpenTelemetry tracing and metrics (experimental) by @yxxhero in helmfile/helmfile#2769 * build(deps): bump go.opentelemetry.io/otel from 1.44.0 to 1.46.0 by @dependabot[bot] in helmfile/helmfile#2778 * build(deps): bump github.com/mattn/go-runewidth from 0.0.28 to 0.0.29 by @dependabot[bot] in helmfile/helmfile#2776 * build(deps): bump go.opentelemetry.io/otel/sdk/metric from 1.44.0 to 1.46.0 by @dependabot[bot] in helmfile/helmfile#2777 * build(deps): bump go.opentelemetry.io/proto/otlp from 1.10.0 to 1.11.0 by @dependabot[bot] in helmfile/helmfile#2774 * build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.46.0 by @dependabot[bot] in helmfile/helmfile#2775 * build(deps): bump gitpython from 3.1.58 to 3.1.59 in /docs by @dependabot[bot] in helmfile/helmfile#2785 * build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 by @dependabot[bot] in helmfile/helmfile#2784 * build(deps): bump google.golang.org/protobuf from 1.36.12-0.20260120151049-f2248ac996af to 1.36.12 by @dependabot[bot] in helmfile/helmfile#2783 * build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0 by @dependabot[bot] in helmfile/helmfile#2782 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.2 to 1.33.3 by @dependabot[bot] in helmfile/helmfile#2781 * build(deps): bump go.opentelemetry.io/contrib/exporters/autoexport from 0.67.0 to 0.71.0 by @dependabot[bot] in helmfile/helmfile#2780 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.110.0 to 1.111.0 by @dependabot[bot] in helmfile/helmfile#2779 * fix(list): avoid deadlock in `helmfile list` with more than 100 states by @max06 in helmfile/helmfile#2773 * chore: bump Helm to v3.22.0 and v4.3.0 by @yxxhero in helmfile/helmfile#2786 * build(deps): bump helm-diff to v3.15.13 by @yxxhero in helmfile/helmfile#2788 * feat(remote): support wildcards in remote values/secrets file selectors by @hoppla20 in helmfile/helmfile#2787 * build(deps): bump helmfile/vals from v0.46.0 to v0.46.1 by @yxxhero in helmfile/helmfile#2789 ## New Contributors * @Dessalines39394 made their first contribution in helmfile/helmfile#2742 * @samifruit514 made their first contribution in helmfile/helmfile#2768 * @max06 made their first contribution in helmfile/helmfile#2773 * @hoppla20 made their first contribution in helmfile/helmfile#2787 **Full Changelog**: https://github.com/helmfile/helmfile/compare/v1.7.4...v1.8.0</pre> <p>View the full release notes at <a href="https://github.com/helmfile/helmfile/releases/tag/v1.8.0">https://github.com/helmfile/helmfile/releases/tag/v1.8.0</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!20121
This PR adds a flag
allow-failed-releasesto allow helmfile to continue when it encounters an error during release.The current behaviour
abort on failureremains the default with the exception oflistalways displaying whatever it can while reporting the errors.