Skip to content

fix(app): sync local chart dirs from a copy, record sync before output - #923

Merged
OisinKyne merged 1 commit into
mainfrom
fix/app-local-chart-deps
Nov 30, 2026
Merged

OisinKyne merged 1 commit into
mainfrom
fix/app-local-chart-deps

Conversation

@OisinKyne

Copy link
Copy Markdown
Contributor
  • a local chart directory is copied to /.chart// on every sync and helmfile runs on a generated .helmfile.sync.yaml pointing at the copy, so helm's dependency build never writes Chart.lock/charts/ into the user's source tree; helmfile.yaml keeps the source path. Relative file://../x dependencies are copied alongside so Chart.lock stays valid. .git is skipped, symlinks are followed only inside the root, 512 MiB cap; skipped links are named in a warning that points at obol helm upgrade --install for charts that need them
  • the sync record is written right after helmfile exits (ExecConfig AfterRun), before any output, and SIGPIPE can't kill the rest of the sync, so | head no longer leaves a false release drift
  • app upgrade notes a downgrade
  • app list skips non-app state dirs (hermes/)

- a local chart directory is copied to <deploy>/.chart/<name>/ on every
  sync and helmfile runs on a generated .helmfile.sync.yaml pointing at
  the copy, so helm's dependency build never writes Chart.lock/charts/
  into the user's source tree; helmfile.yaml keeps the source path.
  Relative file://../x dependencies are copied alongside so Chart.lock
  stays valid. .git is skipped, symlinks are followed only inside the
  root, 512 MiB cap; skipped links are named in a warning that points
  at obol helm upgrade --install for charts that need them
- the sync record is written right after helmfile exits (ExecConfig
  AfterRun), before any output, and SIGPIPE can't kill the rest of the
  sync, so `| head` no longer leaves a false release drift
- app upgrade notes a downgrade
- app list skips non-app state dirs (hermes/<id>)
@OisinKyne
OisinKyne merged commit d07ca5c into main Nov 30, 2026
15 checks passed
@OisinKyne
OisinKyne deleted the fix/app-local-chart-deps branch November 30, 2026 14:14
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.

1 participant