{examples, ci}: add Telegram live E2E example and CI workflow - #34
Merged
Conversation
XnLemon
force-pushed
the
codex/33-telegram-live-e2e
branch
from
August 23, 2026 11:38
1a5bc07 to
509b25c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
XnLemon
commented
Aug 23, 2026
Owner
Author
|
LGTM |
Owner
Author
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements #33
Parent #32 is merged into
main; this follow-up PR targetsmain.Evidence
Outcome
examples/telegram-e2e/with a realgithub.com/go-telegram/botreceiver path.getMe -> getUpdates -> trusted RoutingTarget -> deterministic DispatchService -> sendMessage..github/workflows/telegram-e2e.yml, manual-only, protected Environment, required live-secret preflight, and one-poller concurrency.Issue ledger
examples/telegram-e2e/example.TELEGRAM_BOT_TOKENandTELEGRAM_SENDER_BOT_TOKEN; both are required by CI, while the sender is optional only for local human-driven runs. No credential persistence or logging.getMe.workflow_dispatchjob with protectedtelegram-e2eEnvironment and serialized polling.Validation
go test ./... -count=1go test -race ./... -count=1go vet ./...go build ./..../scripts/format.sh --check./scripts/lint.shpython -m mkdocs build --strict -f docs/mkdocs.ymlgit diff --checkThe live workflow cannot be dispatched pre-merge because GitHub registers
workflow_dispatchonly from the default branch; the manual run remains the post-merge operational test.