Truly independent web browser
CI: Run the macOS AX tests on Blacksmith only
sideshowbarker6bc276684665
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 5f349d4b8ec..f68776f73f4 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -101,17 +101,14 @@ jobs:build_preset: 'Sanitizer'clang_plugins: false- # The macOS AX tests need an unlocked GUI session that Accessibility can be granted in. GH-hosted macOS runners always- # boot with one, and Blacksmith's macOS runners usually do — but a few of those still boot screen-locked. So, we run- # the tests on both, and a run that lands on a locked Blacksmith runner still gets results from the GH-hosted one.+ # The macOS AX tests need an unlocked GUI session that Accessibility can be granted in, and Blacksmith's macOS runners+ # boot with one. A few of them still boot screen-locked, though — and on one of those, the AX preflight fails at once+ # with an error naming the runner, so a rerun of the job gets a fresh one. The job's name leaves the runner out, so+ # that a change of runner doesn't rename the check.macOS-Accessibility:needs: macOS-Sanitizer- name: macOS, arm64, AX testing, ${{ fromJSON(matrix.runner_labels)[0] }}- strategy:- fail-fast: false- matrix:- runner_labels: ['["macos-26"]', '["blacksmith-12vcpu-macos-26"]']+ name: macOS, arm64, AX testinguses: ./.github/workflows/macos-accessibility-tests.ymlwith:- runner_labels: ${{ matrix.runner_labels }}+ runner_labels: '["blacksmith-12vcpu-macos-26"]'artifact_name: ladybird-app-bundle-macOS-arm64-Sanitizerdiff --git a/.github/workflows/macos-accessibility-tests.yml b/.github/workflows/macos-accessibility-tests.ymlindex d6a92102361..242d7882ee0 100644--- a/.github/workflows/macos-accessibility-tests.yml+++ b/.github/workflows/macos-accessibility-tests.yml@@ -1,16 +1,15 @@name: macOS accessibility tests# The macOS AX tests need an unlocked GUI (Aqua) login session, and an Accessibility grant for the process tree the-# runner starts. GH-hosted machines have all that, but take a very long time to build Ladybird. Blacksmith's machines-# build Ladybird quickly, and most of them now boot screen-unlocked too — but a few still boot screen-locked. So, we-# re-use the Ladybird we already built on Blacksmith: packing it with Meta/package-macos-test-bundle.py, and uploading-# that to both a GH-hosted machine and a Blacksmith machine. Neither builds; each just runs the tests, which takes a few-# minutes — and a run that lands on a locked Blacksmith machine still gets results from the GH-hosted one.+# runner starts. Blacksmith's macOS machines have both, but a few of them still boot screen-locked — so the AX preflight+# below fails at once on a locked session. The tests don't build Ladybird themselves. Instead, they re-use the Ladybird+# the Sanitizer build already built: packed with Meta/package-macos-test-bundle.py, and uploaded to a machine of its own+# that just runs the tests. That takes a few minutes, so a rerun after a locked boot doesn't wait for a rebuild.on:workflow_call:inputs:runner_labels:- description: 'JSON array of the labels selecting the runner, e.g. ["macos-26"]'+ description: 'JSON array of the labels selecting the runner, e.g. ["blacksmith-12vcpu-macos-26"]'required: truetype: stringartifact_name: