Repository navigation
Conversation
The Telegram extension was not passing the humanDelay configuration to the buffered block dispatcher, which meant typing delay settings were being ignored for Telegram messages. Fixes openclaw#68945
Closes openclaw#69550 The chat-bubble element was missing the 'has-copy' CSS class when copy/expand actions were present. This meant the padding-right: 70px style (which reserves space for the action buttons) was never applied, causing the action buttons to overlap with message text content. This fix ensures the has-copy class is added to the bubble when hasActions is true, so the reserved padding correctly prevents overlap.
Greptile SummaryThis PR makes two unrelated changes: it fixes a bug in Confidence Score: 5/5Safe to merge — both changes are straightforward and the logic is correct. The grouped-render.ts fix correctly resolves the ordering bug so has-copy is now conditionally applied. The Telegram humanDelay wiring is simple and covered by a new test. No P0/P1 issues found. No files require special attention. Reviews (1): Last reviewed commit: "Merge branch 'openclaw:main' into fix/ch..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8247a6f8c7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| vi.mock("openclaw/plugin-sdk/agent-runtime", () => ({ | ||
| resolveHumanDelayConfig, | ||
| })); |
There was a problem hiding this comment.
Preserve required agent-runtime exports in this mock
This mock now replaces openclaw/plugin-sdk/agent-runtime with only resolveHumanDelayConfig, but bot-message-dispatch.ts also imports reasoning-lane-coordinator.ts, which imports formatReasoningMessage from the same module. In reasoning-path tests (for example think-tag routing cases in this file), that export becomes missing and the call path can fail at runtime, so the suite no longer reliably exercises the existing reasoning behavior.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fc1f472557
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| vi.mock("openclaw/plugin-sdk/agent-runtime", () => ({ | ||
| resolveHumanDelayConfig, | ||
| })); |
There was a problem hiding this comment.
Keep agent-runtime mock from dropping required exports
This mock replaces openclaw/plugin-sdk/agent-runtime with only resolveHumanDelayConfig, but bot-message-dispatch.ts imports reasoning-lane-coordinator.ts, which imports formatReasoningMessage from that same module. In reasoning-related cases, the missing export can break module evaluation/runtime in Vitest, so these tests may fail before exercising the dispatch logic you intend to validate. Use a partial mock (e.g., spreading vi.importActual(...)) so unrelated exports remain available.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a15e19a36
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| vi.mock("openclaw/plugin-sdk/agent-runtime", () => ({ | ||
| resolveHumanDelayConfig, | ||
| })); |
There was a problem hiding this comment.
Use a partial mock for agent-runtime module
The new vi.mock("openclaw/plugin-sdk/agent-runtime", ...) replaces the whole module with only resolveHumanDelayConfig, which drops formatReasoningMessage that reasoning-lane-coordinator.ts imports. In this suite, reasoning/think-tag paths execute that coordinator, so formatReasoningMessage becomes missing at runtime and tests can fail before exercising dispatch behavior. Keep other exports by spreading vi.importActual(...) in the mock.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 93055f43b2
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| vi.mock("openclaw/plugin-sdk/agent-runtime", () => ({ | ||
| resolveHumanDelayConfig, | ||
| })); |
There was a problem hiding this comment.
Preserve agent-runtime exports in this test mock
This vi.mock replaces the entire openclaw/plugin-sdk/agent-runtime module with only resolveHumanDelayConfig, but bot-message-dispatch.ts statically imports reasoning-lane-coordinator.ts, which imports formatReasoningMessage from the same module. As a result, importing bot-message-dispatch.js in this suite can fail before tests execute reasoning/dispatch paths, so the new test setup can break the file rather than validating behavior. Use a partial mock that keeps the rest of the module exports intact.
Useful? React with 👍 / 👎.
|
Closing this as duplicate or superseded after Codex automated review. PR #69888 should close as superseded. It bundles two still-valid fixes that are already tracked by narrower open PRs: #69634 for the Control UI chat bubble Best possible solution: Close #69888 as superseded. Keep the Control UI chat bubble padding fix on #69634, and keep the Telegram block-stream humanDelay fix on #69022, which is narrower and already has maintainer-positive triage. What I checked:
So I’m closing this here and keeping the remaining discussion on the canonical linked item. Codex Review notes: model gpt-5.5, reasoning high; reviewed against 8bbb143ab87e. |
Summary
Describe the problem and fix in 2–5 bullets:
If this PR fixes a plugin beta-release blocker, title it
fix(<plugin-id>): beta blocker - <summary>and link the matchingBeta blocker: <plugin-name> - <summary>issue labeledbeta-blocker. Contributors cannot label PRs, so the title is the PR-side signal for maintainers and automation.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause (if applicable)
For bug fixes or regressions, explain why this happened, not just what changed. Otherwise write
N/A. If the cause is unclear, writeUnknown.Regression Test Plan (if applicable)
For bug fixes or regressions, name the smallest reliable test coverage that should catch this. Otherwise write
N/A.User-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write
None.Diagram (if applicable)
For UI changes or non-trivial logic flows, include a small ASCII diagram reviewers can scan quickly. Otherwise write
N/A.Security Impact (required)
Yes/No)Yes/No)Yes/No)Yes/No)Yes/No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
Review Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Yes/No)Yes/No)Yes/No)Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.