deployments
Customer releases, including failures and rollbacks.
deployment_idintegerPKcustomer_idintegerFKengineer_idintegerFKversiontextstatustextdeployed_attimestamptz
For each succeeded deployment, count incidents for the same customer opened from its deployed_at inclusive to 7 days later exclusive. Return deployment_id, customer_id, and incidents_7d; keep only nonzero counts and sort highest first, then deployment_id.
Customer releases, including failures and rollbacks.
deployment_idintegerPKcustomer_idintegerFKengineer_idintegerFKversiontextstatustextdeployed_attimestamptzOperational incidents; unresolved rows have no resolved_at.
incident_idintegerPKcustomer_idintegerFKdeployment_idintegerNULLFKseveritytextopened_attimestamptzresolved_attimestamptzNULLroot_causetextNULLincidents.deployment_id=deployments.deployment_idRun or check a query first. The coach only comments on a real error or grader mismatch.
Try to solve it cold. Two progressive hints are available.