From 3e5b543f4af3869aa52575fa8be3e5976786d8bb Mon Sep 17 00:00:00 2001 From: clover caruso Date: Sun, 4 Oct 2026 19:07:30 -0700 Subject: [PATCH] Keep Shale login stable by disabling its crashing trace exporter The pinned Shale image panics with Overflow while serializing an OpenTelemetry export after login. Use its default entrypoint without tracing, and remove the exporter dependency and unused trace metadata. Existing OAuth configuration and repository state remain intact. Validation: 12 real OAuth logins across two disposable identities, authenticated settings, and a retained session after restart; all fixture identities and containers removed. Production secret preflight passes after importing the VPN credentials. Assisted-by: gpt-6.1-sol --- service/shale/service.pkl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/service/shale/service.pkl b/service/shale/service.pkl index 9f2e7ef619aa866ce2459a183bc01be340d89f53..188e8b9ac3b1494b73a76559275e91a351586e47 100644 --- a/service/shale/service.pkl +++ b/service/shale/service.pkl @@ -5,9 +5,6 @@ import "../keycloak/service.pkl" as keycloak meta { name = "Shale" } -traceServiceName = "astheno.shale" -dependsOn { "victoria-traces" } - requirements { new keycloak.OpenIDClient { clientId = module.id @@ -17,8 +14,6 @@ requirements { container { image = "docker.io/astheno/shale@sha256:ece987e25ebe67275fbe105b1b03e650a9b3adfe716928beb717cde1d32c9652" - entrypoint = "/bin/sh" - args { "-c"; "exec /app/astheno-shale --port 8000 --datadir /data --otel-exporter-otlp-traces-endpoint \"$STUDIO_TRACES_ENDPOINT\"" } extraHosts { "\(keycloak.container.http.hostname):host-gateway" } http { @@ -55,9 +50,6 @@ container { ["SESSION_SECRET"] = "${secret.own.session_secret}" ["OAUTH2_CLIENT"] = "oidc,\(keycloak.container.http.hostname)/realms/master|${secret.oidc.clientId}|${secret.oidc.clientSecret}" } - envTemplate = """ - {{ range nomadService 1 (env "NOMAD_ALLOC_ID") "victoria-traces" }}STUDIO_TRACES_ENDPOINT=http://\(module.nomadHostPort)/insert/opentelemetry/v1/traces{{ end }} - """ } secrets { -- 2.54.0