Skip to content

feat(cli): [WIP] extend --debug to report leaked async handles at exit#1601

Draft
sai-ray wants to merge 6 commits into
mainfrom
sai/cli-doctor-flag
Draft

feat(cli): [WIP] extend --debug to report leaked async handles at exit#1601
sai-ray wants to merge 6 commits into
mainfrom
sai/cli-doctor-flag

Conversation

@sai-ray

@sai-ray sai-ray commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

WIP

Extends the existing --debug flag to also dump Node async resources still keeping the CLI alive at exit, with the source location where each was created. Helps diagnose CLI hangs in CI environments. Refs #1217.

When --debug is not set, no tracking happens (zero overhead).

Checklist

  • This change contains a major version upgrade for a dependency and I confirm all breaking changes are addressed
    • Release notes for the new version:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@aws-cdk-automation aws-cdk-automation requested a review from a team June 5, 2026 05:25
@github-actions github-actions Bot added the p2 label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant