Skip to content

CI: send Langfuse traces to the US region - #5

Merged
MAOFILHO merged 1 commit into
mainfrom
ci/langfuse-us-region
Dec 3, 2026
Merged

MAOFILHO merged 1 commit into
mainfrom
ci/langfuse-us-region

Conversation

@MAOFILHO

@MAOFILHO MAOFILHO commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Why

The Langfuse project is on us.cloud.langfuse.com. src/config.py:98 defaults LANGFUSE_HOST to the EU region (https://cloud.langfuse.com), and the workflow did not set it. With Langfuse keys added as secrets, CI would send US keys to the EU server and every trace would be rejected. The run itself would still pass, so the loss would be silent.

Change

One env line in .github/workflows/continuous-evaluation.yml: LANGFUSE_HOST: https://us.cloud.langfuse.com, plus a header comment explaining it. Not a secret: it is a public URL.

Test plan

  • Workflow YAML parses; LANGFUSE_HOST appears in the job env
  • Add LANGSMITH_API_KEY, LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY repo secrets
  • Manual run on this branch shows "Langfuse tracing ENABLED" and traces appear in Langfuse (US)

🤖 Generated with Claude Code

The Langfuse project lives on us.cloud.langfuse.com, but src/config.py
defaults LANGFUSE_HOST to the EU region. Without this, CI would send the
US keys to the EU server, get rejected, and lose every trace.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@MAOFILHO
MAOFILHO merged commit 3ff9ce8 into main Dec 3, 2026
2 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