Skip to content

test: Check the GPU status light in the packaged Windows and macOS smoke tests (#941) - #954

Merged
zackees merged 2 commits into
masterfrom
ci/941-gpu-smoke
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/941-gpu-smoke

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #941 (part of #939).

The GPU status light's Windows path (D3D11 gs_enum_adapters) and macOS path (GetGlGetStringProc in platform-osx.mm) have never run. #846 showed that compiling plus unit tests is not enough.

Change

test/packaged-startup.py already launches the real release packages with a saved profile in release-rust.yaml: Windows x64 and arm64, and macOS arm64 and x86_64, on native runners. It now also:

  • requires GetStats.gpuAcceleration with a known state, a detectedGpus list, and a real adapter, not OpenGL, Direct3D 11 or Metal;
  • requires the startup GPU acceleration: log line, on every platform (before, only Windows logs were read).

Hosted runners have no GPU (Windows renders through WARP), so any state passes. The point is that the light's code runs and reads a real adapter. Seeing green needs a GPU runner, which is out of scope.

It adds no new jobs, builds or workflow files. The smoke jobs only run in the daily release gate or a verify_only dispatch, so PR CI does not get slower.

RED → GREEN

GetStats.gpuAcceleration must be present with a real adapter, not a
bare API name, and the startup log must carry the GPU state line. The
Windows and macOS paths of the GPU status light have never run.

Refs #941
…oke tests (GREEN)

packaged-startup.py now requires GetStats.gpuAcceleration with a real
adapter (not OpenGL, Direct3D 11 or Metal) and the startup GPU log line.
release-rust.yaml's Windows x64/arm64 and macOS arm64/x86_64 smoke jobs
already run it against the real packages, so the light's D3D11 and
macOS OpenGL paths now run on hosted runners.

Refs #941
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

I cancelled the manual full release run on this branch (run 38876819979). It held 14 runners at once (all platform builds, AppImage, Flatpak and the full release gate) and left PR CI at 1 running job and 11 queued.

Per #992, full app builds are a last resort and run at release and in the nightly run, not to validate a PR. To prove the packaged GPU smoke test, either:

  • let the nightly full run on master cover it after merge, or
  • start one platform's build job (gh workflow run ... -f), not the whole matrix, when no PRs are queued.

@zackees
zackees marked this pull request as ready for review October 16, 2026 09:08
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Maintainer decision: merge on green PR checks and take the Windows and macOS evidence from the next scheduled master release (release-rust.yaml). Its smoke jobs run packaged-startup.py against the real packages: Windows x64/arm64 and macOS arm64/x86_64.

Three verify-only dispatches on this branch couldn't get there. In 38834698892 I cancelled it myself to free runners. In 38867987465, the Windows builds were cancelled and macOS failed on the clang error fixed in #1035. In 38876819979, the Windows and macOS builds were cancelled externally at 09:05:33, with fail-fast off and no failing sibling. I'll check the nightly's smoke jobs and fix forward if they fail.

@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit 6a54aad Oct 16, 2026
23 of 51 checks passed
@zackees
zackees deleted the ci/941-gpu-smoke branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Smoke-test the GPU status light on Windows and macOS runners

1 participant