Release v4928.1.4.2 stable

This commit is contained in:
2026-06-09 22:55:58 +01:00
commit 6445044ac6
280 changed files with 41775 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
from pathlib import Path
def test_v4914_schema_guards_for_process_link_columns():
source = Path("app/reconciliation_service.py").read_text()
for fragment in [
"ALTER TABLE operation_links ADD COLUMN IF NOT EXISTS last_synced_at",
"ALTER TABLE opportunity_events ADD COLUMN IF NOT EXISTS action_code",
"ALTER TABLE opportunity_events ADD COLUMN IF NOT EXISTS to_stage",
"ALTER TABLE opportunity_items ADD COLUMN IF NOT EXISTS total_price",
"ALTER TABLE opportunities ADD COLUMN IF NOT EXISTS metadata",
]:
assert fragment in source
def test_v4914_reconciliation_link_route_is_guarded():
source = Path("app/admin_ui/pages/reconciliation.py").read_text()
assert 'logger.exception("failed to link reconstructed reconciliation process' in source
assert 'Erro%20ao%20ligar%20processo' in source