Conversation
Greptile SummaryThis PR fixes a bug where Telegram's plain-text fallback path was forwarding raw HTML markup (e.g. Changes:
Notable observations:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Caller
participant TelegramOutbound
participant TelegramAPI
Caller->>TelegramOutbound: send_html(account_id, to, html_chunk)
TelegramOutbound->>TelegramAPI: sendMessage parse_mode=HTML
alt HTML send succeeds
TelegramAPI-->>TelegramOutbound: 200 OK message_id
TelegramOutbound-->>Caller: Ok(message_id)
else HTML send fails
TelegramAPI-->>TelegramOutbound: 400 Bad Request
Note over TelegramOutbound: telegram_html_to_plain_text strips tags and decodes entities
TelegramOutbound->>TelegramAPI: sendMessage plain text no parse_mode
alt Plain send succeeds
TelegramAPI-->>TelegramOutbound: 200 OK message_id
TelegramOutbound-->>Caller: Ok(message_id)
else Plain send also fails
TelegramAPI-->>TelegramOutbound: error
TelegramOutbound-->>Caller: Err(ChannelError)
end
end
Last reviewed commit: f722cbd |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f722cbd87d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Merging this PR will not alter performance
Comparing Footnotes
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
- resolve the onboarding E2E conflict with main\n- address PR feedback on Telegram HTML fallback parsing
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd90e26d15
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
* fix(telegram): strip html on plain fallback * test(tools): fix sandbox off coverage * test(web): wait for onboarding import step * fix(telegram): preserve fallback whitespace
* fix(telegram): strip html on plain fallback * test(tools): fix sandbox off coverage * test(web): wait for onboarding import step * fix(telegram): preserve fallback whitespace
Summary
sandbox::tests::test_create_sandbox_offso it explicitly testsmode = offinstead of accidentally exercising a real Apple Container backend on macOSFixes #214.
Validation
Completed
cargo +nightly-2025-11-30 fmt --all -- --checkcargo +nightly-2025-11-30 test -p moltis-telegram outbound::tests -- --nocapturecargo +nightly-2025-11-30 clippy -p moltis-telegram --all-features --tests -- -D warningscargo +nightly-2025-11-30 test -p moltis-tools sandbox::tests::test_create_sandbox_off -- --nocapturecargo +nightly-2025-11-30 clippy -p moltis-tools --tests -- -D warningsnpx @biomejs/biome check --write e2e/specs/onboarding.spec.jsnpx playwright test e2e/specs/onboarding.spec.js --project=onboarding --grep "llm provider api key form includes key source hint"Remaining
cargo +nightly-2025-11-30 clippy -Z unstable-options --workspace --all-features --all-targets --timings -- -D warningsOn this macOS host, the run fails in
llama-cpp-sys-2because CUDA /nvccis unavailable.cargo +nightly-2025-11-30 clippy -Z unstable-options --workspace --all-targets --timings -- -D warningsI started the documented macOS fallback, but interrupted it after it exceeded the repo's 5 minute command budget.
Manual QA
<b>,<i>,<code>tags./onboardingin an environment with OpenClaw detected and confirm the wizard can still advance from Import to the LLM step.