fix(deps,ci): update module path to forgejo.riotpiao.com/rock/homelab-frontend, switch to GITHUB_TOKEN
Build / Build and push image (push) Failing after 12s
CI / Test, vet, build (push) Successful in 2m18s

This commit is contained in:
Story Crater Bot
2026-08-21 20:46:45 -07:00
parent 6cf5c3e5a9
commit b6767e247c
23 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package config_test
import (
"testing"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestLoadRoutesMissingAuthRequired tests that the auth-required flag is not a silent default:
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestLoadRoutesValidConfig tests that a valid configuration loads correctly.
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestLoadIntegration tests the full Load function with CONFIG_PATH env var
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestBodyBasedDispatch verifies that /v1/chat/completions routes based on model field.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestBodySizeCapExact verifies that a body exactly at the cap is accepted.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestEmbeddingsPassthroughNoRewrite verifies /v1/embeddings is not rewritten
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestHeaderHygiene verifies that headers are properly filtered and forwarded.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// ModelListResponse represents the response shape for GET /v1/models
+2 -2
View File
@@ -13,8 +13,8 @@ import (
"strings"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"github.com/Riotpiaole/homelab-frontend/internal/logging"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/logging"
)
// Handler is a reverse proxy that routes requests to configured upstreams.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
func TestProxyBasic(t *testing.T) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net/http"
"net/url"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// RouteRequest determines which upstream should handle the request.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestSSEUnbuffered verifies that SSE events stream to the client without buffering.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// TestConnectTimeout verifies that connections fail at the configured timeout.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// OpenAI-style tool definition
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// RFC 9457 Problem Details
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/server"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/server"
)
// TestHealthEndpoints verifies health endpoint behavior.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/server"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/server"
)
// TestGracefulShutdown verifies that:
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/Riotpiaole/homelab-frontend/internal/config"
"forgejo.riotpiao.com/rock/homelab-frontend/internal/config"
)
// startForTest binds the stub on an ephemeral port so the suite does not fight