Skip to content

fix(helm): wire TELEGRAM_SECRET_TOKEN for #1422 fail-closed verification - #1444

Merged
lilyshen0722 merged 1 commit into
mainfrom
fix/telegram-secret-env
Sep 1, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
fix/telegram-secret-env

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

#1422 (merged, not yet deployed) makes Telegram webhook verification fail-closed — and the cluster had no TELEGRAM_SECRET_TOKEN configured, so the next Deploy Dev from main would have 401'd every delivery and silently killed the live bridge.

Operator steps already done (in order, downtime-free because live pre-#1422 code ignores the header):

  1. commonly-dev-telegram-secret-token created in Secret Manager (random 48-char, never left the pipe).
  2. Webhook re-registered via setWebhook with the matching secret_token (getWebhookInfo: same URL, ok:true).

This PR wires the last leg: ESO mapping in api-keys.yaml + TELEGRAM_SECRET_TOKEN env on the backend deployment (optional, same shape as its siblings). After merge: force-sync ESO, then deploy ships #1422 with its config present.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PTfziSyx2DzuwmibZHHY4s

#1422 merged fail-closed webhook verification but the cluster had no
TELEGRAM_SECRET_TOKEN configured — the next deploy from main would have
401'd every Telegram delivery and killed the live bridge. This wires the
env from api-keys (ESO <- commonly-dev-telegram-secret-token, already
created in SM) ahead of that deploy. The webhook is already re-registered
with the matching secret_token; live pre-#1422 code ignores the header,
so ordering is downtime-free.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PTfziSyx2DzuwmibZHHY4s
@lilyshen0722
lilyshen0722 merged commit da867f1 into main Sep 1, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/telegram-secret-env branch September 1, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant