refactor(doctor): extract telegram provider warnings#51704
Merged
vincentkoc merged 2 commits intomainfrom Mar 21, 2026
Merged
Conversation
Contributor
|
Found 4 test failures on Blacksmith runners: Failures
|
Contributor
Greptile SummaryThis PR extracts Telegram-specific Doctor first-run and group-allowlist warning logic from the monolithic Key observations:
Confidence Score: 5/5
Last reviewed commit: "docs(changelog): not..." |
mrosmarin
added a commit
to mrosmarin/openclaw
that referenced
this pull request
Mar 21, 2026
* main: (516 commits) fix: use content hash for memory flush dedup instead of compactionCount (openclaw#30115) (openclaw#34222) fix(tts): add matrix to VOICE_BUBBLE_CHANNELS (openclaw#37080) feat(memory): pluggable system prompt section for memory plugins (openclaw#40126) fix: detect nvm services from installed command (openclaw#51146) fix: handle Linux nvm CA env before startup (openclaw#51146) (thanks @GodsBoy) refactor: route Telegram runtime through plugin sdk (openclaw#51772) refactor: route iMessage runtime through plugin sdk (openclaw#51770) refactor: route Slack runtime through plugin sdk (openclaw#51766) refactor(doctor): extract provider and shared config helpers (openclaw#51753) Fix Discord `/codex_resume` picker expiration (openclaw#51260) fix(ci): remove duplicate embedding default export fix(ci): restore embedding defaults and plugin boundaries fix: compaction safeguard summary budget (openclaw#27727) web UI: fix context notice using accumulated inputTokens instead of prompt snapshot (openclaw#51721) fix(status): skip cold-start status probes refactor(doctor): extract telegram provider warnings (openclaw#51704) fix(telegram): default fresh setups to mention-gated groups docs(changelog): note telegram doctor first-run guidance fix(doctor): add telegram first-run guidance fix(doctor): suppress telegram fresh-install group warning ...
JohnJAS
pushed a commit
to JohnJAS/openclaw
that referenced
this pull request
Mar 22, 2026
* refactor(doctor): extract telegram provider warnings * docs(changelog): note doctor provider refactor
pholpaphankorn
pushed a commit
to pholpaphankorn/openclaw
that referenced
this pull request
Mar 22, 2026
* refactor(doctor): extract telegram provider warnings * docs(changelog): note doctor provider refactor
frankekn
pushed a commit
to artwalker/openclaw
that referenced
this pull request
Mar 23, 2026
* refactor(doctor): extract telegram provider warnings * docs(changelog): note doctor provider refactor
furaul
pushed a commit
to furaul/openclaw
that referenced
this pull request
Mar 24, 2026
* refactor(doctor): extract telegram provider warnings * docs(changelog): note doctor provider refactor
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.
Summary
src/commands/doctor-config-flow.tsstill owns Telegram-specific setup and allowlist warning logic, which makes Doctor harder to split by provider.src/commands/doctor/providers/telegram.ts, added a provider-local test file, and leftdoctor-config-flow.tsas the orchestrator/delegator for this slice.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
doctor-config-flowand the new Telegram provider test file.Expected
Actual
pnpm buildandpnpm checkcurrently fail on unrelated latest-mainbaseline issues noted below.Evidence
Human Verification (required)
What you personally verified (not just CI), and how:
Review Conversations
Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
6762e48ed1and65d215aa7d.src/commands/doctor-config-flow.ts,src/commands/doctor/providers/telegram.ts,src/commands/doctor/providers/telegram.test.ts,CHANGELOG.md.Risks and Mitigations
Validation Notes
pnpm exec vitest run src/commands/doctor-config-flow.test.ts src/commands/doctor/providers/telegram.test.tsorigin/main, unrelated to this PR:pnpm build:src/memory/embeddings-openai.tsmissingDEFAULT_OPENAI_EMBEDDING_MODEL;src/memory/manager-sync-ops.tsimports it.pnpm check:oxfmt --checkreportssrc/tts/tts.tsformatting with no diff in this branch.