fix(traffic): учитывать состав каждой волны измерений

This commit is contained in:
Denozordec committed 2026-10-13 01:52:50 +07:00
1 parent a8b80d9914
commit 5d19b6a258
17 files changed
+1349 -18

No files matched your search

@@ -0,0 +1,26 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"version": "1.0.0-test.membership188",
"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.01371948141604662,
"txTotalGiB": 0.0019493047147989273,
"currentState": "current"
},
{
"sourceId": "2",
"volumeUnit": "GiB",
"rxTotalGiB": 0.0025007007643580437,
"txTotalGiB": 0.0027580251917243004,
"currentState": "current"
}
],
"newRouterOSCommands": 0,
"passwordChanges": 0,
"messages": 0
}
@@ -0,0 +1,17 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"method": "Read-only pure formulas; prior186 source snapshot versus current188",
"before": {
"currentKnown": false,
"sessions": 2,
"bytes": 4096
},
"after": {
"currentKnown": true,
"sessions": 1,
"bytes": 4096
},
"writes": 0,
"nativeCommands": 0
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,46 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"runtime": {
"backend": "ux-membership188",
"frontend": "ux-warning183"
},
"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,25 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"secretEnvCopied": false,
"rollbackTags": {
"MMAPP_IMAGE_TAG": "ux-warning183",
"BACKEND_IMAGE_TAG": "ux-identity186"
},
"services": {
"backend": {
"image": "mmapp-test/backend:ux-membership188",
"imageId": "sha256:5dd49e98bafcbcf98b0dc61ff0d7b810ee58ea9ae44f3d147cfdab91180653e1",
"state": "running",
"health": "healthy",
"matchedVerifiedImage": true
},
"frontend": {
"image": "mmapp-test/frontend:ux-warning183",
"imageId": "sha256:4cf0549a212bfdc75c0107f3725686a9a9746a46ed6493ac73f608a0a335a586",
"state": "running",
"health": null,
"matchedVerifiedImage": true
}
}
}
@@ -0,0 +1,10 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"matched": {
"backend": 460,
"frontend": 524
},
"different": [],
"missing": []
}
@@ -0,0 +1,31 @@
{
"date": "2026-10-13",
"block": "12.5.188",
"passed": true,
"profiles": [
{
"date": "2026-10-13",
"block": "12.5.188",
"database": "mm_accept_166_1791830718064",
"scope": "ephemeral role and precreated owned database; no copied production credentials",
"tests": [
{
"command": "npm --prefix backend run test:traffic-rate",
"passed": true,
"durationMs": 38880,
"ownedTrafficSqlCases": 9,
"ownedHistorySqlCases": 14,
"ownedLiveSqlCases": 10,
"ownedVolumeSqlCases": 13,
"ownedStatusSqlCases": 19,
"postgresUnavailableSkip": false
}
],
"scopedRoleVerified": true,
"passed": true,
"databaseRemoved": true,
"roleRemoved": true,
"testContainerRemoved": true
}
]
}