From 137a2afb8dc254665898ec8c10ced44aa5dd0a25 Mon Sep 17 00:00:00 2001 From: dtoro Date: Sat, 8 Aug 2026 21:53:16 +0200 Subject: [PATCH] =?UTF-8?q?0.28.3=20=E2=80=94=20widen=20api=20healthcheck?= =?UTF-8?q?=20start=5Fperiod=20to=20180s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Measured startup is ~93s: NewHandler stalls on Infisical auth retries (~40s) and OIDC discovery timeouts to auth.hubris.network (~35s) before binding :8090. The api IS healthy once bound (serves /healthz); the window just needs to clear both external-timeout phases so nomos (depends_on: api-healthy) can start and the deploy completes. --- VERSION | 2 +- docker-compose.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index a37255a..b79f04f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.28.2 +0.28.3 diff --git a/docker-compose.yml b/docker-compose.yml index 76fb9f4..16d2e90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -115,10 +115,11 @@ services: retries: 10 # Migrations and seed run before this container, but the first bind can # still take a moment; failures inside the start period don't count. - # The api also retries Infisical at startup (4x with backoff) before - # binding :8090 — when Infisical is unreachable that adds ~60s, so the - # start period must cover it or nomos (depends_on: api-healthy) fails. - start_period: 90s + # The api's NewHandler stalls on TWO unreachable external deps at startup + # before binding :8090: Infisical (4x auth retries, ~40s) and OIDC + # discovery (auth.hubris.network, ~35s of timeouts). Total ~90-95s, so + # the start period must clear it or nomos (depends_on: api-healthy) fails. + start_period: 180s # Scheduler (Phase 3) — observe loop scheduler: