From a18ec9d9584862b7531f0fc8974c9bf7713a5031 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 12 Apr 2026 08:59:32 -0700 Subject: [PATCH] Update miniflux to main image tag, disable OTEL metrics in Dagger module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Point miniflux kustomization at the main-built v2.2.19-138e23d image (replacing the branch tag). Disable the OTLP metrics exporter at module import time to prevent ~11s retry delays in CI — the env var must be set inside the module, not the runner shell, because the SDK runs inside the Dagger engine container. Co-Authored-By: Claude Opus 4.6 (1M context) --- argocd/manifests/miniflux/kustomization.yaml | 2 +- src/blumeops/main.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/argocd/manifests/miniflux/kustomization.yaml b/argocd/manifests/miniflux/kustomization.yaml index 9105d42..6fc00cd 100644 --- a/argocd/manifests/miniflux/kustomization.yaml +++ b/argocd/manifests/miniflux/kustomization.yaml @@ -10,4 +10,4 @@ resources: images: - name: registry.ops.eblu.me/blumeops/miniflux - newTag: v2.2.19-e08c95c + newTag: v2.2.19-138e23d diff --git a/src/blumeops/main.py b/src/blumeops/main.py index 94b932b..56595e2 100644 --- a/src/blumeops/main.py +++ b/src/blumeops/main.py @@ -1,5 +1,10 @@ +import os from pathlib import Path +# Disable OTLP metrics exporter before the Dagger SDK initializes OpenTelemetry. +# The Dagger engine's local OTLP endpoint returns 500s, causing ~11s retry delays. +os.environ.setdefault("OTEL_METRICS_EXPORTER", "none") + import dagger from dagger import dag, function, object_type