ci: include dynamic backend inputs in gates (#542)

Issue: #542
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-13 06:46:38 +00:00
committed by claude[bot]
parent 9c08d583ab
commit 744f502ba3
5 changed files with 82 additions and 1 deletions
+11
View File
@@ -3915,6 +3915,17 @@ const MUTANT_DEFINITIONS = [
replace: " roots: ['src/**', 'custom_components/**/*.py', 'custom_components/houseplan/manifest.json', 'scripts/support-relay/**/*.py',",
}],
},
{
id: 'backend-dynamic-inputs-dropped',
guard: 'node --test --test-name-pattern="#542" test/check-inputs.test.mjs test/gate-reuse.test.mjs',
because: 'backend pytest reads selected TS sources and browser fixtures through os.path.join and a '
+ 'Python f-string dynamic import; without exact roots selection and reuse silently miss them (#542)',
patches: [{
file: 'scripts/check-inputs.mjs',
find: ' ...BACKEND_DYNAMIC_INPUTS,',
replace: ' // mutant: dynamic cross-runtime inputs are absent',
}],
},
{
id: 'guard-inputs-ignore-wrapper-defaults',
guard: 'node --test --test-name-pattern="#492 §8.2" test/mutation-gate.test.mjs',