Skip to content

Commit 7d5ca30

Browse files
committed
fix: keep successful Mantis Slack summaries clean
1 parent 5fae1c3 commit 7d5ca30

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

extensions/qa-lab/src/mantis/slack-desktop-smoke.runtime.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ describe("mantis Slack desktop smoke runtime", () => {
404404
warning?: string;
405405
};
406406
expect(summary.status).toBe("pass");
407-
expect(summary.warning).toContain("remote command exited 1");
407+
expect(summary.warning).toBeUndefined();
408408
});
409409

410410
it("copies the screenshot before reporting a failed remote Slack QA run", async () => {

extensions/qa-lab/src/mantis/slack-desktop-smoke.runtime.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -912,9 +912,6 @@ export async function runMantisSlackDesktopSmoke(
912912
if (gatewaySetup && !gatewaySetupCompleted) {
913913
throw new Error("Slack desktop gateway setup did not report a live OpenClaw gateway.");
914914
}
915-
const ignoredRemoteRunError = remoteRunError
916-
? `Crabbox returned a non-zero command status after the gateway setup completed: ${formatErrorMessage(remoteRunError)}`
917-
: undefined;
918915
summary = {
919916
artifacts: {
920917
reportPath,
@@ -938,7 +935,6 @@ export async function runMantisSlackDesktopSmoke(
938935
slackUrl: trimToValue(remoteMetadata?.openedUrl) ?? slackUrl,
939936
startedAt: startedAt.toISOString(),
940937
status: "pass",
941-
warning: ignoredRemoteRunError,
942938
};
943939
return {
944940
outputDir,

0 commit comments

Comments
 (0)