Skip to content

Comments

Fix Cypress CI failures: install system dependencies and tune for CI stability#22

Open
cto-new[bot] wants to merge 1 commit intodevelopfrom
fix-cypress-ci-failures-install-deps-configure-xvfb
Open

Fix Cypress CI failures: install system dependencies and tune for CI stability#22
cto-new[bot] wants to merge 1 commit intodevelopfrom
fix-cypress-ci-failures-install-deps-configure-xvfb

Conversation

@cto-new
Copy link

@cto-new cto-new bot commented Oct 27, 2025

Summary

This PR resolves persistent Cypress test failures in CI by installing all required system dependencies and improving workflow and configuration for stability, reliability, and debuggability.

Details

  • Installs all necessary system libraries dynamically in the CI workflow (Gtk, X11, sound, OpenGL, etc.)
  • Caches the Cypress binary to speed up workflow runs
  • Increases memory limits and enables xvfb for browser support
  • Waits on the /healthz endpoint and increases related timeouts
  • Adds retry logic, extends timeouts, and enables failure artifact logging (screenshots/videos)
  • Updates Cypress config (cypress.config.ts) and scripts to use 127.0.0.1 and improve reliability
  • Refines e2e CI step order for robust startup, health checks, and test runs

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

…y settings

Fix consistent Cypress failures in CI by:
- Adding dynamic installation of required system libraries (Gtk, X11, audio libs, etc.)
- Enabling explicit Xvfb and /healthz endpoint waiting for server readiness
- Adjusting Cypress and workflow config for retries, timeouts, caching, and increased memory
- Ensuring video/screenshots are captured consistently and improving debug signal

This enables successful, stable, and debuggable Cypress runs in CI environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants