fix: default Mantis Slack desktop smoke to AWS

This commit is contained in:
Peter Steinberger
2026-05-05 11:19:08 +01:00
parent 7c13004883
commit 4fc352403a
4 changed files with 22 additions and 3 deletions

View File

@@ -273,6 +273,7 @@ export function registerMantisCli(qa: Command) {
.option("--idle-timeout <duration>", "Crabbox idle timeout")
.option("--ttl <duration>", "Crabbox maximum lease lifetime")
.option("--keep-lease", "Keep a lease created by this run after a passing smoke")
.option("--no-keep-lease", "Stop a lease created by this run after a passing smoke")
.option("--gateway-setup", "Start a persistent OpenClaw Slack gateway inside the VNC VM")
.option("--slack-url <url>", "Slack web URL to open in the visible browser")
.option("--slack-channel-id <id>", "Slack channel id for gateway setup allowlist")

View File

@@ -237,6 +237,7 @@ describe("mantis Slack desktop smoke runtime", () => {
PATH: process.env.PATH,
},
gatewaySetup: true,
keepLease: false,
now: () => new Date("2026-05-04T14:00:00.000Z"),
outputDir: ".artifacts/qa-e2e/mantis/slack-desktop-convex",
repoRoot,
@@ -264,6 +265,9 @@ describe("mantis Slack desktop smoke runtime", () => {
"https://example.convex.site/qa-credentials/v1/acquire",
"https://example.convex.site/qa-credentials/v1/release",
]);
expect(
commands.some((entry) => entry.command === "/tmp/crabbox" && entry.args[0] === "stop"),
).toBe(true);
const summary = JSON.parse(await fs.readFile(result.summaryPath, "utf8")) as {
slackUrl: string;
};