Run the X11 event test under Xvfb in CI #216

Manually merged
github merged 1 commit from github-bot/gh-216 into gh-pr/216/base 2026-12-02 16:29:45 +00:00 AGit
Owner

@⁠Omar-Alme on GitHub · 2026-12-02 14:15 UTC · original
Omar-Alme:test/xcb-headless-ci → main · +17 −10 · 3 files · 1 commits · merged 2026-12-02 16:11 UTC

What

Addresses the X11 test under “Failing and flaky tests” in docs/TASKS.md. The test used to skip when DISPLAY was absent and fail at connection setup when DISPLAY pointed to an inaccessible X server. CI now runs it under Xvfb. The ordinary Rust unit suite can run independently of the desktop, and the dedicated step fails if it cannot connect to its X server.

The reference

This is a test harness change for the Linux presenter. It has no console or D3D12 counterpart and makes no runtime rendering changes. The test still checks resize and destroy notifications and decodes a real BadWindow error.

Evidence

  • Reproduced the connection assertion with an inaccessible display.
  • Ran real_events_decode under Xvfb on Arch Linux. The test executed and passed.
  • Native umem, frame and vkback unit tests passed (202 tests total, plus the separate X11 test). All six vkback policy checks and greenfield workspace Clippy with -D warnings passed.
  • Updated the presenter learnings with the local reproduction command. This test needs an X server and no GPU or title data.
**@⁠Omar-Alme** on GitHub · 2026-12-02 14:15 UTC · [original](https://github.com/vktory6/VKtory/pull/216) `Omar-Alme:test/xcb-headless-ci` → `main` · +17 −10 · 3 files · 1 commits · merged 2026-12-02 16:11 UTC ## What Addresses the X11 test under “Failing and flaky tests” in `docs/TASKS.md`. The test used to skip when `DISPLAY` was absent and fail at connection setup when `DISPLAY` pointed to an inaccessible X server. CI now runs it under Xvfb. The ordinary Rust unit suite can run independently of the desktop, and the dedicated step fails if it cannot connect to its X server. ## The reference This is a test harness change for the Linux presenter. It has no console or D3D12 counterpart and makes no runtime rendering changes. The test still checks resize and destroy notifications and decodes a real `BadWindow` error. ## Evidence - Reproduced the connection assertion with an inaccessible display. - Ran `real_events_decode` under Xvfb on Arch Linux. The test executed and passed. - Native `umem`, `frame` and `vkback` unit tests passed (202 tests total, plus the separate X11 test). All six vkback policy checks and greenfield workspace Clippy with `-D warnings` passed. - Updated the presenter learnings with the local reproduction command. This test needs an X server and no GPU or title data.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 14:19:27 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 16:11 UTC · original

Merged, thanks: CI now runs the X11 event test against Xvfb instead of skipping it without a display.

**@⁠vktory6** on GitHub · 2026-12-02 16:11 UTC · [original](https://github.com/vktory6/VKtory/pull/216#issuecomment-7351588310) Merged, thanks: CI now runs the X11 event test against Xvfb instead of skipping it without a display.
github-bot changed target branch from main to gh-pr/216/base 2026-12-02 16:29:43 +00:00
github manually merged commit 4f97037be7 into gh-pr/216/base 2026-12-02 16:29:45 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.