Skip to content

[CI] Ideas to reduce PR build and test time #3820

@whitneywhtsang

Description

@whitneywhtsang

The build and test time has increased to 1.5 hours recently. Can we add features in CI to reduce unnecessary testing?
Below are some ideas:

  1. Sometime only E2E step is failing, due to huggingface connectivity, and we would need to rerun the action, which rerun the whole workflow, from building the compiler, lit test, core test, etc, all the way to E2E testing. Suggest to only rerun failed steps if the PR is not changed, i.e., no new commits.
  2. Cache the build step, and parallel testing steps.
  3. Categorize different testing and trigger different portion by manually setting PR labels or PR comments. (Cache build step if we do this)

Sub-issues

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions