test: record durable sessions and bounded dependency failures

This commit is contained in:
2026-11-07 08:08:40 +03:00
parent 5fb1f19de1
commit 195d4abfce
2 changed files with 81 additions and 1 deletions
+79
View File
@@ -0,0 +1,79 @@
{
"date": "2026-11-07T05:05:22.285580+00:00",
"commit": "5fb1f19de15552321d2c9f5449e088e6452a7189",
"command": "python -m scripts.verify_lifecycle",
"runtime_source_hashes_match": true,
"image_revision": "2f0a8672be67af9e62d2693c3df9bd683fcdae57",
"persistence": {
"same_token": true,
"same_message": true,
"before": {
"api": {
"container": "2b25734b0954",
"pid": 1409,
"started_at": "2026-11-07T05:00:09.733545264Z"
},
"postgres": {
"container": "29e277263007",
"pid": 1109,
"started_at": "2026-11-07T05:00:04.997609011Z"
},
"cache": {
"container": "9f6a93f4f941",
"pid": 1041,
"started_at": "2026-11-07T05:00:04.881758678Z"
}
},
"after": {
"api": {
"container": "2b25734b0954",
"pid": 21469,
"started_at": "2026-11-07T05:05:24.139344714Z"
},
"postgres": {
"container": "29e277263007",
"pid": 21288,
"started_at": "2026-11-07T05:05:23.819680089Z"
},
"cache": {
"container": "9f6a93f4f941",
"pid": 21329,
"started_at": "2026-11-07T05:05:23.858910756Z"
}
},
"seconds": 5.230442958010826
},
"migration_repeat": "PASS",
"bootstrap_preserves_secrets": true,
"credential_storage": {
"argon2id": true,
"digest_bytes": 32,
"raw_password_and_token_absent_in_dump": true
},
"cache_hits": 20,
"cache_stopped": {
"status": 200,
"seconds": 0.11006329099473078
},
"cache_flush_preserves_truth": true,
"postgres_pause": {
"status": 503,
"seconds": 4.011241999993217,
"cached_identity_not_trusted": true
},
"postgres_stop": {
"status": 503,
"seconds": 0.003582208009902388,
"cached_identity_not_trusted": true
},
"chat_transaction_rollback": {
"injected_failure_status": 500,
"remaining_chat_rows": 0
},
"expiry": {
"ttl_seconds": 2,
"status_after_expiry": 401
},
"logout_after_cache_hit": "PASS",
"result": "PASS"
}
+2 -1
View File
@@ -48,7 +48,8 @@ def main():
"python",
"-c",
"import hashlib,json;from pathlib import Path;"
"print(json.dumps({p.name:hashlib.sha256(p.read_bytes()).hexdigest() "
"print(json.dumps({p.name:"
"hashlib.sha256(p.read_bytes()).hexdigest() "
"for p in Path('/app/src').glob('*.py')}))",
)
)