fix: keep successful Mantis Slack summaries clean · openclaw/openclaw@7d5ca30
steipete
·
2026-05-06
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/mantis
| Original file line number | Diff line number | Diff line change |
|---|
@@ -404,7 +404,7 @@ describe("mantis Slack desktop smoke runtime", () => {
|
404 | 404 | warning?: string; |
405 | 405 | }; |
406 | 406 | expect(summary.status).toBe("pass"); |
407 | | -expect(summary.warning).toContain("remote command exited 1"); |
| 407 | +expect(summary.warning).toBeUndefined(); |
408 | 408 | }); |
409 | 409 | |
410 | 410 | it("copies the screenshot before reporting a failed remote Slack QA run", async () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -912,9 +912,6 @@ export async function runMantisSlackDesktopSmoke(
|
912 | 912 | if (gatewaySetup && !gatewaySetupCompleted) { |
913 | 913 | throw new Error("Slack desktop gateway setup did not report a live OpenClaw gateway."); |
914 | 914 | } |
915 | | -const ignoredRemoteRunError = remoteRunError |
916 | | - ? `Crabbox returned a non-zero command status after the gateway setup completed: ${formatErrorMessage(remoteRunError)}` |
917 | | - : undefined; |
918 | 915 | summary = { |
919 | 916 | artifacts: { |
920 | 917 | reportPath, |
@@ -938,7 +935,6 @@ export async function runMantisSlackDesktopSmoke(
|
938 | 935 | slackUrl: trimToValue(remoteMetadata?.openedUrl) ?? slackUrl, |
939 | 936 | startedAt: startedAt.toISOString(), |
940 | 937 | status: "pass", |
941 | | -warning: ignoredRemoteRunError, |
942 | 938 | }; |
943 | 939 | return { |
944 | 940 | outputDir, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。