Refactor VPN proxy components and update related behavior
Build and Deploy Gateway / build-and-push (push) Successful in 20s
Build and Deploy Gateway / deploy (push) Successful in 13s

This commit is contained in:
2026-08-11 01:27:46 +03:00
parent c89e56942a
commit aa9c959368
58 changed files with 4234 additions and 2755 deletions
+5 -1
View File
@@ -48,7 +48,11 @@ test('data invariant: one canonical snapshot owns server selection and never exp
});
assert.equal(snapshot.revision, 9);
assert.deepEqual(snapshot.selection, { desiredServerId: selectedServerId, appliedServerId: selectedServerId });
assert.equal(snapshot.selection.desiredProfileId, 'profile_primary');
assert.equal(snapshot.selection.desiredServerId, selectedServerId);
assert.equal(snapshot.selection.appliedProfileId, 'profile_primary');
assert.equal(snapshot.selection.appliedServerId, selectedServerId);
assert.equal(snapshot.selection.appliedServerSnapshot?.id, selectedServerId);
assert.equal(snapshot.servers.find((server) => server.id === selectedServerId)?.host, 'vpn-17.example.test');
assert.equal(JSON.stringify(snapshot).includes('private-token'), false);
});