Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

ci: run only fast checks on release-please PRs (#5705)

Francesco Bonacci87ffb67bf69c
diff --git a/.github/workflows/cd-image-linux.yml b/.github/workflows/cd-image-linux.yml
index 7218553725..c130d6ca63 100644
--- a/.github/workflows/cd-image-linux.yml
+++ b/.github/workflows/cd-image-linux.yml
@@ -138,7 +138,7 @@ env:
jobs:
meta:
- if: inputs.promote_run == '' && inputs.doctor_children == ''
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') && (inputs.promote_run == '' && inputs.doctor_children == '') }}
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.meta.outputs.tag }}
@@ -230,7 +230,7 @@ jobs:
retention-days: 7
cli:
- if: inputs.promote_run == '' && inputs.doctor_children == ''
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') && (inputs.promote_run == '' && inputs.doctor_children == '') }}
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/ci-cua-contrib.yml b/.github/workflows/ci-cua-contrib.yml
index 44aaaaeada..0f8fc7dfab 100644
--- a/.github/workflows/ci-cua-contrib.yml
+++ b/.github/workflows/ci-cua-contrib.yml
@@ -50,6 +50,7 @@ env:
jobs:
rust:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: providers against their API mocks
runs-on: ubuntu-latest
timeout-minutes: 60
@@ -83,6 +84,7 @@ jobs:
cargo check --locked -p cua-cli --features byoc
modal-helper:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: cua-modal-helper (Modal's Go SDK)
runs-on: ubuntu-latest
timeout-minutes: 15
@@ -120,6 +122,7 @@ jobs:
go build -o /dev/null .
matrix:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: support matrix (recorded doctor reports)
runs-on: ubuntu-latest
timeout-minutes: 5
@@ -133,6 +136,7 @@ jobs:
python3 contrib_matrix.py check
e2e:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: cua-bench and docs on --on daytona (mocks)
runs-on: ubuntu-latest
timeout-minutes: 60
diff --git a/.github/workflows/ci-cua-driver-bench.yml b/.github/workflows/ci-cua-driver-bench.yml
index f02d86e1e1..9e70b25679 100644
--- a/.github/workflows/ci-cua-driver-bench.yml
+++ b/.github/workflows/ci-cua-driver-bench.yml
@@ -21,6 +21,7 @@ concurrency:
jobs:
harness:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Harness tests (no GUI, no model)
# The harness is macOS-only (sw_vers, AppKit apps); BenchLab targets macOS 26.
runs-on: macos-26
@@ -45,6 +46,7 @@ jobs:
python -m pytest -q tests probes/tests swift/tests
taskpack:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Task pack tests
runs-on: ubuntu-latest
timeout-minutes: 15
@@ -91,6 +93,7 @@ jobs:
python tools/check_pack_pins.py
lint:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Python lint and format
runs-on: ubuntu-latest
timeout-minutes: 10
diff --git a/.github/workflows/ci-cua-driver-contract-clients.yml b/.github/workflows/ci-cua-driver-contract-clients.yml
index b754268cac..4da5663e8f 100644
--- a/.github/workflows/ci-cua-driver-contract-clients.yml
+++ b/.github/workflows/ci-cua-driver-contract-clients.yml
@@ -79,6 +79,7 @@ env:
jobs:
changes:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: "contract clients / changes"
runs-on: ubuntu-latest
timeout-minutes: 5
diff --git a/.github/workflows/ci-cua-driver-preflight.yml b/.github/workflows/ci-cua-driver-preflight.yml
index a218b79177..e304d607d2 100644
--- a/.github/workflows/ci-cua-driver-preflight.yml
+++ b/.github/workflows/ci-cua-driver-preflight.yml
@@ -32,6 +32,7 @@ concurrency:
jobs:
linux:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
# The readiness checks run inside a real desktop sandbox (the canonical
# ghcr.io/trycua/linux:24.04, locally on the runner) against the
# cua-driver built from this commit, injected over whatever the image
@@ -72,6 +73,7 @@ jobs:
bash /tmp/preflight-rust-e2e.sh"
windows:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: "Windows / lightweight desktop readiness"
runs-on: windows-latest
timeout-minutes: 15
diff --git a/.github/workflows/ci-cua-driver-valgrind.yml b/.github/workflows/ci-cua-driver-valgrind.yml
index 741899c57b..66e502202d 100644
--- a/.github/workflows/ci-cua-driver-valgrind.yml
+++ b/.github/workflows/ci-cua-driver-valgrind.yml
@@ -33,6 +33,7 @@ env:
jobs:
memcheck:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Driver server E2E Memcheck
# Memcheck results depend on the image's valgrind/glibc pairing, so pin
# the runner instead of tracking ubuntu-latest migrations.
diff --git a/.github/workflows/ci-cua-sandbox-doctor.yml b/.github/workflows/ci-cua-sandbox-doctor.yml
index 28459bab5c..f89707729f 100644
--- a/.github/workflows/ci-cua-sandbox-doctor.yml
+++ b/.github/workflows/ci-cua-sandbox-doctor.yml
@@ -44,6 +44,7 @@ env:
jobs:
doctor:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Image doctor (overlaid cua-spacesd and cua-driver)
runs-on: ubuntu-latest
timeout-minutes: 90
@@ -88,6 +89,7 @@ jobs:
PY
stale:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: The bundled builds are reported stale
runs-on: ubuntu-latest
timeout-minutes: 45
diff --git a/.github/workflows/ci-cua-sdk.yml b/.github/workflows/ci-cua-sdk.yml
index 9f4568dffd..f35dcfc4b0 100644
--- a/.github/workflows/ci-cua-sdk.yml
+++ b/.github/workflows/ci-cua-sdk.yml
@@ -53,6 +53,7 @@ env:
jobs:
rust:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: rust (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 60
@@ -153,6 +154,7 @@ jobs:
# (a path dependency without a version, a file embedded from outside the
# crate, a dependency on an unpublished crate).
crates-dry-run:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: crates.io dry run
runs-on: ubuntu-latest
timeout-minutes: 60
@@ -173,6 +175,7 @@ jobs:
# cua-spacesd server core in process. A standalone workspace so libs/cua
# never depends on the driver workspace (see the boundary check above).
spaces-e2e:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: spaces e2e (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 60
@@ -207,6 +210,7 @@ jobs:
CUA_ENV_TEST_SANDBOX: "1"
bindings:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: bindings drift (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 45
@@ -241,6 +245,7 @@ jobs:
cargo run --locked -q -p cua-spaces --bin cua-spaces-control-fixtures -- --check
kotlin:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
# The generated binding must compile (an exported `close` once clashed
# with AutoCloseable.close; uniffi.toml renames such methods).
name: kotlin compile
@@ -253,6 +258,7 @@ jobs:
run: gradle --no-daemon -p libs/cua/kotlin compileKotlin
python:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: python smoke (${{ matrix.os }})
runs-on: ${{ matrix.os }}
# A cold Windows run builds cua-sdk (release), the fixtures and the CLI:
@@ -296,6 +302,7 @@ jobs:
uv run --no-project --isolated --python 3.12 --with pytest --with "$WHEEL" pytest -q -p no:cacheprovider tests
node:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: node smoke (${{ matrix.os }})
runs-on: ${{ matrix.os }}
# A cold macOS run (release cua-sdk, fixtures, both CLIs) passed 45
@@ -334,6 +341,7 @@ jobs:
run: npm --prefix typescript test
browser:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: browser (wasm32) build + smoke
runs-on: ubuntu-latest
timeout-minutes: 45
@@ -370,7 +378,7 @@ jobs:
swift:
name: swift smoke (macOS)
- if: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'release-please--') || contains(github.event.pull_request.labels.*.name, 'ci:full') }}
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') && (github.event_name != 'pull_request' || startsWith(github.head_ref, 'release-please--') || contains(github.event.pull_request.labels.*.name, 'ci:full')) }}
runs-on: macos-26
# Cold, the release cua-sdk build alone nears 45 minutes on macos-26.
timeout-minutes: 90
diff --git a/.github/workflows/ci-cua-spaces-macos.yml b/.github/workflows/ci-cua-spaces-macos.yml
index b76c7015f9..5cd8e1da81 100644
--- a/.github/workflows/ci-cua-spaces-macos.yml
+++ b/.github/workflows/ci-cua-spaces-macos.yml
@@ -47,6 +47,7 @@ env:
jobs:
core:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: app core (Rust) + FFI mirror gate
runs-on: ubuntu-24.04
defaults:
diff --git a/.github/workflows/ci-cua-spaces-web.yml b/.github/workflows/ci-cua-spaces-web.yml
index 7bac641153..890e087788 100644
--- a/.github/workflows/ci-cua-spaces-web.yml
+++ b/.github/workflows/ci-cua-spaces-web.yml
@@ -40,6 +40,7 @@ env:
jobs:
test:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: typecheck, tests, bridge contract, build
runs-on: ubuntu-24.04
steps:
diff --git a/.github/workflows/ci-cua-spaces.yml b/.github/workflows/ci-cua-spaces.yml
index 3b07b90a55..06476254df 100644
--- a/.github/workflows/ci-cua-spaces.yml
+++ b/.github/workflows/ci-cua-spaces.yml
@@ -135,6 +135,7 @@ jobs:
run: cargo test --manifest-path src-tauri/Cargo.toml --locked --test host_commands --test commands --test installer_commands --test app_core_parity --lib -- --test-threads=4
frontend:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: vitest + typecheck
runs-on: ubuntu-24.04
steps:
diff --git a/.github/workflows/ci-cua-spacesd-html5.yml b/.github/workflows/ci-cua-spacesd-html5.yml
index 23e864899f..dc93e8a517 100644
--- a/.github/workflows/ci-cua-spacesd-html5.yml
+++ b/.github/workflows/ci-cua-spacesd-html5.yml
@@ -37,6 +37,7 @@ env:
jobs:
web:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: vitest + typecheck + drift
runs-on: ubuntu-24.04
defaults:
@@ -59,6 +60,7 @@ jobs:
- run: pnpm check
rust:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: cargo test
runs-on: ubuntu-24.04
defaults:
diff --git a/.github/workflows/ci-cua-spacesd.yml b/.github/workflows/ci-cua-spacesd.yml
index 4d87480b76..9250ce8335 100644
--- a/.github/workflows/ci-cua-spacesd.yml
+++ b/.github/workflows/ci-cua-spacesd.yml
@@ -82,6 +82,7 @@ env:
jobs:
changes:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: "cua-spacesd / changes"
runs-on: ubuntu-latest
timeout-minutes: 5
diff --git a/.github/workflows/ci-hyprland-plugin.yml b/.github/workflows/ci-hyprland-plugin.yml
index e785676062..033f048e9b 100644
--- a/.github/workflows/ci-hyprland-plugin.yml
+++ b/.github/workflows/ci-hyprland-plugin.yml
@@ -26,6 +26,7 @@ env:
jobs:
unit:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Linux protocol, transport, and mocked plugin API
runs-on: ubuntu-24.04
timeout-minutes: 15
diff --git a/.github/workflows/ci-infinite-canvas-swift.yml b/.github/workflows/ci-infinite-canvas-swift.yml
index f582c20c50..ccb5f9d11a 100644
--- a/.github/workflows/ci-infinite-canvas-swift.yml
+++ b/.github/workflows/ci-infinite-canvas-swift.yml
@@ -35,6 +35,7 @@ env:
jobs:
swift:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: infinite-canvas-swift (swift test)
runs-on: macos-26
timeout-minutes: 60
diff --git a/.github/workflows/ci-installers.yml b/.github/workflows/ci-installers.yml
index 4e3a51fd54..12cf5961e8 100644
--- a/.github/workflows/ci-installers.yml
+++ b/.github/workflows/ci-installers.yml
@@ -31,6 +31,7 @@ env:
jobs:
lint:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: shellcheck + shfmt + manifest unit tests
runs-on: ubuntu-24.04
steps:
@@ -51,6 +52,7 @@ jobs:
run: python3 -m unittest discover -s scripts/install/tests -v
installer-smoke-linux:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: installer smoke (Linux containers)
runs-on: ubuntu-24.04
strategy:
@@ -95,6 +97,7 @@ jobs:
'
installer-smoke-macos:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: installer smoke (macOS, temp prefix + dmg mount + pkg)
runs-on: macos-14
steps:
@@ -107,6 +110,7 @@ jobs:
run: sh apps/cua-spaces/tests/installer/pkg.test.sh
installer-smoke-windows:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: installer smoke (Windows, install.ps1)
runs-on: windows-latest
steps:
diff --git a/.github/workflows/ci-nix-linux.yml b/.github/workflows/ci-nix-linux.yml
index dce3249a61..46a0f75191 100644
--- a/.github/workflows/ci-nix-linux.yml
+++ b/.github/workflows/ci-nix-linux.yml
@@ -60,6 +60,7 @@ env:
jobs:
rust-source:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Nix / ${{ matrix.name }}
runs-on: ubuntu-latest
timeout-minutes: 60
diff --git a/.github/workflows/ci-openkoalabot-example-samples.yml b/.github/workflows/ci-openkoalabot-example-samples.yml
index 1ad9c967ab..bb4d8ac2c8 100644
--- a/.github/workflows/ci-openkoalabot-example-samples.yml
+++ b/.github/workflows/ci-openkoalabot-example-samples.yml
@@ -39,6 +39,7 @@ env:
jobs:
typescript:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: openkoalabot-example-ts (npm test)
runs-on: ubuntu-24.04
timeout-minutes: 60
@@ -85,6 +86,7 @@ jobs:
npm run build:web
swift:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: openkoalabot-example-swift (swift test)
runs-on: macos-26
timeout-minutes: 60
diff --git a/.github/workflows/ci-openkoalabot-example-tauri.yml b/.github/workflows/ci-openkoalabot-example-tauri.yml
index 5ea260e4f8..3bb0f9e5e2 100644
--- a/.github/workflows/ci-openkoalabot-example-tauri.yml
+++ b/.github/workflows/ci-openkoalabot-example-tauri.yml
@@ -37,6 +37,7 @@ env:
jobs:
check:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: cargo check + core tests + vitest
runs-on: ubuntu-22.04
timeout-minutes: 60
diff --git a/.github/workflows/ci-rust-linux.yml b/.github/workflows/ci-rust-linux.yml
index a9f939f2e4..dd80df986c 100644
--- a/.github/workflows/ci-rust-linux.yml
+++ b/.github/workflows/ci-rust-linux.yml
@@ -65,6 +65,7 @@ env:
jobs:
pacman:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Arch native pacman updates
runs-on: ubuntu-latest
container: archlinux:base-devel
@@ -120,6 +121,7 @@ jobs:
libs/cua-driver/rust/pacman-build.jsonl
unit:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Rust Linux unit and compile
runs-on: ubuntu-latest
timeout-minutes: 30
diff --git a/.github/workflows/ci-rust-macos.yml b/.github/workflows/ci-rust-macos.yml
index 26db08a86f..91e4e6721b 100644
--- a/.github/workflows/ci-rust-macos.yml
+++ b/.github/workflows/ci-rust-macos.yml
@@ -52,6 +52,7 @@ env:
jobs:
unit:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Rust macOS unit
runs-on: macos-latest
timeout-minutes: 30
diff --git a/.github/workflows/ci-rust-windows.yml b/.github/workflows/ci-rust-windows.yml
index 948a7c3b15..763a6bdec4 100644
--- a/.github/workflows/ci-rust-windows.yml
+++ b/.github/workflows/ci-rust-windows.yml
@@ -60,6 +60,7 @@ env:
jobs:
unit:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Rust Windows unit and compile
runs-on: windows-latest
# The suite below has been running within a hair of this budget for months:
diff --git a/.github/workflows/ci-swift-linker.yml b/.github/workflows/ci-swift-linker.yml
index 46376d7a19..dea9f6f4c7 100644
--- a/.github/workflows/ci-swift-linker.yml
+++ b/.github/workflows/ci-swift-linker.yml
@@ -47,6 +47,7 @@ env:
jobs:
link:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Fresh macOS link without duplicate symbols
runs-on: macos-latest
timeout-minutes: 20
diff --git a/.github/workflows/ci-test-python.yml b/.github/workflows/ci-test-python.yml
index 2337d8f995..516079c529 100644
--- a/.github/workflows/ci-test-python.yml
+++ b/.github/workflows/ci-test-python.yml
@@ -28,6 +28,7 @@ concurrency:
jobs:
test:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: Test ${{ matrix.package }}
runs-on: ubuntu-latest
@@ -93,6 +94,7 @@ jobs:
continue-on-error: true
cua-sandbox:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
# cua-sandbox drives sandboxes through the cua SDK (UniFFI over cua-sdk),
# so the native library and the MockServer fixture are built first. The
# hermetic suite never touches the host or a cloud;
diff --git a/.github/workflows/docs-compile-lanes.yml b/.github/workflows/docs-compile-lanes.yml
index dbaceceda1..ab215ccf82 100644
--- a/.github/workflows/docs-compile-lanes.yml
+++ b/.github/workflows/docs-compile-lanes.yml
@@ -37,6 +37,7 @@ env:
jobs:
swift:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: swift blocks
runs-on: macos-14
timeout-minutes: 30
@@ -50,6 +51,7 @@ jobs:
run: python3 tests/e2e/cua-sdk/docs/compile_lane.py --lane swift
kotlin:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: kotlin blocks
runs-on: ubuntu-latest
timeout-minutes: 20
@@ -63,6 +65,7 @@ jobs:
run: python3 tests/e2e/cua-sdk/docs/compile_lane.py --lane kotlin
rust:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: rust blocks
runs-on: ubuntu-latest
timeout-minutes: 40
diff --git a/.github/workflows/e2e-cua-driver-release-gate.yml b/.github/workflows/e2e-cua-driver-release-gate.yml
index 90dcd53d9c..58051eb07b 100644
--- a/.github/workflows/e2e-cua-driver-release-gate.yml
+++ b/.github/workflows/e2e-cua-driver-release-gate.yml
@@ -9,8 +9,9 @@ name: "E2E: Cua Driver release gate"
# through the GitHub Slack app workflow-run subscription.
# PR runs when the `e2e-gate` label is present, when the PR touches the
# gated paths (.github/scripts/cua_driver_e2e_gate_paths.py: cursor
-# overlay, focus, background input, browser routing, the harness),
-# or when it is the release-please PR for cua-driver-rs.
+# overlay, focus, background input, browser routing, the harness).
+# release-please PRs skip the lanes unless labelled: the tag run
+# in cd-rust-cua-driver.yml runs every lane on the release commit.
# macOS hosted macOS seeds TCC state, so e2e-rust-macos.yml refuses
# pull_request events. On gated PRs (same-repo only) the `macos-pr`
# job instead dispatches that workflow on the PR head branch with
@@ -88,9 +89,12 @@ jobs:
emit false pr "draft PR without the e2e-gate label"; exit 0
fi
files=$(gh api --paginate "repos/$REPO/pulls/$PR_NUMBER/files?per_page=100" --jq '.[].filename')
- if [[ "$PR_HEAD_REPO" == "$REPO" && "$PR_HEAD_REF" == release-please--branches--* ]] \
- && grep -qx 'libs/cua-driver/rust/VERSION' <<< "$files"; then
- emit true release-pr "release-please PR for cua-driver-rs"; exit 0
+ if [[ "$PR_HEAD_REPO" == "$REPO" && "$PR_HEAD_REF" == release-please--branches--* ]]; then
+ # Release PRs only change versions, changelogs and lockfiles. The
+ # tag run in cd-rust-cua-driver.yml runs every lane on the exact
+ # release commit and blocks publishing, so the PR skips them.
+ # Add the e2e-gate label to run the lanes on a release PR anyway.
+ emit false pr "release-please PR (the tag release gate runs the lanes)"; exit 0
fi
if [[ ! -f .github/scripts/cua_driver_e2e_gate_paths.py ]]; then
# Bootstrap: the base branch does not carry the path script until
diff --git a/.github/workflows/e2e-cua-sdk.yml b/.github/workflows/e2e-cua-sdk.yml
index ec548f0452..b6c859829e 100644
--- a/.github/workflows/e2e-cua-sdk.yml
+++ b/.github/workflows/e2e-cua-sdk.yml
@@ -58,7 +58,7 @@ env:
jobs:
local:
name: hermetic + container (${{ github.event_name == 'workflow_dispatch' && inputs.lanes || 'hermetic,container' }})
- if: github.event_name != 'schedule'
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') && (github.event_name != 'schedule') }}
runs-on: ubuntu-24.04
# Run 37562962482 exhausted 180 minutes during cold browser compilation,
# before image preparation or the suite. Allow the hosted runner's full
diff --git a/.github/workflows/fuzz-cua-driver.yml b/.github/workflows/fuzz-cua-driver.yml
index 5fa2e06abb..b9cb16e0e2 100644
--- a/.github/workflows/fuzz-cua-driver.yml
+++ b/.github/workflows/fuzz-cua-driver.yml
@@ -40,6 +40,7 @@ env:
jobs:
fuzz:
+ if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
name: ${{ matrix.target }}
runs-on: ubuntu-latest
timeout-minutes: 45
diff --git a/scripts/ci/README.md b/scripts/ci/README.md
index 862efc9822..e609b96e45 100644
--- a/scripts/ci/README.md
+++ b/scripts/ci/README.md
@@ -421,7 +421,7 @@ The stable tag run certifies the exact tag commit with the desktop E2E lanes. `E
| Trigger | When | Result |
| --- | --- | --- |
| Nightly, 06:00 UTC | main's HEAD | A failure opens or updates one issue, "Cua Driver release gate failing on main (nightly)". The failed run also posts to #releases through the GitHub Slack app workflow-run subscription. The first fully clean nightly closes the issue. |
-| Pull request | The `e2e-gate` label is present, or the PR touches the cursor overlay, focus, background input or browser routing paths (globs in `.github/scripts/cua_driver_e2e_gate_paths.py`), or it is the release-please PR for cua-driver-rs | The four lanes run on the PR merge commit. |
+| Pull request | The `e2e-gate` label is present, or the PR touches the cursor overlay, focus, background input or browser routing paths (globs in `.github/scripts/cua_driver_e2e_gate_paths.py`). release-please PRs skip the lanes (the tag gate runs them on the release commit) unless labelled | The four lanes run on the PR merge commit. |
| Other pull requests | Everything else | The lanes are skipped and `E2E gate / result` passes at once. |
**Retry once.** Inside each lane a failed case is rerun once (`lib/e2e-retry-once.sh`, and `Invoke-CargoTest` in the Windows runner). A pass on the retry is flaky: it is listed under "Flaky cases" in the job summary and in the tracking issue, and does not fail the gate. Two failures are a real failure. The first attempt's rows, videos and log are kept under `retried-attempts/` in the lane artifact.