teleo-infrastructure/docs/reports/leo-working-state-20260709/gcp-db-first-restore-current.json

182 lines
6.4 KiB
JSON

{
"artifact": "gcp_generated_postgres_snapshot_restore",
"cleanup": {
"attempted": false,
"clone_database_remaining": 1,
"exact_command": "sudo python3 ops/restore_gcp_generated_postgres_snapshot.py cleanup --execute --target-db teleo_clone_dbfirst_20260714t090758z --run-id gcp-restore-dbfirst-20260714t090758z",
"required": true
},
"duration_seconds": 103.83768,
"error": null,
"generated_at_utc": "2026-07-14T09:09:12.241790+00:00",
"live_service": {
"after": {
"ActiveState": "active",
"ExecMainStartTimestamp": "Thu 2026-07-09 07:00:04 UTC",
"MainPID": "148735",
"NRestarts": "0",
"SubState": "running"
},
"before": {
"ActiveState": "active",
"ExecMainStartTimestamp": "Thu 2026-07-09 07:00:04 UTC",
"MainPID": "148735",
"NRestarts": "0",
"SubState": "running"
},
"unchanged": true
},
"parity": {
"details": {
"application_role_mismatches": {},
"performance": [
{
"query": "claim_edges_by_claim_id",
"source_ms": 0.043,
"source_ratio": 0.49000000000000005,
"target_ms": 2.45
},
{
"query": "claim_evidence_by_claim_id",
"source_ms": 0.062,
"source_ratio": 0.1742,
"target_ms": 0.871
},
{
"query": "count_claims",
"source_ms": 0.23,
"source_ratio": 0.09140000000000001,
"target_ms": 0.457
},
{
"query": "pending_proposals_latest",
"source_ms": 0.015,
"source_ratio": 0.0018,
"target_ms": 0.009
}
],
"performance_problems": [],
"required_extension_mismatches": {},
"source_connection": {
"database_collation": "en_US.utf8",
"database_ctype": "en_US.utf8",
"server_address": null,
"server_port": null,
"ssl": false,
"ssl_version": null
},
"source_database": "teleo",
"source_table_count": 39,
"source_total_rows": 52167,
"structural_hashes": {
"columns": {
"source": "50b502967aa85b88bd204c7b9035de60bf21a6a6973817e8b8121d0cd9faab81",
"target": "50b502967aa85b88bd204c7b9035de60bf21a6a6973817e8b8121d0cd9faab81"
},
"constraints": {
"source": "8b26d26fda56f09325e0603aae48051da08dfc6c35322fa88880acdabb8ad859",
"target": "8b26d26fda56f09325e0603aae48051da08dfc6c35322fa88880acdabb8ad859"
},
"functions": {
"source": "4bddee626b3ab62af236493001d2a09f2d56c084beb7e6c69cd082ce4aba155b",
"target": "4bddee626b3ab62af236493001d2a09f2d56c084beb7e6c69cd082ce4aba155b"
},
"indexes": {
"source": "5c4f7567e9ad0f25da0ab15f650a1005397ae9c727af1ab41e2675c46a5ebce5",
"target": "5c4f7567e9ad0f25da0ab15f650a1005397ae9c727af1ab41e2675c46a5ebce5"
},
"policies": {
"source": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
"target": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
},
"schemas": {
"source": "2fdf551b403db2d79813c8fd2869dadfeba261fac2aaa718b355cd7414640979",
"target": "2fdf551b403db2d79813c8fd2869dadfeba261fac2aaa718b355cd7414640979"
},
"sequences": {
"source": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
"target": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
},
"triggers": {
"source": "4d5f3394480c8410035dac5457e144c7db80fa0820ff49beb93aa819a7282c64",
"target": "4d5f3394480c8410035dac5457e144c7db80fa0820ff49beb93aa819a7282c64"
},
"types": {
"source": "365e82ac205319d25d14c8b16026978f0e6023ae0c58767f700d7f2ea659b70b",
"target": "365e82ac205319d25d14c8b16026978f0e6023ae0c58767f700d7f2ea659b70b"
},
"views": {
"source": "5c33fa260f25dccffc214f795c66e3dbae89d91d0dbf8a98122ace1dcda46799",
"target": "5c33fa260f25dccffc214f795c66e3dbae89d91d0dbf8a98122ace1dcda46799"
}
},
"table_mismatches": [],
"target_connection": {
"database_collation": "en_US.utf8",
"database_ctype": "en_US.utf8",
"server_address": "10.61.0.3",
"server_port": 5432,
"ssl": true,
"ssl_version": "TLSv1.3"
},
"target_database": "teleo_clone_dbfirst_20260714t090758z",
"target_extra_application_roles": [],
"target_table_count": 39,
"target_total_rows": 52167
},
"problems": [],
"status": "pass",
"verifier": "ops.verify_postgres_parity_manifest.compare_manifests"
},
"phase": "retained_for_no_send_replay",
"rollback_database": {
"connections": 0,
"datallowconn": false,
"exists": true
},
"run_id": "gcp-restore-dbfirst-20260714t090758z",
"safety": {
"live_database_named": false,
"live_profile_modified": false,
"live_service_restarted": false,
"secret_persisted": false,
"telegram_message_sent": false
},
"source": {
"dump": {
"bytes": 13468277,
"path": "/home/billy_livingip_xyz/.teleo-gcp-restore-upload-20260714t085320z/source/teleo-canonical.dump",
"sha256": "92cc2cafd7575cd38f59745674dd3d18a1f2120d7f87821459b8b38544263f81"
},
"manifest": {
"bytes": 164734,
"path": "/home/billy_livingip_xyz/.teleo-gcp-restore-upload-20260714t085320z/source/source-manifest.jsonl",
"sha256": "efef2c1d2609879872e70e06758e6d59ce657686eb1e740560e4246fc11ec7c4"
}
},
"status": "pass",
"target": {
"connectivity": {
"private_connectivity": true,
"server_address": "10.61.0.3",
"server_port": 5432,
"source_compute": "teleo-prod-1",
"ssl": true,
"ssl_version": "TLSv1.3",
"target_database": "teleo_clone_dbfirst_20260714t090758z",
"transaction_read_only": "on"
},
"manifest_bytes": 164776,
"manifest_path": "/var/lib/teleo-gcp-restore-runs/gcp-restore-dbfirst-20260714t090758z/target-manifest.jsonl",
"manifest_sha256": "6f834b1486af1e24193a1ded517b4cc9e64e19c68097c028e192dd298986855c",
"restore_seconds": 61.761689
},
"target_database": "teleo_clone_dbfirst_20260714t090758z",
"toolchain": {
"compatible": true,
"pg_restore_bin": "/usr/lib/postgresql/16/bin/pg_restore",
"pg_restore_major": 16,
"pg_restore_version": "pg_restore (PostgreSQL) 16.14 (Debian 16.14-1.pgdg12+1)",
"source_postgres_major": 16
}
}