fix(onboard): avoid false 'telegram plugin not available' block#25803
Merged
steipete merged 1 commit intoopenclaw:mainfrom Feb 24, 2026
Merged
Conversation
steipete
added a commit
that referenced
this pull request
Feb 24, 2026
Contributor
|
Landed with broader fallback-adapter test coverage.
Thanks @Suko. |
This was referenced Feb 24, 2026
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
openclaw onboardchannel wizard can report “telegram plugin not available” and block setup even when Telegram is a built-in channel, due to the plugin registry not being populated during onboarding in some environments (as reported in [Bug]: Telegram plugin not available on v2026.2.22-2 #25545).openclaw.json.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
openclaw onboardno longer hard-blocks Telegram setup with “telegram plugin not available” when the plugin registry is empty; it proceeds with onboarding using built-in adapters and shows an actionable note if the registry is missing.Security Impact (required)
Repro + Verification
Environment
Steps
openclaw onboardand select Telegram.Expected
Actual (before)
Evidence
src/commands/onboard-channels.test.ts(“continues Telegram onboarding even when plugin registry is empty…”)pnpm checkpassed; targeted testpnpm test src/commands/onboard-channels.test.tspassedHuman Verification (required)
pnpm check; ranpnpm test src/commands/onboard-channels.test.ts; confirmed the new test covers the reported failure mode.Compatibility / Migration
Failure Recovery (if this breaks)
src/commands/onboarding/registry.ts,src/commands/onboard-channels.ts,src/commands/onboard-channels.test.tsRisks and Mitigations
Greptile Summary
Adds built-in fallback adapters for core channels (Telegram/WhatsApp/Discord/Slack/Signal/iMessage) to prevent onboarding failures when the plugin registry fails to populate during
openclaw onboard. The Map construction inregistry.ts:31correctly ensures registry adapters override built-ins when present (last entry wins). The change is scoped to onboarding adapter resolution only and doesn't affect runtime plugin loading or gateway startup behavior.Confidence Score: 5/5
Last reviewed commit: 68cab42
(4/5) You can add custom instructions or style guidelines for the agent here!