ci: исполнять TS/Python parity на чистом runner (#548)

Issue: #548
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-13 10:49:07 +03:00
parent e85849b86e
commit 76d8017e87
20 changed files with 520 additions and 92 deletions
+13
View File
@@ -3202,6 +3202,19 @@ const MUTANT_DEFINITIONS = [
+ '`${point[0].toFixed(6)},${point[1].toFixed(6)}`;',
}],
},
{
id: 'junction-limit-ts-python-parity-drift',
guard: 'npx tsc -p tsconfig.junction-parity.json && node scripts/fix-test-build.mjs '
+ '&& python3 tests_backend/junction_parity.py --build-dir=test-build/junction-parity',
because: 'the clean-runner parity job must turn red when either production mirror changes '
+ 'one shared rule; otherwise a green run can again mean that no cross-runtime comparison '
+ 'actually happened (#548 AC2)',
patches: [{
file: 'src/junction-limits.ts',
find: 'export const MIN_NODE_DISTANCE_CM = 5;',
replace: 'export const MIN_NODE_DISTANCE_CM = 4; // mutant: drift from Python mirror',
}],
},
{
id: 'junction-limit-branch-dropped',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '