mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
fix: keep successful Mantis Slack summaries clean
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user