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

推荐订阅源

J
Java Code Geeks
量子位
腾讯CDC
A
About on SuperTechFans
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
V
V2EX
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
罗磊的独立博客
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
V
Visual Studio Blog
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队

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: use Crabbox media previews for Mantis · openclaw/open...
steipete · 2026-05-05 · via Recent Commits to openclaw:main

@@ -411,23 +411,23 @@ jobs:

411411

local lane="$1"

412412

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

413413

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"

414+

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

415+

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

416+

crabbox media preview \

417+

--input "$input" \

418+

--output "$output" \

419+

--trimmed-video-output "$clip" \

420+

--json > "$metadata"

418421

}

419422420-

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

423+

if ! make_desktop_preview baseline || ! make_desktop_preview candidate; then

424+

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

425+

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

426+

rm -f "$root/baseline/discord-status-reactions-tool-only-desktop-change.mp4"

427+

rm -f "$root/candidate/discord-status-reactions-tool-only-desktop-change.mp4"

428+

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

429+

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

430+

echo "::warning::Could not generate motion-trimmed desktop previews; continuing with screenshots and full MP4 links."

431431

fi

432432433433

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

@@ -461,6 +461,12 @@ jobs:

461461

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

462462

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

463463

fi

464+

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

465+

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

466+

fi

467+

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

468+

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

469+

fi

464470

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

465471

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

466472

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

@@ -499,7 +505,7 @@ jobs:

499505

permission-issues: write

500506

permission-pull-requests: write

501507502-

- name: Comment PR with inline QA screenshots

508+

- name: Comment PR with inline QA evidence

503509

if: ${{ always() && needs.resolve_request.outputs.pr_number != '' && steps.run_mantis.outputs.output_dir != '' }}

504510

env:

505511

GH_TOKEN: ${{ steps.mantis_app_token.outputs.token }}

@@ -557,8 +563,16 @@ jobs:

557563

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

558564

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

559565

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

566+

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

567+

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

560568

has_desktop_previews="true"

561569

fi

570+

has_change_clips="false"

571+

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

572+

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

573+

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

574+

has_change_clips="true"

575+

fi

562576

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

563577

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

564578

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

@@ -581,12 +595,22 @@ jobs:

581595

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

582596

preview_section="$(cat <<EOF

583597584-

| Baseline animated preview | Candidate animated preview |

598+

| Baseline motion preview | Candidate motion preview |

585599

| --- | --- |

586600

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

587601

EOF

588602

)"

589603

fi

604+

change_clip_section=""

605+

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

606+

change_clip_section="$(cat <<EOF

607+608+

Motion-trimmed clips:

609+

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

610+

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

611+

EOF

612+

)"

613+

fi

590614

comment_file="$(mktemp)"

591615

cat > "$comment_file" <<EOF

592616

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

@@ -610,6 +634,7 @@ jobs:

610634

| --- | --- |

611635

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

612636

${preview_section}

637+

${change_clip_section}

613638614639

Full videos:

615640

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

@@ -628,13 +653,13 @@ jobs:

628653

comment_payload="$(mktemp)"

629654

jq -n --rawfile body "$comment_file" '{ body: $body }' > "$comment_payload"

630655

if gh api --method PATCH "repos/${GITHUB_REPOSITORY}/issues/comments/${comment_id}" --input "$comment_payload" >/dev/null; then

631-

echo "Updated Mantis QA screenshot comment on PR #${TARGET_PR}."

656+

echo "Updated Mantis QA evidence comment on PR #${TARGET_PR}."

632657

else

633-

echo "::warning::Could not update existing Mantis QA screenshot comment ${comment_id}; creating a new one."

658+

echo "::warning::Could not update existing Mantis QA evidence comment ${comment_id}; creating a new one."

634659

gh pr comment "$TARGET_PR" --body-file "$comment_file"

635-

echo "Created Mantis QA screenshot comment on PR #${TARGET_PR}."

660+

echo "Created Mantis QA evidence comment on PR #${TARGET_PR}."

636661

fi

637662

else

638663

gh pr comment "$TARGET_PR" --body-file "$comment_file"

639-

echo "Created Mantis QA screenshot comment on PR #${TARGET_PR}."

664+

echo "Created Mantis QA evidence comment on PR #${TARGET_PR}."

640665

fi