Repository navigation
test: run the headless suites on Qt's generic platform theme - #253
Conversation
Use the generic Qt platform theme for the headless test battery. The inherited GTK theme otherwise exits when offscreen tests hide the display.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe test runner now sets ChangesTest Environment
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is established for this test-runner change. The full suite remains unrun, but that alone does not indicate a regression. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
offscreen suites inherited Omarchy's gtk3 theme and GTK exited with no display; merged as authored, and every offscreen suite now names the generic theme too (35a8767, 5e0a78b, v0.3.8). Thanks @nixfred! https://github.com/thisisgm/flea/releases/tag/v0.3.8 |
Omarchy exports
QT_QPA_PLATFORMTHEME=gtk3. When the headless runner starts offscreen Qt tests without a display, GTK exits before their assertions run. Select Qt's generic platform theme insidetests/run-all.shso those tests can execute.Validated with two restricted copies of the real runner, both inheriting
gtk3: the fix passespdf-first,pdf-turn,preview-swap,preview-decode, andmodes; removing only the export makes all four offscreen suites fail with the GTK display error. All 30 production platform-theme checks pass, and the child export leaves the caller's environment unchanged. Syntax and lint checks pass.Validation covers the affected suites; the complete headless battery was not run for this PR.