Ability to run langfuse in tests automatically without manual involvement #1671
Replies: 2 comments 16 replies
-
Hi @SinghCoder, agree, this would be super useful and we moved to slow on this. Would the seed command solve for your goal already? I intended to make a change on this which allows to set a default project via env variables alone but did not get to it yet |
Beta Was this translation helpful? Give feedback.
-
Hi @SinghCoder, I'm happy to share an update. We've just released headless initialization via the Regarding running Langfuse in CI, we also migrated our CI tests to use this initialization. See here for an example of our GitHub action (needs to be passed to the application at runtime): langfuse/.github/workflows/pipeline.yml Lines 121 to 132 in 898cca5 Thank you for your patience. We wanted to add this feature much sooner, but it was blocked by a recent organizational change that could have otherwise caused the configuration to break. Please let me know if this solves your use case and if you have any feedback. |
Beta Was this translation helpful? Give feedback.
-
Hey team,
Thanks for the wonderful project and hard work you folks are putting in.
I am trying to run langfuse in my docker compose setup for e2e tests debuggability. Running it via docker compose was easy part (thanks to amazing docs).
The hard part is allowing my service to connect to this langfuse instance.. It needs API keys to connect, but that seems like a manual step for now.. i.e. no way to provide mock project and api keys in docker file?
I saw this pending issue #517 with a PR linked even, but no updates there for ~5 months now..
Is there another way to do this at the moment?
I saw your .github pipeline file also, but couldn't figure out how can I plug environment "examples" into the docker compose file.. Do you think that would help? Or any other suggestions on achieving this?
Beta Was this translation helpful? Give feedback.
All reactions