惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
V
Visual Studio Blog
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
博客园 - 司徒正美

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat(qa): publish Mantis desktop screenshots · openclaw/o...
steipete · 2026-05-04 · via Recent Commits to openclaw:main

@@ -255,6 +255,24 @@ jobs:

255255

- name: Build Mantis harness

256256

run: pnpm build

257257258+

- name: Install Crabbox CLI

259+

env:

260+

GH_TOKEN: ${{ github.token }}

261+

shell: bash

262+

run: |

263+

set -euo pipefail

264+

install_dir="${RUNNER_TEMP}/crabbox"

265+

mkdir -p "$install_dir" "$HOME/.local/bin"

266+

gh release download \

267+

--repo openclaw/crabbox \

268+

--pattern 'crabbox_*_linux_amd64.tar.gz' \

269+

--dir "$install_dir" \

270+

--clobber

271+

tar -xzf "$install_dir"/crabbox_*_linux_amd64.tar.gz -C "$install_dir"

272+

install -m 0755 "$install_dir/crabbox" "$HOME/.local/bin/crabbox"

273+

echo "$HOME/.local/bin" >> "$GITHUB_PATH"

274+

"$HOME/.local/bin/crabbox" --version

275+258276

- name: Prepare baseline and candidate worktrees

259277

shell: bash

260278

env:

@@ -285,6 +303,10 @@ jobs:

285303

OPENCLAW_QA_CONVEX_SECRET_CI: ${{ secrets.OPENCLAW_QA_CONVEX_SECRET_CI }}

286304

OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"

287305

OPENCLAW_QA_DISCORD_CAPTURE_CONTENT: "1"

306+

CRABBOX_COORDINATOR: ${{ secrets.CRABBOX_COORDINATOR }}

307+

CRABBOX_COORDINATOR_TOKEN: ${{ secrets.CRABBOX_COORDINATOR_TOKEN }}

308+

CRABBOX_ACCESS_CLIENT_ID: ${{ secrets.CRABBOX_ACCESS_CLIENT_ID }}

309+

CRABBOX_ACCESS_CLIENT_SECRET: ${{ secrets.CRABBOX_ACCESS_CLIENT_SECRET }}

288310

run: |

289311

set -euo pipefail

290312

@@ -299,6 +321,7 @@ jobs:

299321

require_var OPENAI_API_KEY

300322

require_var OPENCLAW_QA_CONVEX_SITE_URL

301323

require_var OPENCLAW_QA_CONVEX_SECRET_CI

324+

require_var CRABBOX_COORDINATOR_TOKEN

302325303326

root=".artifacts/qa-e2e/mantis/discord-status-reactions"

304327

worktree_root=".artifacts/qa-e2e/mantis/discord-status-reactions-worktrees"

@@ -328,6 +351,55 @@ jobs:

328351

run_lane baseline

329352

run_lane candidate

330353354+

desktop_lease_id=""

355+

warmup_output="$(

356+

crabbox warmup \

357+

--provider hetzner \

358+

--desktop \

359+

--browser \

360+

--class standard \

361+

--idle-timeout 30m \

362+

--ttl 90m

363+

)"

364+

printf '%s\n' "$warmup_output" | tee "$root/crabbox-desktop-warmup.log"

365+

desktop_lease_id="$(printf '%s\n' "$warmup_output" | grep -Eo 'cbx_[a-f0-9]+' | head -n 1 || true)"

366+

if [[ ! "$desktop_lease_id" =~ ^cbx_[a-f0-9]+$ ]]; then

367+

echo "Crabbox desktop warmup did not return a lease id." >&2

368+

exit 1

369+

fi

370+371+

cleanup_desktop_lease() {

372+

if [[ -n "$desktop_lease_id" ]]; then

373+

crabbox stop --provider hetzner "$desktop_lease_id" || true

374+

fi

375+

}

376+

trap cleanup_desktop_lease EXIT

377+378+

