Skip to content

Commit 6d00eab

Browse files
committed
fix: finish inbound event rebase (#82606)
1 parent 3d2984d commit 6d00eab

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
36e47695b638b98d5a45821b32cdac779599425d9c76650d9af42ee3d4d6378b config-baseline.json
2-
df1f4f9946d25510268769b7550aa24d23b8e9118997ae1295d5bead5138ea85 config-baseline.core.json
1+
23eb36c39b4e1b0b711211fd946d23579a3f87cb0aee3c0701e5f9447c3c2527 config-baseline.json
2+
ec106c0eb093aaaa1382733d4a67ac9f3d4b9bbcadda3a3d5a56d70f1aea2a97 config-baseline.core.json
33
fe4f1cb00d7d1dee9746779ec3cf14236e5f672c91502268a12ad6e467a2c4ad config-baseline.channel.json
44
e9049ce0154f484f44bb0ac174a44198269256044da5ba62a6e107e78bfd7a70 config-baseline.plugin.json
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
6038a2409961be6186714217f264babfd7d9f81d7e496b80319e6fb8972177c2 plugin-sdk-api-baseline.json
2-
605b437dbd50a1269cbd3c1c58fab27547c3d25e92e187a97e9580bb231e79ae plugin-sdk-api-baseline.jsonl
1+
1b2d60a1ce15bdac9db5259df0480a6073646faf1de81d88bf53dc6e43ae2949 plugin-sdk-api-baseline.json
2+
d76b67aa2618604da379147f44ac0746850bc5f5174404c979dc82ec6c45e05d plugin-sdk-api-baseline.jsonl

docs/channels/troubleshooting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ Full troubleshooting: [Telegram troubleshooting](/channels/telegram#troubleshoot
8080

8181
### Discord failure signatures
8282

83-
| Symptom | Fastest check | Fix |
84-
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85-
| Bot online but no guild replies | `openclaw channels status --probe` | Allow guild/channel and verify message content intent. |
86-
| Group messages ignored | Check logs for mention gating drops | Mention bot or set guild/channel `requireMention: false`. |
87-
| Typing/token usage but no Discord message | Check whether `messages.groupChat.visibleReplies` is `"message_tool"` and the agent missed `message(action=send)` | Inspect the gateway verbose log for suppressed final payload metadata, verify `messages.groupChat.ambientTurns` is not routing the turn as quiet room context, or set `messages.groupChat.visibleReplies: "automatic"` to use the legacy final-reply path. |
88-
| DM replies missing | `openclaw pairing list discord` | Approve DM pairing or adjust DM policy. |
83+
| Symptom | Fastest check | Fix |
84+
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85+
| Bot online but no guild replies | `openclaw channels status --probe` | Allow guild/channel and verify message content intent. |
86+
| Group messages ignored | Check logs for mention gating drops | Mention bot or set guild/channel `requireMention: false`. |
87+
| Typing/token usage but no Discord message | Check whether `messages.groupChat.visibleReplies` is `"message_tool"` and the agent missed `message(action=send)` | Inspect the gateway verbose log for suppressed final payload metadata, verify `messages.groupChat.unmentionedInbound` is not routing the event as quiet room context, or set `messages.groupChat.visibleReplies: "automatic"` to use the legacy final-reply path. |
88+
| DM replies missing | `openclaw pairing list discord` | Approve DM pairing or adjust DM policy. |
8989

9090
Full troubleshooting: [Discord troubleshooting](/channels/discord#troubleshooting)
9191

src/auto-reply/reply/dispatch-from-config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5024,7 +5024,7 @@ describe("sendPolicy deny — suppress delivery, not processing (#53328)", () =>
50245024
const result = await dispatchReplyFromConfig({
50255025
ctx: buildTestCtx({
50265026
ChatType: "channel",
5027-
InboundTurnKind: "room_event",
5027+
InboundEventKind: "room_event",
50285028
SessionKey: "test:discord:channel:C1",
50295029
}),
50305030
cfg: emptyConfig,

src/auto-reply/reply/dispatch-from-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ export async function dispatchReplyFromConfig(
16461646
`provider=${ctx.Provider ?? "unknown"}`,
16471647
`surface=${ctx.Surface ?? "unknown"}`,
16481648
`chatType=${chatType ?? "unknown"}`,
1649-
`turn=${ctx.InboundTurnKind ?? "unknown"}`,
1649+
`inboundEventKind=${ctx.InboundEventKind ?? "unknown"}`,
16501650
`message=${ctx.MessageSidFull ?? ctx.MessageSid ?? "unknown"}`,
16511651
`${formatSuppressedReplyPayloadForLog(reply)})`,
16521652
].join(" "),

0 commit comments

Comments
 (0)