Skip to content

Headless CLI + GitHub Action: record desktop-app test runs on windows-latest as CI evidence #179

Closed

Description

@TMHSDigital

What / who: A screencast-mcp CLI subcommand (record -- <test command>, run recipe.json) and a composite GitHub Action. It records the runner desktop while a test command runs, then on failure trims to the last N seconds, makes a GIF/contact sheet, and uploads as an artifact (optionally a PR comment with the contact sheet). For teams testing Electron, WPF, WinUI, or games, where browser tooling doesn't reach.

Why: Playwright's built-in video recording (docs) made failure videos standard for web tests, but desktop-app testing on Windows has no equivalent. The tools already exist (capture, cut_idle, contact_sheet, export_gif, pipeline recipes); a CLI entry point makes them usable outside an MCP client and puts the project in front of CI users.

Approach: Add a second bin that calls the same tool handlers directly (no MCP transport). The Action wraps it with if: failure() post-processing. Verify gdigrab works in the windows-latest interactive session.
Done: A sample workflow in this repo records its own capture smoke test, the Action is published to the Marketplace, and the docs page is live.

Activity

  1. added
    feature
    integration
    effort: medium
    impact: medium
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: mediumfeatureimpact: mediumintegration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions