Skip to content

Conversation

enkiusz
Copy link
Contributor

@enkiusz enkiusz commented Oct 8, 2025

Summary

Run submodule_checkout.py with --jobs 4 for quicker environment preparation. This should slightly decrease CI time among others.

Testing

No change to source or object code. I've been using --jobs in local workflows and in Jenkins for a long while without issue.

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase (CI time should slightly decrease)

See: Pull Request Guidelines

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR optimizes CI build times by adding the --jobs 4 parameter to all checkout_submodules.py script invocations, enabling parallel submodule checkout operations.

  • Adds --jobs 4 flag to checkout_submodules.py calls across build scripts and CI configurations
  • Targets improved CI performance through parallelized submodule operations
  • Maintains existing functionality while reducing checkout time

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/darwin/Framework/chip_xcode_build_connector.sh Added --jobs 4 to Darwin platform submodule checkout
scripts/build/gn_gen_cirque.sh Added --jobs 4 to Linux platform submodule checkout for Cirque builds
integrations/docker/images/chip-cert-bins/Dockerfile Added --jobs 4 to Docker image build submodule checkout
integrations/cloudbuild/smoke-test.yaml Added --jobs 4 to Cloud Build smoke test submodule checkout
integrations/cloudbuild/chef.yaml Added --jobs 4 to Cloud Build chef submodule checkout
.github/workflows/examples-telink.yaml Added --jobs 4 to GitHub Actions Telink example workflows
.github/actions/checkout-submodules/action.yaml Added --jobs 4 to reusable GitHub Actions submodule checkout action

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request is a great step towards improving CI performance by parallelizing submodule checkouts. My review focuses on making this parallelization more dynamic and efficient by adapting to the build environment's capabilities instead of using a hardcoded number of jobs. This will help maximize the performance gains across different CI runners and local development machines.

Copy link

github-actions bot commented Oct 8, 2025

PR #41335: Size comparison from e72c900 to dea2527

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section e72c900 dea2527 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105094 1105094 0 0.0
RAM 178738 178738 0 0.0
bl702 lighting-app bl702+eth FLASH 659594 659594 0 0.0
RAM 134801 134801 0 0.0
bl702+wifi FLASH 835662 835662 0 0.0
RAM 124285 124285 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068806 1068806 0 0.0
RAM 117117 117117 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899020 899020 0 0.0
RAM 105460 105460 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981824 981824 0 0.0
RAM 109612 109612 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769224 769224 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780868 780868 0 0.0
RAM 108344 108344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726856 726856 0 0.0
RAM 97252 97252 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711316 711316 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553942 553942 0 0.0
RAM 204968 204968 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586674 586674 0 0.0
RAM 205200 205200 0 0.0
efr32 lock-app BRD4187C FLASH 960968 960968 0 0.0
RAM 126220 126220 0 0.0
BRD4338a FLASH 757000 756992 -8 -0.0
RAM 255512 255512 0 0.0
window-app BRD4187C FLASH 1055268 1055268 0 0.0
RAM 122416 122416 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1789026 1789026 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928944 928944 0 0.0
RAM 160985 160985 0 0.0
nxp contact mcxw71+release FLASH 691552 691552 0 0.0
RAM 61424 61424 0 0.0
lighting mcxw71+release FLASH 723120 723120 0 0.0
RAM 68076 68076 0 0.0
lock mcxw71+release FLASH 770344 770344 0 0.0
RAM 61788 61788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670868 1670868 0 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589292 1589292 0 0.0
RAM 210316 210316 0 0.0
light cy8ckit_062s2_43012 FLASH 1456124 1456124 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488452 1488452 0 0.0
RAM 224752 224752 0 0.0
qpg lighting-app qpg6200+debug FLASH 835208 835208 0 0.0
RAM 127592 127592 0 0.0
lock-app qpg6200+debug FLASH 771956 771956 0 0.0
RAM 118552 118552 0 0.0
realtek light-switch-app rtl8777g FLASH 705184 705184 0 0.0
RAM 106756 106756 0 0.0
lighting-app rtl8777g FLASH 756392 756392 0 0.0
RAM 127120 127120 0 0.0
stm32 light STM32WB5MM-DK FLASH 468892 468892 0 0.0
RAM 141192 141192 0 0.0
telink bridge-app tl7218x FLASH 708284 708284 0 0.0
RAM 90340 90340 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795816 795816 0 0.0
RAM 40896 40896 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787012 787012 0 0.0
RAM 93540 93540 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713818 713818 0 0.0
RAM 51712 51712 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747122 747122 0 0.0
RAM 70760 70760 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723974 723974 0 0.0
RAM 34460 34460 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601240 601240 0 0.0
RAM 108588 108588 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819632 819636 4 0.0
RAM 91936 91936 0 0.0

Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.96%. Comparing base (e72c900) to head (dea2527).
⚠️ Report is 25 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #41335   +/-   ##
=======================================
  Coverage   50.96%   50.96%           
=======================================
  Files        1378     1378           
  Lines      100595   100595           
  Branches    13023    13023           
=======================================
  Hits        51267    51267           
  Misses      49328    49328           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Oct 9, 2025
@andy31415 andy31415 merged commit 82e6d0e into project-chip:master Oct 9, 2025
80 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in [Platform] Darwin Oct 9, 2025
enkiusz added a commit to enkiusz/connectedhomeip that referenced this pull request Oct 12, 2025
andy31415 pushed a commit that referenced this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

darwin docker github integrations review - pending scripts sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. workflows

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants