fix: keep successful Mantis Slack summaries clean

This commit is contained in:
Peter Steinberger
2026-05-05 19:26:16 +01:00
parent 5fae1c32b5
commit 7d5ca3064a
2 changed files with 1 additions and 5 deletions

View File

@@ -404,7 +404,7 @@ describe("mantis Slack desktop smoke runtime", () => {
warning?: string;
};
expect(summary.status).toBe("pass");
expect(summary.warning).toContain("remote command exited 1");
expect(summary.warning).toBeUndefined();
});
it("copies the screenshot before reporting a failed remote Slack QA run", async () => {

View File

@@ -912,9 +912,6 @@ export async function runMantisSlackDesktopSmoke(
if (gatewaySetup && !gatewaySetupCompleted) {
throw new Error("Slack desktop gateway setup did not report a live OpenClaw gateway.");
}
const ignoredRemoteRunError = remoteRunError
? `Crabbox returned a non-zero command status after the gateway setup completed: ${formatErrorMessage(remoteRunError)}`
: undefined;
summary = {
artifacts: {
reportPath,
@@ -938,7 +935,6 @@ export async function runMantisSlackDesktopSmoke(
slackUrl: trimToValue(remoteMetadata?.openedUrl) ?? slackUrl,
startedAt: startedAt.toISOString(),
status: "pass",
warning: ignoredRemoteRunError,
};
return {
outputDir,