Skip to content

test: live zenity Xvfb tests flake in CI #217

Closed

Description

@ElbertePlinio

Two live Xvfb tests failed once in CI on #216 and passed on rerun of the same commit (16306e0). Neither touches the evidence renderer that PR changed, and both passed in two full local runs.

  • packages/desktop-linux/test/integration.test.ts > "keeps a GTK exec client on Xvfb despite inherited Wayland variables": no client window appeared on the display within 15000 ms while guarded-zenity was still running, so the process group was stopped.
  • packages/mcp-server/test/desktop-input-captures-live.test.ts > "associates real input capture pairs, geometry, inspection and HTML on a private managed Xvfb": the before and after captures around desktop_type had the same pixel digest, so the typed text had not rendered before the after capture.

Both look like zenity startup or redraw timing on a loaded runner. Failed run: https://github.com/pickforge/pickforge/actions/runs/36922676250 (first attempt of the test job).

  • Reproduce under load, for example with several parallel vitest workers
  • Make the window wait and the after-capture wait for the expected change instead of a fixed timeout
  • Confirm stability over repeated CI runs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions