Skip to content

Thread: unify border agent arguments#43140

Merged
mergify[bot] merged 1 commit into
project-chip:masterfrom
bukepo:unify-ba-args
Feb 17, 2026
Merged

Thread: unify border agent arguments#43140
mergify[bot] merged 1 commit into
project-chip:masterfrom
bukepo:unify-ba-args

Conversation

@bukepo

@bukepo bukepo commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Summary

This commit unifies the border agent arguments of the python controller to chip-tool.

Related issues

This is a follow-up of #43029.

Testing

This commit unifies the arguments and replaces all usage of the arguments. No new tests are added.

@github-actions github-actions Bot added the tests label Feb 13, 2026

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

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.

Code Review

This pull request successfully unifies the border agent arguments in the python controller to align with chip-tool. The changes are consistent and correctly applied across all relevant files. The minor suggestion to improve the help text for one of the new arguments has been retained as it does not conflict with any existing rules.

@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

PR #43140: Size comparison from 9a23d84 to 77b8d88

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 9a23d84 77b8d88 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1107534 1107534 0 0.0
RAM 178650 178650 0 0.0
bl702 lighting-app bl702+eth FLASH 662538 662538 0 0.0
RAM 134665 134665 0 0.0
bl702+wifi FLASH 838254 838254 0 0.0
RAM 124189 124189 0 0.0
bl706+mfd+rpc+littlefs FLASH 1072564 1072564 0 0.0
RAM 117117 117117 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 905118 905118 0 0.0
RAM 105724 105724 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 985568 985568 0 0.0
RAM 109604 109604 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 772472 772472 0 0.0
RAM 103200 103200 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 785288 785288 0 0.0
RAM 108480 108480 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 730376 730376 0 0.0
RAM 97236 97236 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 714896 714896 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 555848 555848 0 0.0
RAM 204432 204432 0 0.0
lock CC3235SF_LAUNCHXL FLASH 590036 590036 0 0.0
RAM 204720 204720 0 0.0
efr32 lock-app BRD4187C FLASH 968448 968440 -8 -0.0
RAM 125444 125444 0 0.0
BRD4338a FLASH 756964 756964 0 0.0
RAM 237696 237696 0 0.0
window-app BRD4187C FLASH 1066088 1066088 0 0.0
RAM 126668 126668 0 0.0
esp32 all-clusters-app c3devkit DRAM 98220 98220 0 0.0
FLASH 1588996 1588996 0 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 955232 955232 0 0.0
RAM 162036 162036 0 0.0
nxp contact mcxw71+release FLASH 745832 745832 0 0.0
RAM 66896 66896 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1701020 1701020 0 0.0
RAM 213804 213804 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1602140 1602140 0 0.0
RAM 210692 210692 0 0.0
light cy8ckit_062s2_43012 FLASH 1462636 1462636 0 0.0
RAM 196864 196864 0 0.0
lock cy8ckit_062s2_43012 FLASH 1496028 1496028 0 0.0
RAM 224696 224696 0 0.0
qpg lighting-app qpg6200+debug FLASH 839612 839612 0 0.0
RAM 127740 127740 0 0.0
lock-app qpg6200+debug FLASH 778256 778256 0 0.0
RAM 118688 118688 0 0.0
realtek light-switch-app rtl8777g FLASH 704152 704152 0 0.0
RAM 113392 113392 0 0.0
lighting-app rtl8777g FLASH 745384 745384 0 0.0
RAM 114564 114564 0 0.0
stm32 light STM32WB5MM-DK FLASH 472268 472268 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 714170 714170 0 0.0
RAM 93544 93544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 835048 835048 0 0.0
RAM 42784 42784 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 826314 826314 0 0.0
RAM 97304 97304 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 719816 719816 0 0.0
RAM 54756 54756 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 782864 782864 0 0.0
RAM 74460 74460 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724244 724244 0 0.0
RAM 33168 33168 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 611480 611480 0 0.0
RAM 118120 118120 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 823942 823946 4 0.0
RAM 95020 95020 0 0.0

@bukepo bukepo marked this pull request as ready for review February 14, 2026 02:35
Copilot AI review requested due to automatic review settings February 14, 2026 02:35
@bukepo bukepo requested a review from andy31415 February 14, 2026 02:35

Copilot AI left a comment

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.

Pull request overview

Unifies Thread Border Agent CLI/config arguments used by the Python testing controller to match chip-tool naming, and updates the commissioning plumbing accordingly.

Changes:

  • Rename Border Agent CLI flags from --border-agent-ip-addr/--border-agent-port to --thread-ba-host/--thread-ba-port.
  • Propagate the renamed fields through MatterTestConfig, CommissioningInfo, and commissioning call sites.
  • Update provisional test script CI argument examples to use the new flags.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/python_testing/provisional/TC_SC_TC_4_1.py Updates CI test argument example to use the new Thread BA flags.
src/python_testing/matter_testing_infrastructure/matter/testing/runner.py Renames CLI args and config population for Thread MeshCoP Border Agent host/port.
src/python_testing/matter_testing_infrastructure/matter/testing/matter_testing.py Passes renamed Thread BA fields into CommissioningInfo.
src/python_testing/matter_testing_infrastructure/matter/testing/matter_test_config.py Renames stored config fields to thread_ba_host/thread_ba_port.
src/python_testing/matter_testing_infrastructure/matter/testing/commissioning.py Renames CommissioningInfo fields and uses them for CommissionThreadMeshcop.

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Feb 17, 2026
@mergify mergify Bot merged commit fc9a8e8 into project-chip:master Feb 17, 2026
83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants