test(cua-driver): restore NixOS desktop matrix - #2694
Open
r33drichards wants to merge 4 commits into
Open
Conversation
Restore X11 and native Wayland NixOS desktop certification with bounded PR smoke, maintainer-dispatched full coverage, visual artifact uploads, and wiring guards. Salvaged from #2184 Co-authored-by: f-trycua <f-trycua@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Restores the NixOS Linux desktop certification surface removed by #2184 /
5abbd802690d68f7d9e79b7fe20bcc0c078652f1, adapted to the current packaged driver and native Wayland opt-in. The NixOS VM checks remain focused on service/session integration while the existing Rust E2E runners retain the shared typed behavior contract.Coverage map
DISPLAYunsetThe pull-request gate is intentionally bounded: X11 integration/capture/cursor plus native Sway integration/cursor/background-terminal. The maintainer-dispatched
fullscope runs all X11 and Wayland cells. Static tests fail if the workflow, flake check wiring, source fixtures, automatic smoke, artifact upload, or summary links disappear.Observable behavior goals
The restored matrix preserves observable X11, Wayland, and compositor behavior
with inspectable artifact evidence: cursor/click, background terminal input,
parallel drag, screenshot/capture, and representative toolkit GUI interaction.
It does not claim that a post-#2184 issue would definitively have been caught
unless an exact historical scenario and assertion demonstrate that link.
Validation
/tmp/actionlint/actionlint .github/workflows/e2e-nixos-desktop.yml.python3 .github/scripts/tests/test_nixos_desktop_matrix.py -v(3 tests).bash -n scripts/ci/linux/run-rust-e2e.sh scripts/ci/linux/run-rust-e2e-wayland.sh.git diff --check.nix flake checkand nested NixOS desktop VM builds could not be executed locally.launch_appPID whenlist_windowsomitted it. The latter produced schema/target errors for cursor and background-input calls. Both repairs are included through883165bd2; bounded smoke is dispatched for that exact head without asserting a result in advance.pytestinstalled (8 import errors); the new stdlib static test is run directly above.Scope and attribution
No secrets, production configuration, release, or deployment behavior changed. Action uses in the new workflow follow the repository's SHA-pinned convention. Historical test material is credited in commit
c37967970withSalvaged from #2184and the original author as co-author.Final Exact-Head Validation
883165bd2a8f9b031593cbc504ea149fcd93d59bin run 30556211889: exact-source resolution,NixOS / x11-integration-capture, andNixOS / sway-native-inputall completed successfully.nixos-desktop-x11-integration-captureandnixos-desktop-sway-native-input.