Skip to content

fix: skip chart operation lock for local charts - #2871

Merged
yxxhero merged 1 commit into
helmfile:mainfrom
aleksandr-inherent:aleksandr/local-chart-lock
Nov 4, 2026
Merged

yxxhero merged 1 commit into
helmfile:mainfrom
aleksandr-inherent:aleksandr/local-chart-lock

Conversation

@aleksandr-inherent

Copy link
Copy Markdown
Contributor

Fixes #2870.

Releases sharing a relative or absolute local chart path keep an empty ChartPath, so withChartOperationLock serializes their helm upgrade calls. The lock is only needed for remote chart downloads (#768).

  • withChartOperationLock skips the lock when isLocalChart(chart).
  • Test: releases with a ../ local chart and empty ChartPath run concurrently.

Remote charts keep the lock; TestWithChartOperationLockSerializesSameChart still passes.

@yxxhero
yxxhero merged commit e97ae41 into helmfile:main Nov 4, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync serializes releases that share a relative local chart

2 participants