-
Notifications
You must be signed in to change notification settings - Fork 40
Speed up CI by decoupling test runs from full build completion #1428
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
Conversation
@copilot add an entry in the unreleased segment of the CHANGELOG.md. Also, add an instruction to CLAUDE.md and follow the pattern used previously in the CHANGELOG. |
Added CHANGELOG entry in the unreleased section and CI optimization guidelines to CLAUDE.md following the established patterns. The CHANGELOG entry describes the CI performance improvement, and CLAUDE.md now includes detailed instructions for CI workflow optimization with build dependency patterns and performance considerations (commit 3d02e29). |
- Add dedicated build-for-tests jobs that run only on ubuntu-22.04 - Add build-tests-for-tests and build-tests-webrtc-for-tests jobs - Update test job dependencies to use dedicated builds instead of matrix builds - Remove artifact uploads from matrix builds (now handled by dedicated jobs) This allows tests to start as soon as ubuntu-22.04 builds complete, rather than waiting for all platform builds (including slower macOS/ARM builds). Co-authored-by: dannywillems <6018454+dannywillems@users.noreply.github.com>
- Add CHANGELOG entry for CI optimization that speeds up test execution - Add CI optimization guidelines to CLAUDE.md with build dependency patterns - Follow established documentation patterns and formatting requirements Co-authored-by: dannywillems <6018454+dannywillems@users.noreply.github.com>
3d02e29
to
eeafd68
Compare
4e3b41a
to
08f88a6
Compare
08f88a6
to
e31f1d7
Compare
Speed up CI by decoupling test runs from full build completion
Implementation Complete ✅
.github/workflows/ci.yaml
build-for-tests
job running only on ubuntu-22.04build-tests-for-tests
job running only on ubuntu-22.04build-tests-webrtc-for-tests
job running only on ubuntu-22.04p2p-scenario-tests
to depend only on dedicated test build jobsscenario-tests
to depend only on dedicated test build jobsrecord-replay-tests
to depend only on dedicated test build jobsbootstrap-test
to depend only on dedicated build jobsDocumentation Updates ✅
Validation Results ✅
Expected Performance Impact 🚀
Technical Summary
Created dedicated single-platform build jobs that produce only the artifacts needed for testing, allowing test jobs to start immediately when ready instead of waiting for comprehensive cross-platform builds. Matrix builds continue running in parallel for platform verification but no longer block test execution.
This directly addresses the issue requirements:
Fixes #1427.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.