mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
ci: include dynamic backend inputs in gates (#542)
Issue: #542 User-Visible: no
This commit is contained in:
committed by
claude[bot]
parent
9c08d583ab
commit
744f502ba3
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user