You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add debug tracing behind --debug / AWS_ECR_CLIENT_DEBUG flag
Add a debug mode that prints detailed diagnostic information at every
step of the push-and-scan flow to help diagnose the
InvalidParameterException on imageDigest that occurs in CI with
buildx/inline-cache builds but cannot be reproduced locally.
When enabled (--debug or AWS_ECR_CLIENT_DEBUG=true), traces include:
- Full raw Docker push stream (all JSON messages from daemon)
- Each Aux message: raw JSON, parsed digest/tag/size
- Push stream error messages
- ImageId after push and after fallback logic
- ToImageIdentifier inputs including raw hex bytes of digest
- DescribeImageScanFindings parameters (repo, digest, tag, timeout)
- Waiter attempt numbers, errors with types
- Fallback scan describe results (status, description)
All trace lines are prefixed with [DEBUG] for easy filtering.
No output is produced when debug mode is off (the default).
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments