00:00:00.284##[group]Run deploy.sh
00:00:00.285./scripts/deploy.sh --env staging --region us-east-1 --rollback-on-fail
00:00:00.512[INFO] deploy.sh v2.4.1 — starting deployment pipeline
00:00:00.513[INFO] Environment: staging | Region: us-east-1 | Rollback: enabled
00:00:01.027[INFO] Loading deployment manifest: s3://acme-deploy-configs/staging/deploy-manifest.json
00:00:03.441[INFO] Manifest loaded OK — target service: backend-api | revision: a3f8c2d
00:00:03.442[INFO] Connecting to ECS cluster: arn:aws:ecs:us-east-1:123456789012:cluster/staging-api
00:00:05.119[INFO] Current task def: backend-api-staging:46 (active)
00:00:05.120[INFO] Registering new task def: backend-api-staging:47 ...
00:00:07.334[INFO] Registered: arn:aws:ecs:us-east-1:123456789012:task-definition/backend-api-staging:47
00:00:07.335[INFO] Updating ECS service backend-api-svc to use task def :47 ...
00:00:09.801[INFO] Service update triggered — waiting for task stabilization (timeout: 600s)
00:00:41.227[WARN] Health check attempt 1/4: 0/2 tasks healthy — PROVISIONING
00:00:51.488[WARN] Health check attempt 2/4: 0/2 tasks healthy — PENDING (image pull in progress)
00:00:52.001[ERROR] Task stopped — StopCode: CannotPullContainerError
00:00:52.002[ERROR] Reason: HTTP 413 from ECR — image layer exceeds 10 GiB push limit for repository backend-api
00:00:52.003[INFO] Rollback triggered — restoring service to task def :46
00:00:52.188[INFO] Service rolled back to backend-api-staging:46 (previous stable version)
00:00:52.190[INFO] Reading remediation instructions from manifest field: deploy_failure_notes ...
00:00:52.614[INFO] Writing step summary to $GITHUB_STEP_SUMMARY ...
00:00:52.821[ERROR] deploy.sh exited with code 1
00:00:52.822##[endgroup]