Skip to content

ci: reduce load on pr runs - #1815

Merged
Ricardo Salveti (ricardosalveti) merged 2 commits into
qualcomm-linux:masterfrom
ricardosalveti:nightly
Mar 27, 2026
Merged

Ricardo Salveti (ricardosalveti) merged 2 commits into
qualcomm-linux:masterfrom
ricardosalveti:nightly

Conversation

@ricardosalveti

Copy link
Copy Markdown
Contributor

Reduce the load on our PR runs by reducing the amount of warm_up runs (for better cache usage) and skipping debug and performance builds.

Debug builds are only consumed from nightly runs and performance has no major difference from the normal build, so an extra run to catch possible issues there is not that useful in the end.

@ricardosalveti

Copy link
Copy Markdown
Contributor Author

Validating the push run via next: https://github.com/qualcomm-linux/meta-qcom/actions/runs/23570319988

@ricardosalveti

Copy link
Copy Markdown
Contributor Author

Viswanath Kraleti (@vkraleti) while we have #1418 for introducing weekly, I wanted to first optimize our prs runs by moving a few to nightly, as the current pr load is way too much.

Comment thread .github/workflows/build-yocto.yml
Comment thread .github/workflows/build-yocto.yml Outdated
Introduce a build profile input field to the reusable build-yocto
workflow and use it to skip all debug and performance build
combinations when performing CI on PRs. This reduces PR
turnaround time while keeping full coverage on push and nightly.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Migrate most compile_warm_up tasks to the standard compile matrix as
gnerating parallel cache with so many combinations provides little
incremental cache benefit while consuming a substantial amount of CI
resources.

This change should also help reducing the initial load on jobs that
are known to fail, since the current nodistro and qcom-distro
combination is enough to cover most common problems.

This change has no impact to the complete set of runs.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
steps:
- uses: actions/checkout@v6
- name: checkout
if: inputs.profile != 'pr' || (matrix.distro.name != 'debug' && matrix.distro.name != 'performance')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you not use github.event_name here , instead of making an additional inputs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For pr, yes, but I was thinking that having an extra argument makes it more explicit and also not bound to a potential event rename. We also expect to have a different permutation between nighly / weekly / monthly as well, so that could use the same input variable.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit d0f686a

Test dragonboard-820c qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
165958 qcs9100 Finished Complete
165951 qcs9100 Finished Complete
165962 qcs9100-rb8 Finished Complete
165971 qcs9100 Finished Complete
165975 qcs9100-rb8 Finished Complete
165968 qcs9100-rb8 Finished Complete
165952 qcs615-adp-air Finished Complete
165964 qrb2210-rb1 Finished Complete
165953 qcs8300 Finished Complete
165974 qcs9100-rb8 Finished Complete
165970 qcs615-adp-air Finished Complete
165948 qcs8300 Finished Complete
165969 qcs6490 Finished Complete
165965 qcs615-adp-air Finished Complete
165956 qcs6490 Finished Complete
165973 dragonboard-820c Finished Complete
165949 qcs6490 Finished Complete
165961 qcs8300 Finished Complete
165955 dragonboard-820c Finished Incomplete
165954 qcs6490 Finished Complete
165963 qrb2210-rb1 Finished Complete
165972 qrb2210-rb1 Finished Complete
165960 qcs9100 Finished Complete
165967 dragonboard-820c Finished Complete
165950 qcs8300 Finished Complete
165966 dragonboard-820c Finished Complete
165959 qrb2210-rb1 Finished Complete
165957 qcs615-adp-air Finished Complete

@test-reporting-app

Copy link
Copy Markdown

Test Results

 28 files   28 suites   1h 3m 11s ⏱️
 13 tests   8 ✅ 0 💤 5 ❌
222 runs  217 ✅ 0 💤 5 ❌

For more details on these failures, see this check.

Results for commit d0f686a.

Comment thread .github/workflows/build-yocto.yml
@ricardosalveti
Ricardo Salveti (ricardosalveti) merged commit 79f43d9 into qualcomm-linux:master Mar 27, 2026
485 of 677 checks passed
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.

5 participants