twister, west, scripts: use EXTRA_CONF_FILE for overlay confs #119033
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.47) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 285 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.338
Real PR Conversation Timeline
1 comments
"Review active on #119033"
general
weight: 0.35
rootkiller6788
twister, west and two helper scripts still passed test suite and sample overlay conf files to CMake through
OVERLAY_CONFIG, the variable thatEXTRA_CONF_FILEreplaced in Zephyr 3.4. On the CMake side both names are merged intoEXTRA_CONF_FILE, so this only keeps working while the deprecated alias is still accepted.Pass the overlay conf files through
EXTRA_CONF_FILEinstead. All sources are merged into one-D: the lastEXTRA_CONF_FILEa test suite sets inextra_argsfirst, then itsextra_conf_files, then the overlay conf files last. Two-Doptions for the same variable would silently keep only the last one, and the overlays have to stay last to keep the precedence they had as a separate variable.scripts/pylib/twister/twisterlib/runner.py,scripts/west_commands/build.py: merge the extra args, extra conf files and overlay conf files into the singleEXTRA_CONF_FILEargument, so a suite that sets bothextra_conf_filesandEXTRA_CONF_FILEinextra_argskeeps both. The twister expectations inscripts/tests/twister/test_runner.pyfollow.scripts/net/run-sample-tests.sh: hand the--overlayfiles over asEXTRA_CONF_FILE.samples/net/mqtt_publisher/docker-test.shconsumes that same$overlayvalue next to its own-DEXTRA_CONF_FILE=, so its three call sites merge the two lists, last. This completes what PR #87546 left behind, which converted the othersamples/net/*/docker-test.shscripts but missed this one.tests/bsim/compile.source: passconf_overlayandextra_conf_filein oneEXTRA_CONF_FILE,conf_overlaylast.Checks:
twisterunit tests pass (scripts/tests/twister/, 955 tests), ruff and pylint clean,bash -nclean. For twister a test suite withextra_conf_files: [common.conf]andextra_overlay_confs: [overlay.conf]now builds withEXTRA_CONF_FILE=common.conf;overlay.confand produces the same.configas before, in both the plain and thesysbuildcase, and noOVERLAY_CONFIGis passed to CMake any more. The west path was verified the same way withwest build -T.Not verified: no real bsim build (the nRF BSIM environment is not available here), and the networking scripts were checked at the argument level only, not by running the docker based sample tests.
Fixes #113145