mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-12-06 11:03:52 +00:00
This change adds the redesigned admin panel and the smart router decision model assist. It adds opt-in prompt-prefix caching per provider and cached-token pricing and metrics. With Redis, the metrics route reports fleet-wide values. The redis.sharedState switch shares six coordination states across replicas. PR CI grants actions read, which the shared go-pr workflow needs. The pull request description has the full list and the verification.
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- "**"
|
|
- "!main"
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
pull-requests: write
|
|
security-events: write
|
|
|
|
jobs:
|
|
pr-checks:
|
|
uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main
|
|
with:
|
|
go-version: "1.26.x"
|
|
coverage-threshold: 75
|
|
secrets: inherit
|
|
|
|
# C2 (review round 3, 2026-09): the shared pr-checks job above runs
|
|
# `go vet`/staticcheck/`go test -race`/gosec/govulncheck/CodeQL against
|
|
# `./...`, which stops at every NESTED go.mod (tools/yaegi-check,
|
|
# tools/pricing-sync, integration/) — so neither the yaegi interpreter
|
|
# compatibility check nor the pricing-sync tool's own tests ran in CI at
|
|
# all before this job existed. This job runs both, the same two commands
|
|
# a contributor is expected to run locally before pushing.
|
|
yaegi-and-tools:
|
|
name: Yaegi compatibility & tooling
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: "1.26.x"
|
|
cache: true
|
|
|
|
- name: yaegi-check
|
|
run: make yaegi-check
|
|
|
|
- name: pricing-sync tests
|
|
run: cd tools/pricing-sync && go test ./...
|