From 0d302b8a858a6a813ecc02dbde5ca945dbbfb8ff Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 1 Jul 2026 16:14:30 +0000 Subject: [PATCH] =?UTF-8?q?otel:=20wire=20into=20live=20boot=20=E2=80=94?= =?UTF-8?q?=20load=20otel.sx=20+=20mount=20otel/routes=20in=20serve.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds lib/host/otel.sx to serve.sh MODULES and otel/routes to the host/serve group list so GET /otel (+ /otel/stream) serve on the live host once merged. Build-time wiring only; no container touched. --- lib/host/serve.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/host/serve.sh b/lib/host/serve.sh index 6ff249c2..dc82404c 100755 --- a/lib/host/serve.sh +++ b/lib/host/serve.sh @@ -91,6 +91,7 @@ MODULES=( "lib/host/htmlsx.sx" "lib/host/blog.sx" "lib/host/server.sx" + "lib/host/otel.sx" ) # Admin login credentials + session signing secret. Override via the container @@ -194,5 +195,5 @@ EPOCH=1 # middleware, so a browser logs in then publishes. The bearer resolver is a stub # (no API tokens configured) — browser session is the live auth path for now. # blog-routes LAST — its GET /:slug catch-all must not shadow the rest. - echo "(eval \"(host/serve $PORT (list host/static-routes host/feed-routes host/relations-routes (host/blog-write-routes (fn (tok) nil)) host/blog-routes))\")" + echo "(eval \"(host/serve $PORT (list host/static-routes host/feed-routes host/relations-routes (host/blog-write-routes (fn (tok) nil)) host/blog-routes otel/routes))\")" } | exec "$SX_SERVER"