capture_desktop_lane() {

379+

local lane="$1"

380+

local html_file="$root/$lane/discord-status-reactions-tool-only-timeline.html"

381+

local desktop_dir="$root/$lane/desktop-browser"

382+

if [[ ! -f "$html_file" ]]; then

383+

echo "Missing desktop source HTML for ${lane}: ${html_file}" >&2

384+

exit 1

385+

fi

386+

local args=(

387+

openclaw qa mantis desktop-browser-smoke

388+

--html-file "$html_file"

389+

--output-dir "$desktop_dir"

390+

--provider hetzner

391+

--class standard

392+

--idle-timeout 30m

393+

--ttl 90m

394+

--lease-id "$desktop_lease_id"

395+

)

396+

pnpm "${args[@]}"

397+

cp "$desktop_dir/desktop-browser-smoke.png" "$root/$lane/discord-status-reactions-tool-only-desktop.png"

398+

}

399+400+

capture_desktop_lane baseline

401+

capture_desktop_lane candidate

402+331403

baseline_status="$(jq -r '.scenarios[0].status' "$root/baseline/discord-qa-summary.json")"

332404

candidate_status="$(jq -r '.scenarios[0].status' "$root/candidate/discord-qa-summary.json")"

333405

@@ -351,6 +423,8 @@ jobs:

351423

echo "- Candidate status: \`${candidate_status}\`"

352424

echo "- Baseline screenshot: \`baseline/discord-status-reactions-tool-only-timeline.png\`"

353425

echo "- Candidate screenshot: \`candidate/discord-status-reactions-tool-only-timeline.png\`"

426+

echo "- Baseline desktop screenshot: \`baseline/discord-status-reactions-tool-only-desktop.png\`"

427+

echo "- Candidate desktop screenshot: \`candidate/discord-status-reactions-tool-only-desktop.png\`"

354428

} > "$root/mantis-report.md"

355429356430

cat "$root/mantis-report.md" >> "$GITHUB_STEP_SUMMARY"

@@ -409,7 +483,9 @@ jobs:

409483

for required in \

410484

"$root/comparison.json" \

411485

"$root/baseline/discord-status-reactions-tool-only-timeline.png" \

412-

"$root/candidate/discord-status-reactions-tool-only-timeline.png"

486+

"$root/candidate/discord-status-reactions-tool-only-timeline.png" \

487+

"$root/baseline/discord-status-reactions-tool-only-desktop.png" \

488+

"$root/candidate/discord-status-reactions-tool-only-desktop.png"

413489

do

414490

if [[ ! -f "$required" ]]; then

415491

echo "Missing required QA evidence file: $required" >&2

@@ -435,6 +511,8 @@ jobs:

435511

mkdir -p "$artifacts_worktree/$artifact_root"

436512

cp "$root/baseline/discord-status-reactions-tool-only-timeline.png" "$artifacts_worktree/$artifact_root/baseline.png"

437513

cp "$root/candidate/discord-status-reactions-tool-only-timeline.png" "$artifacts_worktree/$artifact_root/candidate.png"

514+

cp "$root/baseline/discord-status-reactions-tool-only-desktop.png" "$artifacts_worktree/$artifact_root/baseline-desktop.png"

515+

cp "$root/candidate/discord-status-reactions-tool-only-desktop.png" "$artifacts_worktree/$artifact_root/candidate-desktop.png"

438516

cp "$root/comparison.json" "$artifacts_worktree/$artifact_root/comparison.json"

439517

cp "$root/mantis-report.md" "$artifacts_worktree/$artifact_root/mantis-report.md"

440518

@@ -470,6 +548,10 @@ jobs:

470548

| --- | --- |

471549

| <img src="${raw_base}/baseline.png" width="420" alt="Baseline Discord status reaction timeline"> | <img src="${raw_base}/candidate.png" width="420" alt="Candidate Discord status reaction timeline"> |

472550551+

| Baseline desktop/VNC browser | Candidate desktop/VNC browser |

552+

| --- | --- |

553+

| <img src="${raw_base}/baseline-desktop.png" width="420" alt="Baseline Mantis desktop browser screenshot"> | <img src="${raw_base}/candidate-desktop.png" width="420" alt="Candidate Mantis desktop browser screenshot"> |

554+473555

Raw QA files: https://github.com/${GITHUB_REPOSITORY}/tree/qa-artifacts/${artifact_root}

474556

EOF

475557