From 82b0baf764121d169dc8c0f8585d015e318a6375 Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Sat, 30 May 2026 16:49:00 +0100 Subject: [PATCH 1/3] Parse DAILY_SUMMARY as a boolean like a sane person --- nephthys/utils/env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nephthys/utils/env.py b/nephthys/utils/env.py index 6baee2a..9b928db 100644 --- a/nephthys/utils/env.py +++ b/nephthys/utils/env.py @@ -59,8 +59,8 @@ def __init__(self): self.slack_bts_channel = os.environ.get("SLACK_BTS_CHANNEL", "unset") self.slack_maintainer_id = os.environ.get("SLACK_MAINTAINER_ID", "unset") self.program = os.environ.get("PROGRAM", "summer_of_making") - self.daily_summary = True if not os.environ.get("DAILY_SUMMARY") else False - self.enable_feedback = get_environ_bool("ENABLE_FEEDBACK", False) + self.daily_summary = get_environ_bool("DAILY_SUMMARY", default=True) + self.enable_feedback = get_environ_bool("ENABLE_FEEDBACK", default=False) self.app_title = os.environ.get("APP_TITLE", "helper heidi") self.port = int(os.environ.get("PORT", 3000)) From 2c9a5eebbf86f4dc175c43b7e9c820a44f21817a Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Sat, 30 May 2026 16:52:10 +0100 Subject: [PATCH 2/3] Update docs for DAILY_SUMMARY --- docs/deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 60f03a1..3493f10 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -85,8 +85,8 @@ Note: These steps have to be done by a Workspace Admin (otherwise it will be una OTEL_EXPORTER_OTLP_LOGS_BASIC_AUTH="username:password" # You can change the OTel service name if you want, but you don't have to OTEL_SERVICE_NAME="nephthys" - # Setting this to any value disables daily summary messages (yes, this is counter-intuitive and will be changed soon) - DAILY_SUMMARY="" + # Set this to false to disable daily summary messages in the BTS channel + DAILY_SUMMARY=true # Set the log level (defaults to "WARNING" in production) LOG_LEVEL="WARNING" # Override the log level for console output From cbff4f0f6e9c4790565dc9c8d482447e37997933 Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Sat, 30 May 2026 16:53:05 +0100 Subject: [PATCH 3/3] Consistently show default values for the optional env vars --- docs/deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 3493f10..37b6086 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -96,12 +96,12 @@ Note: These steps have to be done by a Workspace Admin (otherwise it will be una # Allow the poster of a question to give feedback after their ticket is resolved # Feedback is stored in the "Feedback" table. Disabled by default. - ENABLE_FEEDBACK=true + ENABLE_FEEDBACK=false # Optional: Enable stale ticket auto-close # Tickets inactive for this many days will be automatically closed # Leave unset to disable - STALE_TICKET_DAYS="7" + STALE_TICKET_DAYS="" # e.g. 7 ``` 4. Don't forget to click **Save All Environment Variables**