Skip to content

fix: apply demo config to running LibreChat - #25

Merged
dustinhealy merged 1 commit into
mainfrom
fix/reconcile-running-demo-env
Sep 24, 2026
Merged

dustinhealy merged 1 commit into
mainfrom
fix/reconcile-running-demo-env

Conversation

@dustinhealy

Copy link
Copy Markdown
Contributor

Summary

  • reconcile prepare-demo.sh changes with an already-running LibreChat container instead of leaving stale environment variables active
  • recreate only LibreChat when its running Compose hash differs, then verify the effective Langfuse URL and project keys without printing secrets
  • add smoke coverage that deliberately transitions a running container from Cloud fixture settings back to the local Langfuse project
  • document the standalone reconciliation helper for manual .env edits

Why

Docker containers do not receive .env changes after creation. A demo could therefore report that local Langfuse was configured while the running LibreChat process continued exporting traces to a previous Cloud target.

Validation

  • bash -n scripts/reconcile-demo-runtime.sh scripts/prepare-demo.sh
  • workflow YAML parsed successfully
  • helper no-ops cleanly when the project is not running
  • PR smoke test exercises the live Cloud-to-local transition

@dustinhealy
dustinhealy merged commit a1f7344 into main Sep 24, 2026
3 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.

1 participant