From aced2417c096ac219080fcfbc5bd50fb53d8994b Mon Sep 17 00:00:00 2001 From: Jonathan Styles Date: Fri, 11 Sep 2026 20:55:35 -0400 Subject: [PATCH] Unbuffer stdout so sync progress is visible in container logs stdout is a pipe when running under Docker/Kubernetes, so print() output is block-buffered while stderr tracebacks flush immediately. The container looks idle after startup, and buffered lines interleave mid-line with tracebacks. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01UGRXmBT8HSsodKUkYXRAZK --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 831e9d7..845f18c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ ENV TZ=${TZ} \ UV_COMPILE_BYTECODE=1 \ UV_LINK_MODE=copy \ UV_PYTHON_DOWNLOADS=0 \ + PYTHONUNBUFFERED=1 \ PATH="/opt/github-team-sync/.venv/bin:$PATH" WORKDIR /opt/github-team-sync