Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

fix: patch Langfuse fanout Go certificate trust (#17663)

lia-by-librechat[bot]71ed78c46d1e
diff --git a/.github/workflows/langfuse-fanout.yml b/.github/workflows/langfuse-fanout.yml
index 91111aa4fc..bc8446548d 100644
--- a/.github/workflows/langfuse-fanout.yml
+++ b/.github/workflows/langfuse-fanout.yml
@@ -39,6 +39,20 @@ jobs:
exit 1
fi
- - name: Run Go tests
+ - name: Run Go checks
working-directory: otel/langfuse-fanout
- run: go test ./...
+ run: |
+ go test ./...
+ go vet ./...
+
+ - name: Build runtime image
+ run: docker build --pull -f otel/langfuse-fanout/Dockerfile -t langfuse-fanout:test .
+
+ - name: Run tests in runtime image
+ working-directory: otel/langfuse-fanout
+ run: |
+ CGO_ENABLED=0 go test -c -o "$RUNNER_TEMP/langfuse-fanout.test" ./cmd/langfuse-fanout
+ docker run --rm --network none \
+ --mount "type=bind,src=$RUNNER_TEMP/langfuse-fanout.test,dst=/verification/langfuse-fanout.test,readonly" \
+ --entrypoint /verification/langfuse-fanout.test \
+ langfuse-fanout:test -test.v
diff --git a/otel/langfuse-fanout/Dockerfile b/otel/langfuse-fanout/Dockerfile
index dcf1d66637..c07d7eecfd 100644
--- a/otel/langfuse-fanout/Dockerfile
+++ b/otel/langfuse-fanout/Dockerfile
@@ -1,4 +1,5 @@
-FROM golang:1.25-alpine AS builder
+FROM golang:1.26.10-alpine3.24@sha256:a2012b4a1d1f9f7e9f44e0d39b805a901e856b1dd80b4e6ee4338db547050308 AS builder
+ENV GOTOOLCHAIN=local
WORKDIR /src
COPY otel/langfuse-fanout/go.mod otel/langfuse-fanout/go.sum* ./
RUN go mod download
diff --git a/otel/langfuse-fanout/go.mod b/otel/langfuse-fanout/go.mod
index 70904c37c2..3ae77578ed 100644
--- a/otel/langfuse-fanout/go.mod
+++ b/otel/langfuse-fanout/go.mod
@@ -1,6 +1,6 @@
module github.com/danny-avila/librechat/otel/langfuse-fanout
-go 1.25.0
+go 1.26.10
require (
github.com/prometheus/client_golang v1.23.2