fix(traffic): проверять live-срез и прекращать опрос выключенных устройств

This commit is contained in:
Denozordec committed 2026-10-12 21:35:55 +07:00
1 parent 1275dd7b9b
commit 2358ecef60
29 files changed
+1620 -114

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1,46 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"runtime": {
"backend": "ux-live179",
"frontend": "ux-live179"
},
"apis": [
{
"path": "/api/traffic/servers",
"status": 200
},
{
"path": "/api/traffic/users",
"status": 200
},
{
"path": "/api/traffic/bound-interfaces",
"status": 200
}
],
"cases": [
{
"width": 1440,
"trafficServers200": true,
"attemptProvenanceVisible": true,
"actualLiveSample": true,
"backendReceiptLabel": true,
"pageErrors": 0,
"noOverflow": true
},
{
"width": 320,
"trafficServers200": true,
"attemptProvenanceVisible": true,
"actualLiveSample": true,
"backendReceiptLabel": true,
"pageErrors": 0,
"noOverflow": true
}
],
"bounds": [
"Read-only smoke; error/stale/legacy branches proven by owned SQL and UI fixtures",
"No manual production scheduler/config/password/message writes"
]
}
@@ -0,0 +1,10 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"newFrontend": "ux-live179",
"oldBackend": "ux-history178",
"readerAccepted": true,
"serverCount": 2,
"pageErrors": 0,
"bound": "Additive observed DTO reader compatibility; legacy numeric-only paths verified separately as unknown"
}
@@ -0,0 +1,32 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"version": "1.0.0-test.live179",
"method": "Two actual application TCP SSE GET streams; native interface GET and monitor-traffic read-only POST; stop after first confirmed point",
"cases": [
{
"sourceId": 1,
"sample": {
"rxMbps": 0.031584,
"txMbps": 0.002016,
"at": "2026-10-12T14:31:58.084Z",
"timestampKind": "backend-receipt"
},
"streamStatus": 200
},
{
"sourceId": 2,
"sample": {
"rxMbps": 0.002112,
"txMbps": 0.002112,
"at": "2026-10-12T14:31:58.237Z",
"timestampKind": "backend-receipt"
},
"streamStatus": 200
}
],
"routerConfigWrites": 0,
"passwordChanges": 0,
"messages": 0,
"passed": true
}
@@ -0,0 +1,25 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"secretEnvCopied": false,
"rollbackTags": {
"MMAPP_IMAGE_TAG": "ux-history178",
"BACKEND_IMAGE_TAG": "ux-history178"
},
"services": {
"backend": {
"image": "mmapp-test/backend:ux-live179",
"imageId": "sha256:34a5638656bfa98ef38440553735a7067e1040fd3422df37d157ed3124981d4c",
"state": "running",
"health": "healthy",
"matchedVerifiedImage": true
},
"frontend": {
"image": "mmapp-test/frontend:ux-live179",
"imageId": "sha256:af94a199a4c140c70769cb7b375940309a4fa169e734741648bd8cf1e27d14a3",
"state": "running",
"health": null,
"matchedVerifiedImage": true
}
}
}
@@ -0,0 +1,10 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"matched": {
"backend": 451,
"frontend": 522
},
"different": [],
"missing": []
}
@@ -0,0 +1,29 @@
{
"date": "2026-10-12",
"block": "12.5.179",
"passed": true,
"profiles": [
{
"date": "2026-10-12",
"block": "12.5.179",
"database": "mm_accept_166_1791814796307",
"scope": "ephemeral role and precreated owned database; no copied production credentials",
"tests": [
{
"command": "npm --prefix backend run test:traffic-rate",
"passed": true,
"durationMs": 24570,
"ownedTrafficSqlCases": 9,
"ownedHistorySqlCases": 14,
"ownedLiveSqlCases": 10,
"postgresUnavailableSkip": false
}
],
"scopedRoleVerified": true,
"passed": true,
"databaseRemoved": true,
"roleRemoved": true,
"testContainerRemoved": true
}
]
}