Fix failover channel layout and runtime impact coverage
Build and Deploy Gateway / build-and-push (push) Successful in 25s
Build and Deploy Gateway / deploy (push) Successful in 13s

This commit is contained in:
2026-08-19 20:54:28 +03:00
parent 3b515ee355
commit 9055934e92
5 changed files with 22 additions and 17 deletions
+5
View File
@@ -48,6 +48,7 @@ test('every displaced regex path keeps dataplane restart coverage in JS and TS',
'src/server/services/connectivityDiagnosticsService',
'src/server/services/deviceTrafficService',
'src/server/services/devicePolicyService',
'src/server/services/singboxSelectorService',
'src/shared/connectivityDiagnostics',
'src/shared/errors',
];
@@ -76,6 +77,10 @@ test('classifier covers current dataplane reachability without promoting its cli
affectedComponents: ['control', 'dataplane'],
restartScope: 'both',
});
assert.deepEqual(classifyRuntimeImpact(['src/server/services/singboxSelectorService.ts']), {
affectedComponents: ['control', 'dataplane'],
restartScope: 'both',
});
assert.deepEqual(classifyRuntimeImpact(['src/server/dataplaneClient.ts']), {
affectedComponents: ['control'],
restartScope: 'control',