Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Minimize jobs in draft PR mode. Maximize parallel jobs for ready PR. Remove merge queue #1565

Merged
merged 95 commits into from
Jul 26, 2024

Conversation

schloerke
Copy link
Collaborator

@schloerke schloerke commented Jul 23, 2024

Fixes #1504

Findings....

  • Historically, we have never checked on windows or macos
    • Windows is slow to install, making the job 5+ mins
  • ui.Chat has a hard time loading on CI. So the timeouts are set to 30s for the initial checks. Probably only first one is needed, but the second ones are there to handle the extra steps.
  • When running 4 parallel workers, jobs were being stopped without notice. This could be due to too much resource usage and the job is auto killed. Moved back down to 3 workers.
  • To help reduce resource usage, only chrome will record its sessions and keep on failure
    • webkit has terrible performance (x5+) when recording is done. **shame-bell.png
  • Testing could be even faster if we went back to a page fixture that exists per session (not just function). However, video recording does not work (page.video is None).
  • Using uv to install rather than pip reduces install time (including python) from 90s to 30s 🎉
  • Options for better debugging...

@schloerke schloerke merged commit 4d2056e into main Jul 26, 2024
48 checks passed
@schloerke schloerke deleted the ci_split_jobs branch July 26, 2024 13:13
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.

Modify GitHub Actions Workflow to leverage draft mode status and remove merge queue
2 participants