Repository navigation
ci(gallery): report the web shards without the mac queue - #2596
Conversation
eecc104 to
bffeef9
Compare
The required check Gallery (web) waits for the whole gallery job, whose macOS shards take part of a pool that holds about two runners. In one run they queued for 840s and 1021s, so the check could not report before 22 minutes. The web shards now run in a job of their own and the macOS shards in gallery-apple, which the required check does not need. Every pull request that can affect Apple's targets still runs the macOS gallery; it no longer decides when the check reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bffeef9 to
e381c59
Compare
|
@houko — now ready for review; the call here is yours. The decision is whether the macOS gallery shards may leave the required check: they still run on every pull request that can affect Apple's targets and still fail it when a shard fails, but they no longer hold Evidence from the run of the earlier head: the web shards finished at 12:01:10 and Rebased onto |
|
The red The same test passes on other hosts: 7.07 s on #2644's core job at 12:07 (no DRI3 warnings there) and 5.55 s on #2583's at 09:21. The failing job ran on |
|
Same crash as the one below, with a candidate fix under test on its own: #2664 gives the dialog test's own process |
What and why
The required check
Gallery (web)gate waits for the wholegallerymatrix job, which mixes the web shards with the macOS shards. The macOS shards draw on a pool that holds about two runners, shared withapple. Measured on one run of 2026-11-27:The web shards finished their work in about five minutes, but
Gallery (web)could not report before the macOS shards did — about 22 minutes into that run.This splits the job:
galleryruns the two web shards ondepot-ubuntu-24.04-4,gallery-appleruns the two macOS shards ondepot-macos-26, and the requiredGallery (web)gate needs only the web shards. Check names are unchanged.Trade-off
The macOS gallery still runs on every pull request that can affect Apple's targets, and still fails the pull request when a shard fails, but it no longer holds the required check. If the macOS gallery should block merging, it needs its own required check in the ruleset.
Testing
Job names and their required-check name are unchanged:
actionlintv1.7.12, the versionquality.ymlinstalls:The web legs are the same commands as before (
-target web, formula and perf on shard 1); the macOS legs keep the microphone grant, Xcode selection and terminal-actions step. This pull request's own run is the check:Gallery (web)should report when the web shards finish, independently of the macOS shards' queue.🤖 Generated with Claude Code