LibreChat/.github/workflows/langfuse-fanout.yml
Marco Beretta 9e6d677751
⚙️ ci: Bump GitHub Actions to Node.js 24 Runtimes (#14689)
* ci: bump GitHub Actions to Node.js 24 runtimes

Clear Node 20 deprecation warnings on runners by moving workflow
actions to majors that declare node24 (checkout, cache, setup-node,
artifacts, Docker buildx/build-push/qemu/login, github-script,
setup-go, Azure login/helm, create-pull-request, axe-linter).

* fix: release leader lock via ioredis on Redis Cluster

@keyv/redis EVAL can surface unhandled MOVED redirects on cluster,
so resign() logged failure and left LeadingServerUUID set. Use ioredis
for leader election SET NX / GET / Lua (same pattern as principals and
concurrency locks) so cluster redirects are retried and resignation
clears the lock.
2026-08-07 11:25:29 -04:00

44 lines
1 KiB
YAML

name: Langfuse Fanout
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/langfuse-fanout.yml'
- 'otel/langfuse-fanout/**'
- '!**.md'
permissions:
contents: read
concurrency:
group: langfuse-fanout-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
go-tests:
name: Go tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: otel/langfuse-fanout/go.mod
cache-dependency-path: otel/langfuse-fanout/go.sum
- name: Check Go formatting
working-directory: otel/langfuse-fanout
run: |
unformatted="$(gofmt -l .)"
if [ -n "$unformatted" ]; then
echo "::error::Go files are not gofmt-formatted:"
echo "$unformatted"
exit 1
fi
- name: Run Go tests
working-directory: otel/langfuse-fanout
run: go test ./...