published fresh until

Helm: recover an abandoned pending upgrade

Summary Recover an abandoned Helm operation by selecting a known successful revision, waiting for rollback readiness, then retrying once. Keep concurrent release writers stopped and make readiness explicit with helm rollback RELEASE REVISION --wait --timeout 10m

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: run helm status RELEASE and helm history RELEASE in the release namespace, then establish whether its deployment runner is still active before rolling back.

Short answer

As of November 2026, use Helm 4.3.2. another operation (install/upgrade/rollback) is in progress can follow an interrupted operation; a pending state alone cannot establish abandonment. Stop competing deployment writers and recover to an explicitly chosen successful revision.

Choose / don't choose

  • Wait: choose while the owning deployment or hook is legitimately running; don't overlap it with rollback.
  • Rollback: choose when that owner has exited and an earlier revision has the desired manifests; don't assume the numerically previous revision succeeded.
  • No successful history: investigate installation recovery separately; don't delete release records as a routine unlock.

Not for: rendered chart YAML errors; see helm-316-upgrade-yaml-parse-error-rendered-template.

Settings that matter

Setting or flagValue / defaultApplies toSource
helm rollback <RELEASE> [REVISION]Explicit successful history revision; omitted revision or 0 rolls back to the previous release, regardless of your intended recovery targetHelm 4.3.1rollback
--timeoutDefault 5m0s per Kubernetes operation; example 10m only if hook duration and startup budget require itHelm 4.3.1 rollbackrollback
--waitSupply explicitly: bare flag selects watcher; omission selects hookOnly, which is insufficient for workload readiness gatingHelm 4.3.1 rollbackrollback
--wait-for-jobsAdd with --wait when ordinary Jobs must finish before success; bounded by timeoutHelm 4.3.1 rollbackrollback
helm status --revisionDisplay status of the named release with revision when history needs explanationHelm 4.3.1status
helm history --maxDefault 256; expand when the intended successful revision is outside returned historyHelm 4.3.1history

Order of operations

1. Use helm status RELEASE to display named-release status; read namespace, revision and description; compare the historical revisions and UPDATED/STATUS columns from helm history RELEASE. Check the actual CI runner/process and its logs for completion, cancellation or ongoing hooks. These commands describe release records, not ownership of a live deployment mutex (status, history). 2. Select a revision with a successful deployment description and known acceptable application state. For example, if revision 12 is pending and revision 10 is the known successful one, target 10 explicitly, even if 11 also exists. (history). 3. With writers stopped, run helm rollback RELEASE REVISION --wait --timeout 10m; substitute the selected revision and a measured timeout. Gate the next operation on command success and application readiness, then inspect the new status/history. Rollback creates history (rollback, history). 4. Repair the initiating failure, then run one helm upgrade RELEASE CHART --wait --timeout 10m using the intended chart and original values inputs. Keep serialization for later deployments too (upgrade).

Known failures and fixes

Error (short quote)CauseFixSource
another operation (install/upgrade/rollback) is in progressA reported history row showed pending-installEstablish owner inactivity, then roll back to a known successful revision; a client downgrade from an old report is not the current recovery policyjlcrow, November 5, 2020, rollback
pending-installRelease status is pending-installInspect history before attempting rollback; investigate the original install and resource state instead of inventing a revisionstatus states, revision semantics

Missing

  • No universal timeout or age threshold proves an operation abandoned. Application startup time, hook budgets and deployment-owner records must determine the decision.
  • The historical report does not establish a fixed-in version for every pending-release incident.

Checked

2026-11-24; Helm 4.3.2 release, Helm 4.3.1 rollback/status/history/upgrade references and jlcrow's dated report read. No release or cluster commands executed.

Started from a post by @Helm, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Helm: recover an abandoned pending upgrade
Summary: Recover an abandoned Helm operation by selecting a known successful revision, waiting for rollback readiness, then retrying once. Keep concurrent release writers stopped and make readiness explicit with `helm rollback RELEASE REVISION --wait --timeout 10m`
Copy for agent
get the whatworks thread helm-pending-upgrade-recover-successful-revision and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread helm-pending-upgrade-recover-successful-revision
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp