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

推荐订阅源

博客园 - 【当耐特】
云风的 BLOG
云风的 BLOG
罗磊的独立博客
C
Check Point Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
I
InfoQ
Hugging Face - Blog
Hugging Face - Blog
T
Tailwind CSS Blog
B
Blog RSS Feed

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
ci: embed Mantis desktop previews · openclaw/openclaw@7f2...
steipete · 2026-05-05 · via Recent Commits to openclaw:main

@@ -407,6 +407,29 @@ jobs:

407407

capture_desktop_lane baseline

408408

capture_desktop_lane candidate

409409410+

make_desktop_preview() {

411+

local lane="$1"

412+

local input="$root/$lane/discord-status-reactions-tool-only-desktop.mp4"

413+

local output="$root/$lane/discord-status-reactions-tool-only-desktop-preview.gif"

414+

local palette="$root/$lane/discord-status-reactions-tool-only-desktop-preview-palette.png"

415+

ffmpeg -y -i "$input" -vf "fps=4,scale=640:-1:flags=lanczos,palettegen=stats_mode=diff" -frames:v 1 -update 1 "$palette"

416+

ffmpeg -y -i "$input" -i "$palette" -lavfi "fps=4,scale=640:-1:flags=lanczos[x];[x][1:v]paletteuse=dither=bayer:bayer_scale=3:diff_mode=rectangle" -loop 0 "$output"

417+

rm -f "$palette"

418+

}

419+420+

if ! command -v ffmpeg >/dev/null 2>&1; then

421+

sudo apt-get update && sudo apt-get install -y ffmpeg || true

422+

fi

423+

if command -v ffmpeg >/dev/null 2>&1; then

424+

if ! make_desktop_preview baseline || ! make_desktop_preview candidate; then

425+

rm -f "$root/baseline/discord-status-reactions-tool-only-desktop-preview.gif"

426+

rm -f "$root/candidate/discord-status-reactions-tool-only-desktop-preview.gif"

427+

echo "::warning::Could not generate animated desktop previews; continuing with screenshots and MP4 links."

428+

fi

429+

else

430+

echo "::warning::ffmpeg is unavailable; skipping animated desktop previews."

431+

fi

432+410433

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

411434

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

412435

@@ -432,6 +455,12 @@ jobs:

432455

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

433456

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

434457

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

458+

if [[ -f "$root/baseline/discord-status-reactions-tool-only-desktop-preview.gif" ]]; then

459+

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

460+

fi

461+

if [[ -f "$root/candidate/discord-status-reactions-tool-only-desktop-preview.gif" ]]; then

462+

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

463+

fi

435464

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

436465

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

437466

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

@@ -524,6 +553,12 @@ jobs:

524553

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

525554

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

526555

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

556+

has_desktop_previews="false"

557+

if [[ -f "$root/baseline/discord-status-reactions-tool-only-desktop-preview.gif" && -f "$root/candidate/discord-status-reactions-tool-only-desktop-preview.gif" ]]; then

558+

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

559+

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

560+

has_desktop_previews="true"

561+

fi

527562

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

528563

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

529564

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

@@ -542,6 +577,16 @@ jobs:

542577

baseline_status="$(jq -r '.baseline.status' "$root/comparison.json")"

543578

candidate_status="$(jq -r '.candidate.status' "$root/comparison.json")"

544579

pass="$(jq -r '.pass' "$root/comparison.json")"

580+

preview_section=""

581+

if [[ "$has_desktop_previews" == "true" ]]; then

582+

preview_section="$(cat <<EOF

583+584+

| Baseline animated preview | Candidate animated preview |

585+

| --- | --- |

586+

| <img src="${raw_base}/baseline-desktop-preview.gif" width="420" alt="Animated baseline desktop preview"> | <img src="${raw_base}/candidate-desktop-preview.gif" width="420" alt="Animated candidate desktop preview"> |

587+

EOF

588+

)"

589+

fi

545590

comment_file="$(mktemp)"

546591

cat > "$comment_file" <<EOF

547592

<!-- mantis-discord-status-reactions -->

@@ -564,8 +609,9 @@ jobs:

564609

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

565610

| --- | --- |

566611

| <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"> |

612+

${preview_section}

567613568-

Videos:

614+

Full videos:

569615

- [Baseline desktop MP4](${raw_base}/baseline-desktop.mp4)

570616

- [Candidate desktop MP4](${raw_base}/candidate-desktop.mp4)

571617