fix(qa): restore release channel reply checks

This commit is contained in:
Peter Steinberger
2026-04-28 21:05:30 +01:00
parent 3aac8e650c
commit 96a21e2553
14 changed files with 120 additions and 6 deletions

View File

@@ -134,6 +134,7 @@ describe("discord live qa runtime", () => {
expect(next.plugins?.allow).toContain("discord");
expect(next.plugins?.entries?.discord).toEqual({ enabled: true });
expect(next.messages?.groupChat?.visibleReplies).toBe("automatic");
expect(next.channels?.discord).toEqual({
enabled: true,
defaultAccount: "sut",

View File

@@ -287,6 +287,13 @@ function buildDiscordQaConfig(
allow: pluginAllow,
entries: pluginEntries,
},
messages: {
...baseCfg.messages,
groupChat: {
...baseCfg.messages?.groupChat,
visibleReplies: "automatic",
},
},
channels: {
...baseCfg.channels,
discord: {

View File

@@ -165,6 +165,7 @@ describe("telegram live qa runtime", () => {
expect(next.agents?.defaults?.skipBootstrap).toBe(true);
expect(next.plugins?.allow).toContain("telegram");
expect(next.plugins?.entries?.telegram).toEqual({ enabled: true });
expect(next.messages?.groupChat?.visibleReplies).toBe("automatic");
expect(next.channels?.telegram).toEqual({
enabled: true,
defaultAccount: "sut",

View File

@@ -486,6 +486,13 @@ function buildTelegramQaConfig(
allow: pluginAllow,
entries: pluginEntries,
},
messages: {
...baseCfg.messages,
groupChat: {
...baseCfg.messages?.groupChat,
visibleReplies: "automatic",
},
},
channels: {
...baseCfg.channels,
telegram: {

View File

@@ -24,6 +24,7 @@ describe("qa channel transport", () => {
messages: {
groupChat: {
mentionPatterns: ["\\b@?openclaw\\b"],
visibleReplies: "automatic",
},
},
});

View File

@@ -90,6 +90,7 @@ export function createQaChannelGatewayConfig(params: {
messages: {
groupChat: {
mentionPatterns: ["\\b@?openclaw\\b"],
visibleReplies: "automatic",
},
},
};

View File

@@ -23,6 +23,7 @@ function createQaChannelTransportParams(baseUrl = "http://127.0.0.1:43124") {
messages: {
groupChat: {
mentionPatterns: ["\\b@?openclaw\\b"],
visibleReplies: "automatic",
},
},
} satisfies QaTransportGatewayConfig,
@@ -77,7 +78,10 @@ describe("buildQaGatewayConfig", () => {
baseUrl: "http://127.0.0.1:43124",
pollTimeoutMs: 250,
});
expect(cfg.messages?.groupChat?.mentionPatterns).toEqual(["\\b@?openclaw\\b"]);
expect(cfg.messages?.groupChat).toMatchObject({
mentionPatterns: ["\\b@?openclaw\\b"],
visibleReplies: "automatic",
});
});
it("maps provider-qualified openai and anthropic refs through the mock provider lane", () => {