From d7bbff2185c99fe2846dc54538cac11e09898c9c Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Sun, 10 May 2026 15:45:39 +0530 Subject: [PATCH] feat(telegram): default Crabbox proof GIFs to 1080p --- .agents/skills/telegram-crabbox-e2e-proof/SKILL.md | 2 +- docs/concepts/qa-e2e-automation.md | 2 +- docs/help/testing.md | 2 +- scripts/e2e/telegram-user-crabbox-proof.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.agents/skills/telegram-crabbox-e2e-proof/SKILL.md b/.agents/skills/telegram-crabbox-e2e-proof/SKILL.md index a022c1b8116..cca044b4381 100644 --- a/.agents/skills/telegram-crabbox-e2e-proof/SKILL.md +++ b/.agents/skills/telegram-crabbox-e2e-proof/SKILL.md @@ -46,7 +46,7 @@ pnpm qa:telegram-user:crabbox -- start \ ``` The runner defaults to `--class standard`, `--record-fps 24`, -`--preview-fps 24`, and `--preview-width 1280`. Keep those defaults unless the +`--preview-fps 24`, and `--preview-width 1920`. Keep those defaults unless the proof needs something else. ## While Testing diff --git a/docs/concepts/qa-e2e-automation.md b/docs/concepts/qa-e2e-automation.md index 5c435299af8..b6c9b022ad8 100644 --- a/docs/concepts/qa-e2e-automation.md +++ b/docs/concepts/qa-e2e-automation.md @@ -598,7 +598,7 @@ Use `--mock-response-file ` when a PR needs a deterministic visual diff: the same mock model reply can be run on `main` and on the PR head while the Telegram formatter or delivery layer changes. Capture defaults are tuned for PR comments: standard Crabbox class, 24fps desktop recording, 24fps motion GIF, and -1280px preview width. Before/after comments should publish a clean bundle that +1920px preview width. Before/after comments should publish a clean bundle that contains only the intended GIFs. Slack lanes can also use the pool. Slack payload shape checks currently live in the Slack QA runner rather than the broker; use `{ channelId: string, driverBotToken: string, sutBotToken: string, sutAppToken: string }`, with a Slack channel id like `Cxxxxxxxxxx`. See [Setting up the Slack workspace](#setting-up-the-slack-workspace) for app and scope provisioning. diff --git a/docs/help/testing.md b/docs/help/testing.md index b623e875bf9..481374c1420 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -480,7 +480,7 @@ alive, an agent can keep testing until satisfied: For deterministic visual repros, pass `--mock-response-file ` to `start` or to the one-command `probe` shorthand. The runner defaults to a standard -Crabbox class, 24fps recording, 24fps motion GIF previews, and 1280px GIF +Crabbox class, 24fps recording, 24fps motion GIF previews, and 1920px GIF width. Override with `--class`, `--record-fps`, `--preview-fps`, and `--preview-width` only when the proof needs different capture settings. diff --git a/scripts/e2e/telegram-user-crabbox-proof.ts b/scripts/e2e/telegram-user-crabbox-proof.ts index cb074d5f58f..69de5c56566 100644 --- a/scripts/e2e/telegram-user-crabbox-proof.ts +++ b/scripts/e2e/telegram-user-crabbox-proof.ts @@ -142,7 +142,7 @@ function usageText() { " --mock-response-file Text returned by the mock model.", " --output-dir Artifact directory under the repo.", " --preview-fps Motion GIF frames per second. Default: 24.", - " --preview-width Motion GIF width. Default: 1280.", + " --preview-width Motion GIF width. Default: 1920.", " --pr Pull request number for publish.", " --record-fps Desktop recording frames per second. Default: 24.", " --record-seconds Desktop video duration. Default: 35.", @@ -212,7 +212,7 @@ function parseArgs(argv: string[]): Options { mockPort: 19_882, outputDir: path.join(DEFAULT_OUTPUT_ROOT, stamp), previewFps: 24, - previewWidth: 1280, + previewWidth: 1920, provider: process.env.OPENCLAW_TELEGRAM_USER_CRABBOX_PROVIDER?.trim() || "aws", publishFullArtifacts: false, publishRepo: "openclaw/openclaw",