From 0f984fb5798d71decfa8c94b056d4f935d5794a4 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 17 Sep 2026 20:41:06 +0200 Subject: [PATCH] ci: inject throwaway auth secrets into smoke boot Production validation rejects the compose placeholder secrets, so the backend panicked at config load and the container went unhealthy. Generate ephemeral BETTER_AUTH_SECRET and BETTER_AUTH_INTERNAL_TOKEN per run; verified locally that the container reaches healthy. Authored By: TDvorak Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1033a07..4fdbbb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,8 @@ jobs: - name: Boot stack run: | + export BETTER_AUTH_SECRET=$(openssl rand -hex 32) + export BETTER_AUTH_INTERNAL_TOKEN=$(openssl rand -hex 32) docker compose -f infra/docker-compose.yml up -d --build postgres redis backend frontend traefik - name: Wait for backend health