Skip to content

chore: cancel stale Desktop E2E runs for closed PRs#930

Merged
lefarcen merged 1 commit intomainfrom
cancel-e2e
Apr 8, 2026
Merged

chore: cancel stale Desktop E2E runs for closed PRs#930
lefarcen merged 1 commit intomainfrom
cancel-e2e

Conversation

@nettee
Copy link
Copy Markdown
Contributor

@nettee nettee commented Apr 8, 2026

What

Add a GitHub Actions workflow that cancels stale Desktop E2E pull_request runs when the corresponding PR is closed.

Why

Merged or closed PRs can leave old Desktop E2E runs queued or running on the single self-hosted macOS ARM64 runner, blocking newer work.

How

Add a pull_request.closed workflow that lists desktop-e2e.yml runs triggered by pull_request, filters them to the current PR via run.pull_requests, and cancels any run whose status is not completed.

Affected areas

  • Build / CI / Tooling
  • Desktop app (Electron shell)
  • Controller (backend / API)
  • Web dashboard (React UI)
  • OpenClaw runtime
  • Skills
  • Shared schemas / packages

Checklist

  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes
  • pnpm generate-types run (if API routes/schemas changed)
  • No credentials or tokens in code or logs
  • No any types introduced (use unknown with narrowing)

Notes for reviewers

It only targets Desktop E2E runs triggered by pull_request for the closed PR, so main push runs are unaffected.

@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lefarcen lefarcen merged commit 07bc795 into main Apr 8, 2026
9 checks passed
@lefarcen lefarcen mentioned this pull request Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants