fix(traffic): объединять чтения истории общего сервера

This commit is contained in:
Denozordec committed 2026-10-13 14:15:44 +07:00
1 parent 7b88416415
commit a68bd61e58
18 files changed
+1373 -30

No files matched your search

@@ -0,0 +1,46 @@
{
"date": "2026-10-13",
"block": "12.5.191",
"runtime": {
"backend": "ux-peak191",
"frontend": "ux-peak191"
},
"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"
]
}
@@ -1,9 +1,9 @@
{
"date": "2026-10-13",
"block": "12.5.191",
"block": "12.5.190",
"runtime": {
"backend": "ux-peak191",
"frontend": "ux-peak191"
"backend": "ux-peak190",
"frontend": "ux-warning183"
},
"apis": [
{
@@ -0,0 +1,15 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"testedActualFunction": true,
"concurrentUsers": 100,
"sharedServerReads": 1,
"requestScopedCache": true,
"separateServerReads": true,
"errorPropagates": true,
"nextRequestRecovers": true,
"bounds": [
"Function tested with real source and replaced SQL boundary; counts are not a production PostgreSQL benchmark",
"Actual PostgreSQL/API traffic profile passed separately"
]
}
@@ -0,0 +1,46 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"runtime": {
"backend": "ux-peak193",
"frontend": "ux-peak191"
},
"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"
]
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,26 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"version": "1.0.0-test.peak193",
"passed": true,
"method": "Read-only actual application volume API; no new native RouterOS commands; exact edge values covered separately by owned SQL",
"cases": [
{
"sourceId": "1",
"volumeUnit": "GiB",
"rxTotalGiB": 0.012681146152317524,
"txTotalGiB": 0.0009067924693226814,
"currentState": "current"
},
{
"sourceId": "2",
"volumeUnit": "GiB",
"rxTotalGiB": 0.0011999299749732018,
"txTotalGiB": 0.0014469381421804428,
"currentState": "current"
}
],
"newRouterOSCommands": 0,
"passwordChanges": 0,
"messages": 0
}
@@ -0,0 +1,25 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"secretEnvCopied": false,
"rollbackTags": {
"MMAPP_IMAGE_TAG": "ux-peak191",
"BACKEND_IMAGE_TAG": "ux-peak191"
},
"services": {
"backend": {
"image": "mmapp-test/backend:ux-peak193",
"imageId": "sha256:f354f99c1ee3b67899f139cdc2d0a1b492aaffc8da9d3abdd1b3bfe5b93d486f",
"state": "running",
"health": "healthy",
"matchedVerifiedImage": true
},
"frontend": {
"image": "mmapp-test/frontend:ux-peak191",
"imageId": "sha256:1d9f85dbb5c791f09dad2863041d0fae5a291b02f5e73a5e96185a7866c673c7",
"state": "running",
"health": null,
"matchedVerifiedImage": true
}
}
}
@@ -0,0 +1,10 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"matched": {
"backend": 462,
"frontend": 0
},
"different": [],
"missing": []
}
@@ -0,0 +1,31 @@
{
"date": "2026-10-13",
"block": "12.5.193",
"passed": true,
"profiles": [
{
"date": "2026-10-13",
"block": "12.5.193",
"database": "mm_accept_166_1791875479842",
"scope": "ephemeral role and precreated owned database; no copied production credentials",
"tests": [
{
"command": "npm --prefix backend run test:traffic-rate",
"passed": true,
"durationMs": 41959,
"ownedTrafficSqlCases": 9,
"ownedHistorySqlCases": 14,
"ownedLiveSqlCases": 10,
"ownedVolumeSqlCases": 17,
"ownedStatusSqlCases": 21,
"postgresUnavailableSkip": false
}
],
"scopedRoleVerified": true,
"passed": true,
"databaseRemoved": true,
"roleRemoved": true,
"testContainerRemoved": true
}
]
}