Implement pipeline monitoring alerts

Approve and implement the Supabase migration for the pipeline monitoring alert system. This includes expanding alert types, adding new monitoring functions, and updating existing ones with escalating thresholds.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-07 05:05:32 +00:00
parent a74b8d6e74
commit d903e96e13
7 changed files with 544 additions and 20 deletions

View File

@@ -6311,9 +6311,19 @@ export type Database = {
}
Returns: undefined
}
mark_orphaned_images: { Args: never; Returns: undefined }
mark_orphaned_images: {
Args: never
Returns: {
details: Json
status: string
task: string
}[]
}
migrate_ride_technical_data: { Args: never; Returns: undefined }
migrate_user_list_items: { Args: never; Returns: undefined }
monitor_ban_attempts: { Args: never; Returns: undefined }
monitor_failed_submissions: { Args: never; Returns: undefined }
monitor_slow_approvals: { Args: never; Returns: undefined }
process_approval_transaction: {
Args: {
p_idempotency_key?: string
@@ -6349,6 +6359,14 @@ export type Database = {
}
Returns: string
}
run_pipeline_monitoring: {
Args: never
Returns: {
check_name: string
details: Json
status: string
}[]
}
run_system_maintenance: {
Args: never
Returns: {