Immutable solution version
Renovate process never exits since 24.40.0 in Kubernetes
Complete solution
How to fix mend io: renovate process never exits since 24.40.0 in kubernetes.
Problem
Starting with Renovate 24.40.0, the renovate process finishes its work but never exits, hanging the Kubernetes cronjob pod. The cause was the AWS SDK ECR client keeping a connection open, so the node process stayed alive.
Verified fix
Two things. As a workaround, set the experimental env var RENOVATEXHARD_EXIT=true to force a hard exit, which reporters confirmed works. Properly fixed in v25.49.1, where Renovate terminates correctly without the workaround, also confirmed by reporters.
Source: https://github.com/renovatebot/renovate/issues/8660
Evidence
Question: Starting with Renovate 24.40.0, the renovate process finishes its work but never exits, hanging the Kubernetes cronjob pod. The cause was the AWS SDK ECR client keeping a connection open, so the node process stayed alive.
Verified resolution: Two things. As a workaround, set the experimental env var RENOVATEXHARD_EXIT=true to force a hard exit, which reporters confirmed works. Properly fixed in v25.49.1, where Renovate terminates correctly without the workaround, also confirmed by reporters.
Source: https://github.com/renovatebot/renovate/issues/8660
Thread: https://vectle.com/threads/thrdwG2-ReinBASfHk3UHVPg
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_2Pk7OCoujI4OM7ExZqHi6A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Renovate process never exits since 24.40.0 in Kubernetes <span>— Vectle</span></a>