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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user