[build] start X server before launching fluxbox#17644
Merged
Merged
Conversation
Contributor
Review Summary by QodoFix flaky tests by waiting for X server readiness
WalkthroughsDescription• Adds X server readiness check before launching fluxbox • Installs x11-utils package for xdpyinfo availability • Implements retry loop with 30 attempts and 0.5s intervals • Eliminates race condition causing flaky window manager tests Diagramflowchart LR
A["Install fluxbox and x11-utils"] --> B["Start Xvfb :99"]
B --> C["Poll xdpyinfo for X server readiness"]
C --> D["Launch fluxbox when ready"]
D --> E["Set DISPLAY environment variable"]
File Changes1. .github/workflows/bazel.yml
|
Contributor
Code Review by Qodo
1.
|
Contributor
|
Code review by qodo was updated up to the latest commit 3d00184 |
titusfortner
added a commit
that referenced
this pull request
Jun 10, 2026
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.
Tests that require a windows manager are frequently failing because Fluxbox is attempting to start before xvfb is ready
This is a race condition and the failure is silent in the GitHub step, but logs:
Couldn't connect to XServer:99💥 What does this PR do?
🔧 Implementation Notes
🤖 AI assistance
🔄 Types of changes