[codex] fix(telegram): drop unused rich markdown parameter#93185
[codex] fix(telegram): drop unused rich markdown parameter#93185yu-xin-c wants to merge 1 commit into
Conversation
|
Thanks for the context here. I did a careful shell check against current Current main already contains the exact unused-parameter cleanup from this PR, and a later Telegram rich-message refactor keeps the dead helper argument absent. The branch is now a duplicate/conflicting landing candidate rather than useful remaining work. So I’m closing this as already implemented rather than keeping a duplicate issue open. Review detailsBest possible solution: Keep the current-main Telegram rich-message implementation and close this duplicate PR rather than rebase or merge a branch whose only change already landed. Do we have a high-confidence way to reproduce the issue? Yes. The PR base had an unused private Is this the best way to solve the issue? Yes, but it is already solved on current main. Commit Security review: Security review cleared: The PR diff only removes an unused private helper argument and does not touch secrets, dependencies, CI, package resolution, or privileged runtime paths. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against b3128ba93def; fix evidence: commit 42759a1b799b, main fix timestamp 2026-06-15T14:23:57+08:00. |
|
Follow-up on the current checks:
|
|
ClawSweeper applied the proposed close for this PR.
|
Summary
markdownparameter fromfindRichMarkdownTableLineIndexes.tsgo:extensionscleanliness.Verification
node scripts/run-tsgo.mjs -p tsconfig.extensions.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/extensions.tsbuildinfogit diff --checkReal behavior proof
Behavior or issue addressed:
Current main trips production type checking with
extensions/telegram/src/rich-message.ts(300,3): error TS6133: 'markdown' is declared but its value is never read.Real environment tested:
Local OpenClaw checkout on macOS, branch
codex/telegram-rich-unused-param, Nodev25.9.0, using the repositoryrun-tsgo.mjswrapper againsttsconfig.extensions.json.Exact steps or command run after this patch:
Evidence before fix:
GitHub Actions
check-prod-typeson a PR rebased to current main reported:Evidence after fix:
Terminal output copied from the local checkout:
Observed result after fix:
The extensions TypeScript project now accepts
extensions/telegram/src/rich-message.ts; the unusedmarkdownparameter is gone and the call site passes only the values used by the helper.What was not tested:
Live Telegram message sending; this patch only removes an unused helper parameter and does not alter rich-message parsing logic.