fix(network): согласовать GRE PSK с FastPath и экспортом

This commit is contained in:
Denozordec committed 2026-10-13 21:42:21 +07:00
1 parent 7d86af7e8b
commit 1be4a490b5
20 files changed
+1460 -19

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1,121 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"database": "mm_accept_166_1791901979711",
"cases": [
{
"field": "keepaliveInterval",
"value": 0,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveInterval",
"value": -1,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveInterval",
"value": 1.5,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveInterval",
"value": 4294967296,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveRetries",
"value": 0,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveRetries",
"value": -1,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveRetries",
"value": 1.5,
"status": 400,
"nativeCalls": 0
},
{
"field": "keepaliveRetries",
"value": 4294967296,
"status": 400,
"nativeCalls": 0
},
{
"operation": "create",
"params": {},
"keepalive": "10s,10",
"status": 201
},
{
"operation": "create",
"params": {
"keepaliveInterval": 60
},
"keepalive": "60s,10",
"status": 201
},
{
"operation": "create",
"params": {
"keepaliveRetries": 3
},
"keepalive": "10s,3",
"status": 201
},
{
"operation": "create",
"params": {
"keepaliveInterval": 90,
"keepaliveRetries": 7
},
"keepalive": "90s,7",
"status": 201
},
{
"operation": "patch-other-field",
"nativeKeepalivePreserved": "1m,3",
"status": 200
},
{
"operation": "read-minutes",
"seconds": 60,
"status": 200
},
{
"operation": "psk-create-default-fastpath",
"status": 201,
"fastPath": "no"
},
{
"operation": "explicit-psk-fastpath-conflict",
"status": 400,
"nativeCalls": 0
},
{
"operation": "existing-psk-fastpath-conflict",
"status": 400,
"nativeWrites": 0
},
{
"operation": "enable-psk-with-omitted-fastpath",
"status": 200,
"fastPath": "no"
}
],
"scope": "Production compiled GRE create/patch using isolated PostgreSQL and native HTTP fixture",
"passed": true,
"nativeWrites": 7,
"originalReportedFilename": "gre212-keepalive-result.json",
"databaseAndRoleRemoved": true
}
@@ -0,0 +1,35 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"runtime": "ux-gre212",
"services": {
"backend": {
"image": "mmapp-test/backend:ux-gre212",
"imageId": "sha256:15b4c11614737ff12d4a4d40ed585324dabcace1f96342f0e966266125b78a1b",
"running": true,
"health": "healthy"
},
"frontend": {
"image": "mmapp-test/frontend:ux-gre212",
"imageId": "sha256:0cb19a8d93d5056870372c48bd189246da1e198bf32fc471861a6e70b0111ccf",
"running": true,
"health": null
}
},
"rollbackTags": {
"MMAPP_IMAGE_TAG": "ux-gre210",
"BACKEND_IMAGE_TAG": "ux-auth211"
},
"chrPasswordsChanged": false,
"source": [
{
"kind": "backend",
"matched": 478
},
{
"kind": "frontend",
"matched": 527
}
],
"compiledMatched": 1048
}
@@ -0,0 +1,24 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"uniqueCases": 10,
"groups": [
{
"startTime": "2026-10-13T14:28:25.941Z",
"duration": 20683.281000000003,
"expected": 8,
"skipped": 0,
"unexpected": 0,
"flaky": 0
},
{
"startTime": "2026-10-13T14:29:34.020Z",
"duration": 9814.235,
"expected": 2,
"skipped": 0,
"unexpected": 0,
"flaky": 0
}
],
"apiMocked": true
}
@@ -0,0 +1,69 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"runtime": "ux-gre212",
"cases": [
{
"host": "194.226.121.150",
"defaultCreateStatus": 201,
"defaultNative": "10s,10",
"pskDefaultFastPathDisabled": true,
"explicitFastPathConflictStatus": 400,
"minutesReadAsSeconds": 60,
"patchOtherFieldPreservesNative": "1m,3",
"invalidIntervalStatus": 400,
"invalidPatchLeavesNativeUnchanged": true,
"catalogSeconds": 60
},
{
"host": "104.165.244.7",
"defaultCreateStatus": 201,
"defaultNative": "10s,10",
"pskDefaultFastPathDisabled": true,
"explicitFastPathConflictStatus": 400,
"minutesReadAsSeconds": 60,
"patchOtherFieldPreservesNative": "1m,3",
"invalidIntervalStatus": 400,
"invalidPatchLeavesNativeUnchanged": true,
"catalogSeconds": 60
}
],
"uiCases": [
{
"section": "gre",
"width": 1440,
"actualNativeRead": true,
"minutesFormSeconds": 60,
"invalidInputPreservesForm": true,
"mutationRequests": 0,
"pageErrors": 0
},
{
"section": "filters",
"width": 1440,
"actualNativeRead": true,
"configuredGreCatalogAccepted": true,
"mutationRequests": 0,
"pageErrors": 0
},
{
"section": "gre",
"width": 320,
"actualNativeRead": true,
"minutesFormSeconds": 60,
"invalidInputPreservesForm": true,
"mutationRequests": 0,
"pageErrors": 0
},
{
"section": "filters",
"width": 320,
"actualNativeRead": true,
"configuredGreCatalogAccepted": true,
"mutationRequests": 0,
"pageErrors": 0
}
],
"scope": "Disabled own native GRE; defaults, unit parsing, patch preservation and UI validation; not data-plane",
"cleanupCompleted": true
}
@@ -0,0 +1,15 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"commands": [
"npm --prefix backend run test:live-maps",
"npx tsx lib/gre-export.test.ts",
"npx tsx lib/filters-response.test.ts",
"npx tsx lib/network-map-response.test.ts"
],
"passed": true,
"frontendTypecheckPassed": true,
"backendBuildPassed": true,
"eslintErrors": 0,
"scope": "GRE compatibility and export; existing catalog consumers retained"
}
@@ -0,0 +1,14 @@
{
"date": "2026-10-13",
"block": "12.5.212",
"kinds": [
{
"kind": "backend",
"matched": 478
},
{
"kind": "frontend",
"matched": 527
}
]
}