chore(delivery): prepare G4D with verified destination backup and restore
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-24 18:07:35 +02:00
parent 40a4ddcbde
commit 686328a085
2 changed files with 242 additions and 0 deletions
@@ -9905,5 +9905,126 @@
"homologation": "679203d4/25cae1d9",
"L1_complete": false,
"P001": "05/06 only"
},
"iva_l1_g4d_delivery_preparation_20261024": {
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"candidate": "8df721ac",
"QA_record": "40a4ddcb",
"fresh_remote_main": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"coverage": {
"group": "G4D",
"branches": {
"P062": "onboard_seagoing_ship",
"P063": "onboard_rescue_coastal_ship",
"P064": "onboard_departing_warship",
"P067": "onboard_international_aircraft"
},
"branch_count": 4,
"treatment_count": 4,
"scope": "2026/MZN/05; direct exemption under identified conditions; explicit13(2–3) categories/exclusions; no automatic beverage liquidation/deduction/refund"
},
"runtime_delta": [
{
"path": "resources/js/components/simulation-operations.tsx",
"sha256_LF": "a67899e90f72d0b26d93b4f4c666f3f1fd0ed9bd1e47970d1a570b2fe132650c"
},
{
"path": "resources/js/lib/iva-onboard-supplies.ts",
"sha256_LF": "2ae4378998ca4d7f4759155f589b5b7c4f25090512b016211976c9a7c700bde9"
},
{
"path": "resources/js/lib/iva-operations.ts",
"sha256_LF": "eec82e67b2025a1d1738b9d2a41ef3ea7e1a2a17f12b145f02eebef62e4f6b26"
}
],
"counts_current": {
"delivered": 54,
"QA": 4,
"functional_pending": 74,
"documentary": 1,
"total": 133
},
"counts_after_delivery_only": {
"delivered": 58,
"QA": 0,
"functional_pending": 74,
"documentary": 1,
"total": 133
},
"proofs": "4frontend;APIQA1/38;17priorbooks intact/current;types/build;Tempo manual visual reply ja efectuada;no accepted proof repeated",
"rollback": "l1-g3-readonly-rollback-20261024.patch checked on G4D candidate, not applied; retain readers/history/reports; previous release and verified fresh backup",
"activation": "Existing Git normal FF/webhook/installer; no migrations/imports/permission changes or formal fiscal activation",
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g4d-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "f45926e56c1d9544f6ee0e50d690cfed984101307224e8282f93b9f0ec91f705",
"files_sha256": "7ed455443737ca9ef2636a58e84a1b8b9c92cb12fc964c8addf07a5cced0c5f6",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g4d_restore_20261024",
"port": 55441,
"source_dump_sha256": "f45926e56c1d9544f6ee0e50d690cfed984101307224e8282f93b9f0ec91f705",
"active_database_writes": 0
}
},
"served_revision_and_delta": "pending installation",
"limits": "Beverages c/h follow13(2),amounts/credit/refund not calculated;provisions excluded d;13(2)not extended e. Alternative treatment outside exemption not silently assumed. This increment does not close the complete IVA apuramento.",
"P001": "05/06 only",
"L1_complete": false,
"statistics_AI": "deferred",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"release": "/var/www/investmoz-homologacao/releases/679203d4b13cd5b88ab05a0da539c359c37cc426-6ad3a32e",
"previous_release": "/var/www/investmoz-homologacao/releases/a153d0782f0f1f5a553a2c6d7106bc35059a170b-789a22ef",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/679203d4b13cd5b88ab05a0da539c359c37cc426-6ad3a32e",
"release_revision": {
"commit": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"branch": "main",
"built_at": "2026-10-24T15:58:35.074611+00:00",
"manifest_sha256": "7b37d131d7b9564d901d8fc21407a759fcded9ba734c3757ce0fda5c00cc5c56"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"authenticated_destination": "Fresh read confirmed679203d4;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed"
}
}
@@ -0,0 +1,121 @@
{
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"candidate": "8df721ac",
"QA_record": "40a4ddcb",
"fresh_remote_main": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"coverage": {
"group": "G4D",
"branches": {
"P062": "onboard_seagoing_ship",
"P063": "onboard_rescue_coastal_ship",
"P064": "onboard_departing_warship",
"P067": "onboard_international_aircraft"
},
"branch_count": 4,
"treatment_count": 4,
"scope": "2026/MZN/05; direct exemption under identified conditions; explicit13(2–3) categories/exclusions; no automatic beverage liquidation/deduction/refund"
},
"runtime_delta": [
{
"path": "resources/js/components/simulation-operations.tsx",
"sha256_LF": "a67899e90f72d0b26d93b4f4c666f3f1fd0ed9bd1e47970d1a570b2fe132650c"
},
{
"path": "resources/js/lib/iva-onboard-supplies.ts",
"sha256_LF": "2ae4378998ca4d7f4759155f589b5b7c4f25090512b016211976c9a7c700bde9"
},
{
"path": "resources/js/lib/iva-operations.ts",
"sha256_LF": "eec82e67b2025a1d1738b9d2a41ef3ea7e1a2a17f12b145f02eebef62e4f6b26"
}
],
"counts_current": {
"delivered": 54,
"QA": 4,
"functional_pending": 74,
"documentary": 1,
"total": 133
},
"counts_after_delivery_only": {
"delivered": 58,
"QA": 0,
"functional_pending": 74,
"documentary": 1,
"total": 133
},
"proofs": "4frontend;APIQA1/38;17priorbooks intact/current;types/build;Tempo manual visual reply ja efectuada;no accepted proof repeated",
"rollback": "l1-g3-readonly-rollback-20261024.patch checked on G4D candidate, not applied; retain readers/history/reports; previous release and verified fresh backup",
"activation": "Existing Git normal FF/webhook/installer; no migrations/imports/permission changes or formal fiscal activation",
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g4d-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "f45926e56c1d9544f6ee0e50d690cfed984101307224e8282f93b9f0ec91f705",
"files_sha256": "7ed455443737ca9ef2636a58e84a1b8b9c92cb12fc964c8addf07a5cced0c5f6",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g4d_restore_20261024",
"port": 55441,
"source_dump_sha256": "f45926e56c1d9544f6ee0e50d690cfed984101307224e8282f93b9f0ec91f705",
"active_database_writes": 0
}
},
"served_revision_and_delta": "pending installation",
"limits": "Beverages c/h follow13(2),amounts/credit/refund not calculated;provisions excluded d;13(2)not extended e. Alternative treatment outside exemption not silently assumed. This increment does not close the complete IVA apuramento.",
"P001": "05/06 only",
"L1_complete": false,
"statistics_AI": "deferred",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"release": "/var/www/investmoz-homologacao/releases/679203d4b13cd5b88ab05a0da539c359c37cc426-6ad3a32e",
"previous_release": "/var/www/investmoz-homologacao/releases/a153d0782f0f1f5a553a2c6d7106bc35059a170b-789a22ef",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/679203d4b13cd5b88ab05a0da539c359c37cc426-6ad3a32e",
"release_revision": {
"commit": "679203d4b13cd5b88ab05a0da539c359c37cc426",
"branch": "main",
"built_at": "2026-10-24T15:58:35.074611+00:00",
"manifest_sha256": "7b37d131d7b9564d901d8fc21407a759fcded9ba734c3757ce0fda5c00cc5c56"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"authenticated_destination": "Fresh read confirmed679203d4;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed"
}