Skip to content

fix(chart): rename PUBLIC_WORKFLOWS_DATA_DIR → PUBLIC_WORKFLOWS_DIR to match app + Dockerfile#5

Merged
mrsimonemms merged 1 commit into
zigflow:mainfrom
404prefrontalcortexnotfound:fix/chart-public-workflows-dir-typo
May 28, 2026
Merged

fix(chart): rename PUBLIC_WORKFLOWS_DATA_DIR → PUBLIC_WORKFLOWS_DIR to match app + Dockerfile#5
mrsimonemms merged 1 commit into
zigflow:mainfrom
404prefrontalcortexnotfound:fix/chart-public-workflows-dir-typo

Conversation

@404prefrontalcortexnotfound
Copy link
Copy Markdown

Closes #4.

The chart's Deployment exports PUBLIC_WORKFLOWS_DATA_DIR, but the
SvelteKit app reads PUBLIC_WORKFLOWS_DIR in:

  • src/lib/server/workflows-dir.ts
  • src/routes/workflows/+page.server.ts

The Dockerfile also sets ENV PUBLIC_WORKFLOWS_DIR=/data (line 49),
so the chart was the outlier. With this fix, setting dataDir in
values.yaml plumbs through to the running app instead of being
silently ignored and falling back to process.cwd() + '/workflows'.

Verified with helm template — env block now shows
PUBLIC_WORKFLOWS_DIR, matching the app's expectation and the
Dockerfile default.

@404prefrontalcortexnotfound
Copy link
Copy Markdown
Author

Hey @mrsimonemms — here it is, hope it helps. Thanks for making a fantastic tool.

@mrsimonemms
Copy link
Copy Markdown
Contributor

Hey @mrsimonemms — here it is, hope it helps. Thanks for making a fantastic tool.

Thank you. Can you fix the failures and I'll get it merged?

@mrsimonemms
Copy link
Copy Markdown
Contributor

Hey @404prefrontalcortexnotfound, can you fix the failed test please so I can get this merged?

…o match app + Dockerfile

Signed-off-by: Bo Bobson <bo@noneofyourbusiness.com>
@404prefrontalcortexnotfound 404prefrontalcortexnotfound force-pushed the fix/chart-public-workflows-dir-typo branch from 39bafd4 to 843ea2d Compare May 24, 2026 11:42
@mrsimonemms mrsimonemms self-requested a review May 28, 2026 07:25
@mrsimonemms mrsimonemms added this pull request to the merge queue May 28, 2026
Merged via the queue into zigflow:main with commit 89a336e May 28, 2026
10 checks passed
@mrsimonemms
Copy link
Copy Markdown
Contributor

Thanks

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.

fix(chart): deployment sets PUBLIC_WORKFLOWS_DATA_DIR but app reads PUBLIC_WORKFLOWS_DIR

2 participants