feat: add telemetry build provenance

Stamp official Docker builds with a low-cardinality provenance marker and report build_provenance/image_modified in anonymous telemetry. Local and fork builds default to custom, while official GitHub/GitLab release paths mark images as official.
This commit is contained in:
3252a8
2026-06-10 15:18:32 +03:00
parent fd931581f5
commit 6bb2709244
22 changed files with 261 additions and 44 deletions
+1 -3
View File
@@ -139,9 +139,7 @@ async def find_recent_pending_provider_payment(
conditions = [
Payment.user_id == user_id,
Payment.provider == provider,
func.lower(Payment.status).in_(
tuple({str(pending_status).lower(), "pending"})
),
func.lower(Payment.status).in_(tuple({str(pending_status).lower(), "pending"})),
or_(
Payment.provider_payment_id.isnot(None),
Payment.yookassa_payment_id.isnot(None),