fix(geoip): проверить локальный кеш и ограничить загрузку баз
This commit is contained in:
1 parent
3c3d152c2d
commit
48cc65ec2b
16 files changed
+492
-31
No files matched your search
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"date": "2026-10-14",
|
||||
"block": "12.5.242",
|
||||
"passed": true,
|
||||
"scope": "Compiled GeoIP collector + owned PostgreSQL/files + actual public mirror; controlled negative bodies separately marked",
|
||||
"mirrorRequests": [
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 1112
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 1209
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 97
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 126
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 94
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 99
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 94
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 104
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 93
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 123
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 102
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 90
|
||||
}
|
||||
],
|
||||
"checks": [
|
||||
{
|
||||
"name": "actual-two-downloads-valid-mmdb-and-lookup",
|
||||
"bytes": 12380575,
|
||||
"hashes": {
|
||||
"country": "635078e412c4443a2950c2e3f775ccdc400e0a1fea5ffd32e5489e5401a9e51d",
|
||||
"asn": "7d1cf6cd79a0f35b446570058efb7d05cb6db6dd10bbbc09c3699473f6860cba"
|
||||
},
|
||||
"settings": {
|
||||
"enabled": false,
|
||||
"updateIntervalSec": 604800,
|
||||
"lastCheckAt": "2026-10-14 07:59:58.997+00",
|
||||
"lastSuccessAt": "2026-10-14 07:59:58.997+00",
|
||||
"lastError": null,
|
||||
"countryBuildAt": "2026-10-09 16:52:08+00",
|
||||
"asnBuildAt": "2026-10-12 08:15:43+00",
|
||||
"updatedAt": "2026-10-14 08:00:02.048+00"
|
||||
},
|
||||
"lookup": {
|
||||
"country": "US",
|
||||
"asn": 15169
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "actual-conditional304-and-concurrent409",
|
||||
"skippedUnchanged": 2,
|
||||
"hashesUnchanged": true
|
||||
},
|
||||
{
|
||||
"name": "missing-country-refetched-without-conditional-header"
|
||||
},
|
||||
{
|
||||
"name": "corrupt-local-country-refetched-and-validated"
|
||||
},
|
||||
{
|
||||
"name": "controlled-invalid-body-preserves-file-and-last-success",
|
||||
"negativeCountryResponse": "controlled-200-invalid-MMDB",
|
||||
"realAsnStatus": 304
|
||||
},
|
||||
{
|
||||
"name": "controlled-uncached304-is-error-with-last-success-retained"
|
||||
},
|
||||
{
|
||||
"name": "actual-recovery-and-disabled-background-no-fetch"
|
||||
}
|
||||
],
|
||||
"chrContacts": 0,
|
||||
"mainDatabaseWrites": 0,
|
||||
"ownedDatabaseAndRoleRemoved": true
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"date": "2026-10-14",
|
||||
"block": "12.5.242",
|
||||
"backendSourceMatched": 516,
|
||||
"backendCompiledMatched": 1072,
|
||||
"frontendImageAndContainerUnchanged": true,
|
||||
"containers": {
|
||||
"backend": {
|
||||
"tag": "mmapp-test/backend:ux-geoip242",
|
||||
"imageId": "sha256:32214bbd6b3df479cf5b503fd370b96abddbe5497fe5fe0fd4b72a009d730a6e",
|
||||
"containerId": "675dd3412be519a2a92bcd68148db0328264ed784537dd9a3c9e5ce74b33f3ad",
|
||||
"state": "running",
|
||||
"health": "healthy"
|
||||
},
|
||||
"frontend": {
|
||||
"tag": "mmapp-test/frontend:ux-backups237",
|
||||
"imageId": "sha256:baf9989cde6527715890e608c2c3271c5ea40dfb235ee47a48e21939b0ec1fd0",
|
||||
"containerId": "dc078016b263444b4e15d3445d8ce5b23c9d93e9707e797d63744e5add881e39",
|
||||
"state": "running",
|
||||
"health": null
|
||||
}
|
||||
},
|
||||
"rollbackBackend": "ux-backups237"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"date": "2026-10-14",
|
||||
"block": "12.5.242",
|
||||
"realPortalLogin": true,
|
||||
"noMocks": true,
|
||||
"apiStatus": 200,
|
||||
"ready": true,
|
||||
"countryLoaded": true,
|
||||
"asnLoaded": true,
|
||||
"views": [
|
||||
{
|
||||
"width": 1440,
|
||||
"globalOverflow": false,
|
||||
"geoipSectionVisible": true
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"globalOverflow": false,
|
||||
"geoipSectionVisible": true
|
||||
}
|
||||
],
|
||||
"pageErrors": [],
|
||||
"geoipUpdates": 0,
|
||||
"uiDidNotRequestGeoipUpdate": true
|
||||
}
|
||||
Reference in new issue
Block a user